Skip to content

Close the leftovers of the edge-case review - #42

Merged
dmeoli merged 5 commits into
masterfrom
fix/leftovers
Dec 2, 2026
Merged

dmeoli merged 5 commits into
masterfrom
fix/leftovers

Conversation

@dmeoli

@dmeoli dmeoli commented Dec 2, 2026 •

Copy link
Copy Markdown
Member
  • NaiveBayesEM and GaussianMixtureEM give the responsibilities of the initial parameters after 0 iterations, instead of a NullReferenceException
  • the initial covariance of GaussianMixtureEM is regularized as those of the M-step: a feature constant in the data made it singular
  • Baum-Welch without observations returns the model, and with one keeps the transition model, as aima-python
  • the doc of makeDecision says why a terminal state raises instead of returning default(A)
  • a test of CDCL with repeated literals and tautologies, which the Clause set already handled

…s of EM

NaiveBayesEM and GaussianMixtureEM ran no E-step without iterations, and
getResponsibilities() threw a NullReferenceException.
…s with one

As aima-python, a parameter without expected counts keeps its value instead of
raising.
… the M-step

A feature constant in the data made it singular, and the first E-step threw.
@dmeoli
dmeoli marked this pull request as ready for review December 2, 2026 02:27
@dmeoli
dmeoli merged commit 6d92c2d into master Dec 2, 2026
1 check passed
@dmeoli
dmeoli deleted the fix/leftovers branch December 2, 2026 02:27
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.

1 participant