API Reference
fastloess / StreamingLoess
Class: StreamingLoess
Section titled “Class: StreamingLoess”Defined in: index.d.ts:107
Streaming LOESS smoother for large datasets.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StreamingLoess(
options?,streamingOpts?):StreamingLoess
Defined in: index.d.ts:109
Create a new streaming LOESS smoother.
Parameters
Section titled “Parameters”options?
Section titled “options?”StreamingSmoothOptions | null
streamingOpts?
Section titled “streamingOpts?”StreamingOptions | null
Returns
Section titled “Returns”StreamingLoess
Methods
Section titled “Methods”finalize()
Section titled “finalize()”finalize():
LoessResult
Defined in: index.d.ts:115
Finalize the stream and return remaining data.
Returns
Section titled “Returns”process_chunk()
Section titled “process_chunk()”process_chunk(
x,y):LoessResult
Defined in: index.d.ts:111
Process a chunk of data.
Parameters
Section titled “Parameters”Float64Array
Float64Array
Returns
Section titled “Returns”process_chunk_weighted()
Section titled “process_chunk_weighted()”process_chunk_weighted(
x,y,customWeights):LoessResult
Defined in: index.d.ts:113
Process a chunk with one case weight per observation.
Parameters
Section titled “Parameters”Float64Array
Float64Array
customWeights
Section titled “customWeights”Float64Array