Package org.ddogleg.fitting.modelset
Interface ModelFitter<Model,Point>
public interface ModelFitter<Model,Point>
Computes a model from a set of points and optionally an initial estimate.
-
Method Summary
-
Method Details
-
fitModel
Fits a model to a set of points. Note that initial and found can be the same instance.- Parameters:
dataSet
- Set of points the model is being fit to.initial
- Initial hypothesisfound
- The found model. Can be the same instance as initial.- Returns:
- true if a model was found and false if one was not.
-
getFitScore
double getFitScore()Returns the fit score. The meaning of the fit score is entirely implementation dependent.- Returns:
- The fit score
-