Interface ModelFitter<Model,​Point>


public interface ModelFitter<Model,​Point>
Computes a model from a set of points and optionally an initial estimate.
  • Method Summary

    Modifier and Type Method Description
    boolean fitModel​(List<Point> dataSet, Model initial, Model found)
    Fits a model to a set of points.
    double getFitScore()
    Returns the fit score.
  • Method Details

    • fitModel

      boolean fitModel​(List<Point> dataSet, Model initial, Model found)
      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 hypothesis
      found - 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