Least squares Levenburg Marquardt with Apache commons
问题 I'm using the non linear least squares Levenburg Marquardt algorithm in java to fit a number of exponential curves (A+Bexp(Cx)). Although the data is quite clean and has a good approximation to the model the algorithm is not able to model the majority of them even with a excessive number of iterations(5000-6000). For the curves it can model, it does so in about 150 iterations. LeastSquaresProblem problem = new LeastSquaresBuilder() .start(start).model(jac).target(dTarget) .lazyEvaluation