Hi.
Please have a look at
https://issues.apache.org/jira/browse/MATH-1014
In summary, this is an API change (in line with the fluent API
proposed for the optimizers); but usage is simplified:
With the current API:
GaussianFitter fitter = new GaussianFitter(new
LevenbergMarquardtOptimizer());
fitter.addObservedPoint(4.0254623, 531026.0);
// add other points ...
double[] parameters = fitter.fit();
With the new API:
GaussianCurveFitter fitter = GaussianCurveFitter.create();
fitter.addObservedPoint(4.0254623, 531026.0);
// add other points ...
double[] parameters = fitter.fit();
["HarmonicFitter" and "PolynomialFitter" would have their new API
counterparts in a similar way.
This would allow to deprecate "MultivariateVectorOptimizer" whose
only uses are by the classes in "o.a.c.m.fitting" package.]
Regards,
Gilles
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org