Skip to content

API Reference

fastlowess


fastlowess / 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".

optional auto_converge?: number

Defined in: index.d.ts:200

Auto-convergence tolerance. Default: None.


optional boundary_policy?: string

Defined in: index.d.ts:196

Boundary handling (“extend”, “reflect”, “zero”, “noboundary”). Default: “extend”.


optional delta?: number

Defined in: index.d.ts:188

Delta for interpolation speedup. Default: NaN (auto). Set to 0.0 to disable interpolation.


optional fraction?: number

Defined in: index.d.ts:181

Smoothing fraction (0 < fraction <= 1). Default: 0.67.


optional intervals?: IntervalsOptions

Defined in: index.d.ts:207

Confidence/prediction levels and per-window residual-bootstrap refits. Requires update_mode = "full".


optional iterations?: number

Defined in: index.d.ts:183

Number of robustness iterations. Requires update_mode = "full". Default: 0.


optional missing?: string

Defined in: index.d.ts:211

Policy for non-finite (NaN/Inf) x/y values passed to addPoint (“error”, “drop”). Default: “error”.


optional outputs?: string[]

Defined in: index.d.ts:202

Optional output components: se, weights, derivative.


optional robustness_method?: string

Defined in: index.d.ts:192

Robustness method (“bisquare”, “huber”, “talwar”). Default: “bisquare”.


optional scaling_method?: string

Defined in: index.d.ts:198

Scaling method (“mad”, “mar”, “mean”). Default: “mad”.


optional seed?: number

Defined in: index.d.ts:209

JavaScript safe-integer bootstrap seed; each full-update window restarts from it. Default: None.


optional weight_function?: string

Defined in: index.d.ts:190

Weight function (“tricube”, “epanechnikov”, “gaussian”, “uniform”, “biweight”, “triangle”, “cosine”). Default: “tricube”.


optional zero_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”.