API Reference
fastlowess-wasm / SmoothOptions
Interface: SmoothOptions
Section titled “Interface: SmoothOptions”Defined in: fastlowess_wasm.d.ts:5
Configuration options for LOWESS smoothing.
Properties
Section titled “Properties”auto_converge?
Section titled “auto_converge?”
optionalauto_converge?:number
Defined in: fastlowess_wasm.d.ts:23
Auto-convergence tolerance. Disabled when absent.
boundary_policy?
Section titled “boundary_policy?”
optionalboundary_policy?:string
Defined in: fastlowess_wasm.d.ts:19
Boundary handling (“extend”, “reflect”, “zero”, “noboundary”). Default: “extend”.
confidence_intervals?
Section titled “confidence_intervals?”
optionalconfidence_intervals?:number
Defined in: fastlowess_wasm.d.ts:33
Confidence interval level (e.g. 0.95). Disabled when absent.
cv_fractions?
Section titled “cv_fractions?”
optionalcv_fractions?:number[]
Defined in: fastlowess_wasm.d.ts:39
Fractions to test for cross-validation. CV disabled when absent.
optionalcv_k?:number
Defined in: fastlowess_wasm.d.ts:43
Number of folds for k-fold CV. Default: 5.
cv_method?
Section titled “cv_method?”
optionalcv_method?:string
Defined in: fastlowess_wasm.d.ts:41
CV method (“kfold” or “loocv”). Default: “kfold”.
cv_seed?
Section titled “cv_seed?”
optionalcv_seed?:number
Defined in: fastlowess_wasm.d.ts:45
Random seed for CV fold assignment.
delta?
Section titled “delta?”
optionaldelta?:number
Defined in: fastlowess_wasm.d.ts:11
Delta for interpolation speedup. Default: auto. Set to 0 to disable.
fraction?
Section titled “fraction?”
optionalfraction?:number
Defined in: fastlowess_wasm.d.ts:7
Smoothing fraction (0 < fraction <= 1). Default: 0.67.
iterations?
Section titled “iterations?”
optionaliterations?:number
Defined in: fastlowess_wasm.d.ts:9
Number of robustness iterations. Default: 3.
parallel?
Section titled “parallel?”
optionalparallel?:boolean
Defined in: fastlowess_wasm.d.ts:37
Enable parallel execution. Default: true.
prediction_intervals?
Section titled “prediction_intervals?”
optionalprediction_intervals?:number
Defined in: fastlowess_wasm.d.ts:35
Prediction interval level (e.g. 0.95). Disabled when absent.
return_diagnostics?
Section titled “return_diagnostics?”
optionalreturn_diagnostics?:boolean
Defined in: fastlowess_wasm.d.ts:29
Compute diagnostics (RMSE, MAE, R², etc.). Default: false.
return_residuals?
Section titled “return_residuals?”
optionalreturn_residuals?:boolean
Defined in: fastlowess_wasm.d.ts:25
Include residuals in result. Default: false.
return_robustness_weights?
Section titled “return_robustness_weights?”
optionalreturn_robustness_weights?:boolean
Defined in: fastlowess_wasm.d.ts:27
Include robustness weights in result. Default: false.
return_se?
Section titled “return_se?”
optionalreturn_se?:boolean
Defined in: fastlowess_wasm.d.ts:31
Include standard errors in result. Default: false.
robustness_method?
Section titled “robustness_method?”
optionalrobustness_method?:string
Defined in: fastlowess_wasm.d.ts:15
Robustness method (“bisquare”, “huber”, “talwar”). Default: “bisquare”.
scaling_method?
Section titled “scaling_method?”
optionalscaling_method?:string
Defined in: fastlowess_wasm.d.ts:21
Scaling method (“mad”, “mar”, “mean”). Default: “mad”.
weight_function?
Section titled “weight_function?”
optionalweight_function?:string
Defined in: fastlowess_wasm.d.ts:13
Kernel function (“tricube”, “epanechnikov”, “gaussian”, “uniform”, “biweight”, “triangle”, “cosine”). Default: “tricube”.
zero_weight_fallback?
Section titled “zero_weight_fallback?”
optionalzero_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”.