You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GaussianMixtureICA.fit_em log-likelihood decreases across iterations #31
GaussianMixtureICA.fit_em (torch_impl/mixture_models.py, used by the basic backend="torch"
path) has an M-step bug: the log-likelihood decreases across EM iterations instead of ascending.
Surfaced by the xfail pyAMICA/tests/torch_tests/test_torch_components.py::test_em_fitting (strict
xfail). Previously mis-attributed to "epic #9"; the epic delivered the natural-gradient backend
(AMICATorchNG), which does not touch this legacy mixture module. Fix the M-step update (or retire
this module if backend="torch" is removed in favor of backend="ng"), then un-xfail the test.
Resolved by #32 (PR #35): the buggy GaussianMixtureICA.fit_em M-step lived in torch_impl/mixture_models.py, which was deleted when the basic AMICATorch backend was removed. AMICATorchNG (now the sole backend) uses the Fortran-parity exact-EM mixture updates and does not have this bug. The strict-xfail test that surfaced it was removed with the backend.
Activity
Remove superseded torch backends (#32)
neuromechanist commentedon Jul 4, 2026
Resolved by #32 (PR #35): the buggy
GaussianMixtureICA.fit_emM-step lived intorch_impl/mixture_models.py, which was deleted when the basicAMICATorchbackend was removed.AMICATorchNG(now the sole backend) uses the Fortran-parity exact-EM mixture updates and does not have this bug. The strict-xfail test that surfaced it was removed with the backend.Compress Known Issues section in AGENTS.md
AGENTS.md: squash-merge policy + refresh Known Issues (#47)