Property | Type | Description | |
---|---|---|---|
DEFAULT_BANDWIDTH | double | ||
DEFAULT_ROBUSTNESS_ITERS | int |
Method | Description | |
---|---|---|
LoessInterpolator ( ) : System | ||
LoessInterpolator ( double bandwidth, int robustnessIters ) : System | ||
Train ( double xvals, double yvals, double xStep, bool computeFitted = true ) : LoessModel |
Train a LOESS model
|
Method | Description | |
---|---|---|
checkAllFiniteReal ( double values, bool isAbscissae ) : void | ||
checkIncreasing ( double xval ) : void |
Check that elements of the abscissae array are in an increasing order. Throws MathException if the abscissae array is not in an increasing order.
|
|
computeCoefficients ( double x, double xval, double yval, double robustnessWeights, int bandwidthInterval ) : double[] | ||
computeIntervals ( double xvals, double xStep, int bandwidthInPoints ) : List |
||
predict ( double x, double coefficients ) : double | ||
train ( double xvals, double yvals, double xStep, int ascendingOrder, bool computeFitted = true ) : LoessModel |
Train a LOESS model
|
|
tricube ( double x ) : double | ||
updateBandwidthInterval ( double x, double xval, int bandwidthInterval ) : int[] |
Given an Index interval into xval that embraces a certain number of points closest to a value less than x, update the interval so that it embraces the same number of points closest to x.
|
public LoessInterpolator ( double bandwidth, int robustnessIters ) : System | ||
bandwidth | double | |
robustnessIters | int | |
return | System |
public Train ( double xvals, double yvals, double xStep, bool computeFitted = true ) : LoessModel | ||
xvals | double | x values |
yvals | double | y values |
xStep | double | x-value step size |
computeFitted | bool | to compute the fitted y values? Always true when robustnessIters > 0 |
return | LoessModel |