Skip to content

API Reference

fastlowess-wasm


fastlowess-wasm / SmoothOptions

Defined in: fastlowess_wasm.d.ts:5

Configuration options for LOWESS smoothing.

optional auto_converge?: number

Defined in: fastlowess_wasm.d.ts:23

Auto-convergence tolerance. Disabled when absent.


optional boundary_policy?: string

Defined in: fastlowess_wasm.d.ts:19

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


optional confidence_intervals?: number

Defined in: fastlowess_wasm.d.ts:33

Confidence interval level (e.g. 0.95). Disabled when absent.


optional cv_fractions?: number[]

Defined in: fastlowess_wasm.d.ts:39

Fractions to test for cross-validation. CV disabled when absent.


optional cv_k?: number

Defined in: fastlowess_wasm.d.ts:43

Number of folds for k-fold CV. Default: 5.


optional cv_method?: string

Defined in: fastlowess_wasm.d.ts:41

CV method (“kfold” or “loocv”). Default: “kfold”.


optional cv_seed?: number

Defined in: fastlowess_wasm.d.ts:45

Random seed for CV fold assignment.


optional delta?: number

Defined in: fastlowess_wasm.d.ts:11

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


optional fraction?: number

Defined in: fastlowess_wasm.d.ts:7

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


optional iterations?: number

Defined in: fastlowess_wasm.d.ts:9

Number of robustness iterations. Default: 3.


optional parallel?: boolean

Defined in: fastlowess_wasm.d.ts:37

Enable parallel execution. Default: true.


optional prediction_intervals?: number

Defined in: fastlowess_wasm.d.ts:35

Prediction interval level (e.g. 0.95). Disabled when absent.


optional return_diagnostics?: boolean

Defined in: fastlowess_wasm.d.ts:29

Compute diagnostics (RMSE, MAE, R², etc.). Default: false.


optional return_residuals?: boolean

Defined in: fastlowess_wasm.d.ts:25

Include residuals in result. Default: false.


optional return_robustness_weights?: boolean

Defined in: fastlowess_wasm.d.ts:27

Include robustness weights in result. Default: false.


optional return_se?: boolean

Defined in: fastlowess_wasm.d.ts:31

Include standard errors in result. Default: false.


optional robustness_method?: string

Defined in: fastlowess_wasm.d.ts:15

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


optional scaling_method?: string

Defined in: fastlowess_wasm.d.ts:21

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


optional weight_function?: string

Defined in: fastlowess_wasm.d.ts:13

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


optional zero_weight_fallback?: string

Defined in: fastlowess_wasm.d.ts:17

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