API Reference
fastlowess / LowessResult
Class: LowessResult
Section titled “Class: LowessResult”Defined in: index.d.ts:23
Result of a LOWESS fit.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LowessResult():
LowessResult
Returns
Section titled “Returns”LowessResult
Accessors
Section titled “Accessors”confidence_lower
Section titled “confidence_lower”Get Signature
Section titled “Get Signature”get confidence_lower():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:33
Get lower confidence bounds (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
confidence_upper
Section titled “confidence_upper”Get Signature
Section titled “Get Signature”get confidence_upper():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:35
Get upper confidence bounds (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
cv_scores
Section titled “cv_scores”Get Signature
Section titled “Get Signature”get cv_scores():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:47
Get cross-validation scores (if CV was performed).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
derivative
Section titled “derivative”Get Signature
Section titled “Get Signature”get derivative():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:43
Get the per-point local fit derivative (slope) (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
diagnostics
Section titled “diagnostics”Get Signature
Section titled “Get Signature”get diagnostics():
Diagnostics|null
Defined in: index.d.ts:45
Get diagnostics (if requested).
Returns
Section titled “Returns”Diagnostics | null
fraction_used
Section titled “fraction_used”Get Signature
Section titled “Get Signature”get fraction_used():
number
Defined in: index.d.ts:49
Get the fraction used for smoothing.
Returns
Section titled “Returns”number
iterations_used
Section titled “iterations_used”Get Signature
Section titled “Get Signature”get iterations_used():
number|null
Defined in: index.d.ts:51
Get the number of iterations performed.
Returns
Section titled “Returns”number | null
prediction_lower
Section titled “prediction_lower”Get Signature
Section titled “Get Signature”get prediction_lower():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:37
Get lower prediction bounds (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
prediction_upper
Section titled “prediction_upper”Get Signature
Section titled “Get Signature”get prediction_upper():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:39
Get upper prediction bounds (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
residuals
Section titled “residuals”Get Signature
Section titled “Get Signature”get residuals():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:29
Get residuals (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
robustness_weights
Section titled “robustness_weights”Get Signature
Section titled “Get Signature”get robustness_weights():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:41
Get robustness weights (if requested).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
standard_errors
Section titled “standard_errors”Get Signature
Section titled “Get Signature”get standard_errors():
Float64Array<ArrayBufferLike> |null
Defined in: index.d.ts:31
Get standard errors (if requested/computed).
Returns
Section titled “Returns”Float64Array<ArrayBufferLike> | null
Get Signature
Section titled “Get Signature”get x():
Float64Array
Defined in: index.d.ts:25
Get the x values (same order as input).
Returns
Section titled “Returns”Float64Array
Get Signature
Section titled “Get Signature”get y():
Float64Array
Defined in: index.d.ts:27
Get the smoothed y values.
Returns
Section titled “Returns”Float64Array
Methods
Section titled “Methods”predict()
Section titled “predict()”predict(
newX,options?):PredictOutput
Defined in: index.d.ts:57
Evaluate the fitted model at out-of-sample query points not in the training set.
Requires retain_model: true to have been set on the builder before fit().
Parameters
Section titled “Parameters”Float64Array
options?
Section titled “options?”PredictOptions | null