-
Notifications
You must be signed in to change notification settings - Fork 129
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
New NonlinearOptimizer hierarchy #440
Conversation
58abb7a
to
ff1dcb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments.
6b8e5ea
to
cf9ae43
Compare
* Deprecated Objective.error_squared_norm() for configurable error_metric(). * Made error metric configurable, and remove _error_metric method from NL optimizer class.
This PR moves the logic specific to nonlinear least squares problems from
NonlinearOptimizer
to theNonlinearLeastSquares
subclass. The base class now only provides some default info tracking methods, and defines an abstract method called_error_metric()
, which can be used instead of the previously hardcoded sum of squares.