Hi. I think that "PolynomialFitter" class deserves to be deleted.
It looks like a bad use of inheritance because it cannot prevent bad usage of its base class's "fit" methods (where a user can provide a parametric function argument that is not a polynomial). Issue 798 could be solved by providing the methods with the "maxEval" and "initialGuess" arguments but this would not solve the above problem. The alternative would be to use composition (i.e. have "CurveFitter" an instance variable of "PolynomialFitter") but this would mean to duplicate all the methods of "CurveFitter". I don't think that it is reasonable; all that would gained is saving the typing of new PolynomialFunction.Parametric() in the call to the "fit" method (from "CurveFitter"). I propose do deprecate "PolynomialFitter" in 3.1, and remove it in 4.0. [The fitting of a polynomial using a "CurveFitter" directly could be described in the userguide.] Best, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org