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.
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.