Function Loess1D.predict

Predict the value of y when x == point, using robustness iterations of the biweight procedure outlined in the reference to make the estimates more robust.

double predict (
  double point,
  int robustness = 0
) const;

Notes

This function is computationally intensive but may be called from multiple threads simultaneously. When predicting a large number of points, a parallel foreach loop may be used.

Before calling this function with robustness > 0, computeRobustWeights() must be called. See this function for details.

Returns

The predicted y value.