Documentation of 'org.apache.commons.math3.fitting.SimpleCurveFitter' Java class
SimpleCurveFitter
org.apache.commons.math3.fitting

Class SimpleCurveFitter

    • Method Detail

      • create

        public static SimpleCurveFitter create(ParametricUnivariateFunction f,
                                               double[] start)
        Creates a curve fitter. The maximum number of iterations of the optimization algorithm is set to Integer.MAX_VALUE.
        Parameters:
        f - Function to fit.
        start - Initial guess for the parameters. Cannot be null. Its length must be consistent with the number of parameters of the function to fit.
        Returns:
        a curve fitter.
        See Also:
        withStartPoint(double[]), withMaxIterations(int)
      • withStartPoint

        public SimpleCurveFitter withStartPoint(double[] newStart)
        Configure the start point (initial guess).
        Parameters:
        newStart - new start point (initial guess)
        Returns:
        a new instance.
      • withMaxIterations

        public SimpleCurveFitter withMaxIterations(int newMaxIter)
        Configure the maximum number of iterations.
        Parameters:
        newMaxIter - maximum number of iterations
        Returns:
        a new instance.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.