API Reference
fastlowess / OnlineSmoothOptions
Interface: OnlineSmoothOptions
Section titled “Interface: OnlineSmoothOptions”Defined in: index.d.ts:179
Configuration options for online LOWESS smoothing.
A subset of [SmoothOptions]: diagnostics, residuals, parallel execution,
cross-validation, the sorted output, and backend are all no-ops for online
processing (it handles one point at a time), so they aren’t fields on
this type. The se output and intervals require update_mode = "full".
Properties
Section titled “Properties”auto_converge?
Section titled “auto_converge?”
optionalauto_converge?:number
Defined in: index.d.ts:200
Auto-convergence tolerance. Default: None.
boundary_policy?
Section titled “boundary_policy?”
optionalboundary_policy?:string
Defined in: index.d.ts:196
Boundary handling (“extend”, “reflect”, “zero”, “noboundary”). Default: “extend”.
delta?
Section titled “delta?”
optionaldelta?:number
Defined in: index.d.ts:188
Delta for interpolation speedup. Default: NaN (auto). Set to 0.0 to disable interpolation.
fraction?
Section titled “fraction?”
optionalfraction?:number
Defined in: index.d.ts:181
Smoothing fraction (0 < fraction <= 1). Default: 0.67.
intervals?
Section titled “intervals?”
optionalintervals?:IntervalsOptions
Defined in: index.d.ts:207
Confidence/prediction levels and per-window residual-bootstrap refits.
Requires update_mode = "full".
iterations?
Section titled “iterations?”
optionaliterations?:number
Defined in: index.d.ts:183
Number of robustness iterations. Requires update_mode = "full". Default: 0.
missing?
Section titled “missing?”
optionalmissing?:string
Defined in: index.d.ts:211
Policy for non-finite (NaN/Inf) x/y values passed to addPoint (“error”, “drop”). Default: “error”.
outputs?
Section titled “outputs?”
optionaloutputs?:string[]
Defined in: index.d.ts:202
Optional output components: se, weights, derivative.
robustness_method?
Section titled “robustness_method?”
optionalrobustness_method?:string
Defined in: index.d.ts:192
Robustness method (“bisquare”, “huber”, “talwar”). Default: “bisquare”.
scaling_method?
Section titled “scaling_method?”
optionalscaling_method?:string
Defined in: index.d.ts:198
Scaling method (“mad”, “mar”, “mean”). Default: “mad”.
optionalseed?:number
Defined in: index.d.ts:209
JavaScript safe-integer bootstrap seed; each full-update window restarts from it. Default: None.
weight_function?
Section titled “weight_function?”
optionalweight_function?:string
Defined in: index.d.ts:190
Weight function (“tricube”, “epanechnikov”, “gaussian”, “uniform”, “biweight”, “triangle”, “cosine”). Default: “tricube”.
zero_weight_fallback?
Section titled “zero_weight_fallback?”
optionalzero_weight_fallback?:string
Defined in: index.d.ts:194
Fallback strategy when weights are zero (“use_local_mean”, “return_original”, “return_none”). Default: “use_local_mean”.