Skip to content

API Reference

fastlowess-wasm


fastlowess-wasm / SmoothOptions

Defined in: fastlowess_wasm.d.ts:25

Configuration options for LOWESS smoothing.

optional auto_converge?: number

Defined in: fastlowess_wasm.d.ts:51

Auto-convergence tolerance. Disabled when absent.


optional boundary_policy?: string

Defined in: fastlowess_wasm.d.ts:47

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


optional cv?: CVOptions

Defined in: fastlowess_wasm.d.ts:31

Grouped cross-validation configuration.


optional delta?: number

Defined in: fastlowess_wasm.d.ts:39

Delta for interpolation speedup. Default: auto. Set to 0 to disable.


optional fraction?: number

Defined in: fastlowess_wasm.d.ts:35

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


optional intervals?: IntervalsOptions

Defined in: fastlowess_wasm.d.ts:29

Grouped confidence/prediction levels and optional residual-bootstrap refits.


optional iterations?: number

Defined in: fastlowess_wasm.d.ts:37

Number of robustness iterations. Default: 3.


optional missing?: string

Defined in: fastlowess_wasm.d.ts:55

Policy for non-finite (NaN/Inf) values in input data (“error”, “drop”). Default: “error”.


optional outputs?: string[]

Defined in: fastlowess_wasm.d.ts:27

Optional output components: se, diagnostics, residuals, weights, derivative, sorted.


optional parallel?: boolean

Defined in: fastlowess_wasm.d.ts:53

Enable parallel execution. Ignored by OnlineLowess (it processes one point at a time). Default: true.


optional retain_model?: boolean

Defined in: fastlowess_wasm.d.ts:57

Retain the fitted model’s training data, enabling LowessResult.predict(). Batch (Lowess) only. Default: false.


optional robustness_method?: string

Defined in: fastlowess_wasm.d.ts:43

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


optional scaling_method?: string

Defined in: fastlowess_wasm.d.ts:49

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


optional seed?: number | bigint

Defined in: fastlowess_wasm.d.ts:33

Safe-integer Number or unsigned 64-bit BigInt seed for CV/bootstrap; 0 is valid. Does not enable either by itself.


optional weight_function?: string

Defined in: fastlowess_wasm.d.ts:41

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


optional zero_weight_fallback?: string

Defined in: fastlowess_wasm.d.ts:45

Fallback when all weights are zero (“use_local_mean”, “return_original”, “return_none”). Default: “use_local_mean”.