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

Regularization/generic loss function #4

Open
lindonroberts opened this issue Mar 14, 2019 · 2 comments
Open

Regularization/generic loss function #4

lindonroberts opened this issue Mar 14, 2019 · 2 comments
Assignees

Comments

@lindonroberts
Copy link
Collaborator

Modify DFO-LS to allow different loss functions (not just sum-of-squares), when the analytic form is known, so full model can be built using first derivatives (e.g. currently, have y -> y^2, with first/second derivatives y -> 2y and y -> 2). That is, have generic support for composite functions. Link is "loss" input to scipy.optimize.least_squares.

Also, add ability to add a regularization term (with known structure), e.g. Tikhonov/ridge regression.

@lindonroberts
Copy link
Collaborator Author

@lindonroberts lindonroberts self-assigned this Mar 14, 2019
@lindonroberts
Copy link
Collaborator Author

A simpler option (also separately useful), would be to have weighted least-squares: either

  • f(x) = sum_{i=1}^{m} w_i * r_i(x)^2
    or
  • f(x) = ||r_i(x)||{A}^2, where ||v||{A} = v' * A * v for A symmetric positive definite

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

No branches or pull requests

1 participant