API Reference
fastloess-wasm / StreamingLoess
Class: StreamingLoess
Section titled “Class: StreamingLoess”Defined in: fastloess_wasm.d.ts:204
Streaming LOESS smoother for large datasets.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StreamingLoess(
options?,streamingOpts?):StreamingLoess
Defined in: fastloess_wasm.d.ts:206
Parameters
Section titled “Parameters”options?
Section titled “options?”streamingOpts?
Section titled “streamingOpts?”Returns
Section titled “Returns”StreamingLoess
Methods
Section titled “Methods”finalize()
Section titled “finalize()”finalize():
LoessResult
Defined in: fastloess_wasm.d.ts:212
Finalize the stream and return remaining data.
Returns
Section titled “Returns”free()
Section titled “free()”free():
void
Defined in: fastloess_wasm.d.ts:205
Returns
Section titled “Returns”void
process_chunk()
Section titled “process_chunk()”process_chunk(
x,y):LoessResult
Defined in: fastloess_wasm.d.ts:208
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,weights):LoessResult
Defined in: fastloess_wasm.d.ts:210
Process a chunk with one case weight per observation.
Parameters
Section titled “Parameters”Float64Array
Float64Array
weights
Section titled “weights”Float64Array