API Reference
fastlowess / Lowess
Class: Lowess
Section titled “Class: Lowess”Defined in: index.d.ts:13
Batch LOWESS smoothing.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Lowess(
options?):Lowess
Defined in: index.d.ts:15
Create a new batch LOWESS smoother.
Parameters
Section titled “Parameters”options?
Section titled “options?”SmoothOptions | null
Returns
Section titled “Returns”Lowess
Methods
Section titled “Methods”fit(
x,y,customWeights?):LowessResult
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<LowessResult>
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<LowessResult>