Interface FitCurve<T>

All Known Implementing Classes:
DefaultFitCurve

public interface FitCurve<T>

The results of a curve fitting operation, aka CurveFitter.fit(Object parameters, ObservedPoints points) Can be used to yield a function and get various metadata about the fit itself.

  • Method Details

    • getFitter

      CurveFitter<T> getFitter()
      Returns:
      the thing that produced this fit
    • getFunction

      nz.org.riskscape.engine.function.UntypedFunction getFunction()
      Returns:
      the untyped part of a RiskscapeFunction that can be used to compute f(x) = y, should accept and return doubles.
    • getObservedPoints

      ObservedPoints getObservedPoints()
      Returns:
      that dataset that was used to fit this curve
    • getFitParameters

      T getFitParameters()
      Returns:
      the parameters, specific to each type of function, that were produced when this function was fit
    • getFitScore

      double getFitScore()
      Returns:
      an value for this curve against the original data points