Skip to content

Conversation

@MaxPastukhov15
Copy link

@MaxPastukhov15 MaxPastukhov15 commented Nov 26, 2025

This PR implements and tests the LikelihoodBreakpointer, which stops the EM-like iterative pipeline when the change in log-likelihood between consecutive iterations falls below a specified threshold (|L_{t+1} - L_t| < threshold).

Key changes:

  • Added LikelihoodBreakpointer class with proper convergence logic and validation.

  • Wrote unit tests using mocked likelihood sequences to reliably verify convergence detection, first-call behavior, and instance reuse after reset.

Closes #52

@MaxPastukhov15 MaxPastukhov15 self-assigned this Nov 26, 2025
@MaxPastukhov15 MaxPastukhov15 changed the title Likelihood breakpointer feature: likelihood breakpointer Nov 26, 2025
@MaxPastukhov15 MaxPastukhov15 changed the title feature: likelihood breakpointer feat: likelihood breakpointer Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants