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
pamica/numpy_impl/newton.py (176 lines) is dead code carrying pre-#21/#24 math: compute_newton_parameters takes the density derivative dpdf instead of the score (the issue #21 Bug 1 form), omits the sbeta^2 factor on kappa and the mu^2 fold in lambda, and update_unmixing_matrix uses the += right-multiply form that was the issue #24 root cause. The live numpy Newton path is inlined in numpy_impl/core.py and does not import this module; the only consumer in the repo is pamica/tests/test_amica.py:11 (test_newton_direction, synthetic RandomState data).
Per the no-deprecation rule, remove the module and its test outright (the behavior it pins is superseded by the torch/numpy Newton tests in tests/torch_tests/test_ng_backend.py and the #267 regression coverage), or fold anything still worth pinning into the live-path tests first.
Found during epic #260 Phase 3 (#264) exploration; kept out of that phase's scope to leave the Newton port reviewable on its own.
Activity