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

Minpack rewrite #8

Merged
merged 73 commits into from
Apr 30, 2020
Merged

Minpack rewrite #8

merged 73 commits into from
Apr 30, 2020

Conversation

jannschu
Copy link
Contributor

Closes #2, #3, #4 and #6.

I am quite confident that the implementation is correct now.

Use other parametrization for normal. The derivatives were wrong after normalization.
This is likely to cause wrong derivatives. If you want constrained
optimization use a different algorithm or parametrization.
@jannschu
Copy link
Contributor Author

jannschu commented Apr 29, 2020

I will now work on removing the restriction n <= m (number of residuals can not be less than number of parameters).

But this restriction does not block a release.

Copy link
Member

@vadixidav vadixidav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! You have done an immense amount of work, and I appreciate it so much. This is one of the most important algorithms for us to have.

Any of the changes in the review I can implement and set up a PR to your branch. I would just like your feedback on whether these are good ideas.

src/problem.rs Show resolved Hide resolved
Cargo.toml Outdated Show resolved Hide resolved
src/utils.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/lm.rs Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lm.rs Outdated Show resolved Hide resolved
src/problem.rs Outdated Show resolved Hide resolved
src/problem.rs Show resolved Hide resolved
@jannschu
Copy link
Contributor Author

Ok, I adressed the review comments. Only the change of N, M to R, C is not yet done, see my #8 (comment) on this. But I did change their order and I'm open to arguments, I don't have a super strong opinion on this.

Copy link
Member

@vadixidav vadixidav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, everything has been addressed. I will go ahead and merge! 🎉

@vadixidav vadixidav merged commit db6bbf4 into rust-cv:master Apr 30, 2020
@vadixidav
Copy link
Member

I will release the new version soon.

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.

Convergence criteria
2 participants