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

Least squares performance #88

Open
Joshuaalbert opened this issue Oct 28, 2024 · 2 comments
Open

Least squares performance #88

Joshuaalbert opened this issue Oct 28, 2024 · 2 comments
Labels
question User queries

Comments

@Joshuaalbert
Copy link

Hi Patrick, I see you are using general solvers to solve the least squares problem, by contructing an objective out of residuals. I have found this approach is less performant than using Levenberg Marquardt. Do you get good performance?

@patrick-kidger
Copy link
Owner

Levenberg-Marquardt is already one of the possible solvers we have available.

What you are observing is that, in addition to that, we also support converting the residuals into a minimization problem if desired.

@patrick-kidger patrick-kidger added the question User queries label Oct 29, 2024
@Joshuaalbert
Copy link
Author

Ah yes, as I explored more I soon saw you have LM. It would be interesting to add a benchmark comparing LM to minimiser. I can suggest a problem where one sees the difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question User queries
Projects
None yet
Development

No branches or pull requests

2 participants