Skip to content

Phase 4: Newton + adaptive PDF + outlier rejection #13

Closed

Description

@neuromechanist

Part of epic #9. Depends on Phase 3.

Scope (fan out independent sub-tasks)

  • Newton: port H matrix from sigma2/kappa/lambda and baralpha (pyAMICA.py:666-694); Fortran-matched lrate/newton ramp; delete the autograd Newton that double-steps.
  • Adaptive PDF selection ported into the new backend (density-parameter driven, not the ad-hoc kurtosis heuristic).
  • Outlier rejection (do_reject, reject_data) ported from NumPy.

Done when

Newton path is stable (no NaN at newt_start) and improves convergence vs natural-gradient-only; adaptive PDF and rejection match NumPy behavior; parity gate still green.

Activity

  1. added
    feature
    on Jul 2, 2026
  2. neuromechanist commented on Jul 3, 2026

    @neuromechanist
    MemberAuthor

    Phase 4 delivered via epic #9: Newton (positive-definite, 0 fallbacks) and outlier rejection (do_reject) are implemented on AMICATorchNG; adaptive-PDF selection split out to #26. On main in PR #28. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions