Package edu.cnu.mdi.splot.fit
Interface IInitialGuess
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides an initial parameter guess for a curve fitter. Implementations
should be fast and side-effect free.
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]guess(double[] x, double[] y, double[] weights) Compute an initial parameter guess.
-
Method Details
-
guess
double[] guess(double[] x, double[] y, double[] weights) Compute an initial parameter guess.- Parameters:
x- x datay- y dataweights- optional weights (may be null)- Returns:
- initial parameters (model-specific ordering/length)
-