API Reference
fastloess / Loess
Class: Loess
Section titled “Class: Loess”Defined in: index.d.ts:13
Batch LOESS smoothing.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Loess(
options?):Loess
Defined in: index.d.ts:15
Create a new batch LOESS smoother.
Parameters
Section titled “Parameters”options?
Section titled “options?”SmoothOptions | null
Returns
Section titled “Returns”Loess
Methods
Section titled “Methods”fit(
x,y,customWeights?):LoessResult
Defined in: index.d.ts:17
Fit the model.
Parameters
Section titled “Parameters”Float64Array
Float64Array
customWeights?
Section titled “customWeights?”Float64Array<ArrayBufferLike> | null
Returns
Section titled “Returns”fit_async()
Section titled “fit_async()”fit_async(
x,y,customWeights?):Promise<LoessResult>
Defined in: index.d.ts:19
Fit the model asynchronously.
Parameters
Section titled “Parameters”Float64Array
Float64Array
customWeights?
Section titled “customWeights?”Float64Array<ArrayBufferLike> | null
Returns
Section titled “Returns”Promise<LoessResult>