Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default algorithm #13

Merged
merged 5 commits into from
Mar 29, 2024
Merged

change default algorithm #13

merged 5 commits into from
Mar 29, 2024

Conversation

mileslucas
Copy link
Member

  • add comments
  • fix badge typo
  • switch default optimization algorithm to NewtonTrustRegion
  • update build_loss_function

This updates the default fitting algorithm to the Newton with Trust Region, which closely matches the Levenberg-Marquardt non-linear optimization algorithm, which may be more robust with noisy data.

@codecov
Copy link

codecov bot commented Jun 2, 2022

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.24%. Comparing base (fa89416) to head (23eaff1).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   99.21%   99.24%   +0.02%     
==========================================
  Files           6        6              
  Lines         128      132       +4     
==========================================
+ Hits          127      131       +4     
  Misses          1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mileslucas
Copy link
Member Author

Not sure I'm going to merge this, I may end up switching to a least-squares solver (LsqFit.jl) instead, I need to do more testing offline.

@mileslucas mileslucas merged commit c677c73 into main Mar 29, 2024
11 of 13 checks passed
@mileslucas mileslucas deleted the ml/levmar branch March 29, 2024 09:09
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