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
Add Newton on rank-reduced data coverage across backends #273
PR #271's review found that no backend tests Newton on rank-reduced/rank-deficient data: tests/torch_tests/test_ng_rank_deficient.py never sets do_newton, and the new MLX Newton tests all run full-rank 32-channel sample data. Rank reduction changes n_channels/n_comps and the sphere shape mid-preprocess, which the per-(source, model) curvature arrays and the closed-form direction inherit; the Maxwell-filtered MEG use case that motivated the rank work (#221, #223) is exactly where users would enable Newton on reduced-rank data.
Scope: per backend, one Newton fit on low-rank-projected real sample EEG (the test_low_rank_projected_data_share_fit_completes pattern) asserting completion, finite params, and a non-degenerate stop. Pre-existing gap on all backends, found during epic #260 Phase 3 (#264); kept out of PR #271 to keep the port reviewable.
Activity
Match numpy/MLX depth in rank-reduced Newton test
Add Newton coverage: 3-model, rank-reduced, three-way (#284)