Class Loess1D
This class is returned from the loess1D function and holds the state of a
loess regression with one predictor variable.
Properties
Name | Type | Description |
degree [get]
|
int | The polynomial degree for the local regression.
|
x [get]
|
const(double)[] | The x values provided on object creation.
|
y [get]
|
const(double)[] | The y values provided on object creation.
|
Methods
Name | Description |
computeRobustWeights
|
Compute the weights for robust loess, for all robustness levels <= the
robustness parameter. This computation is embarrassingly parallel, so if a
TaskPool is provided it will be parallelized.
|
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.
|
predictions
|
Obtain smoothed predictions of y at the values of x provided on creation
of this object, for the given level of robustness. Evaluating
these is computationally expensive and may be parallelized by
providing a TaskPool object.
|