The OpenD Programming Language

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.

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.

class Loess1D
const
double
predict
(
double point
,
int robustness = 0
)

Return Value

Type: double

The predicted y value.

Meta