API Reference
fastloess / StreamingSmoothOptions
Interface: StreamingSmoothOptions
Section titled “Interface: StreamingSmoothOptions”Defined in: index.d.ts:317
Configuration options for streaming LOESS smoothing.
A subset of [SmoothOptions]: cross-validation is Batch-only and has no
equivalent here, so it isn’t a field on this type.
Properties
Section titled “Properties”auto_converge?
Section titled “auto_converge?”
optionalauto_converge?:number
Defined in: index.d.ts:333
Auto-convergence tolerance. Default: None.
boundary_degree_fallback?
Section titled “boundary_degree_fallback?”
optionalboundary_degree_fallback?:boolean
Defined in: index.d.ts:354
Reduce polynomial degree to linear at boundary vertices (default true).
boundary_policy?
Section titled “boundary_policy?”
optionalboundary_policy?:string
Defined in: index.d.ts:329
Boundary handling (“extend”, “reflect”, “zero”, “noboundary”). Default: “extend”.
optionalcell?:number
Defined in: index.d.ts:350
Interpolation cell size (default 0.2). Smaller = more vertices, higher accuracy.
degree?
Section titled “degree?”
optionaldegree?:string
Defined in: index.d.ts:340
Polynomial degree (“constant”, “linear”, “quadratic”, etc.). Default: “linear”.
dimensions?
Section titled “dimensions?”
optionaldimensions?:number
Defined in: index.d.ts:342
Number of predictor dimensions. Default: 1.
distance_metric?
Section titled “distance_metric?”
optionaldistance_metric?:string
Defined in: index.d.ts:344
Distance metric (“normalized”, “euclidean”, “manhattan”, “chebyshev”, “minkowski:p”, “weighted”). Default: “normalized”.
fraction?
Section titled “fraction?”
optionalfraction?:number
Defined in: index.d.ts:319
Smoothing fraction (0 < fraction <= 1). Default: 0.67.
interpolation_vertices?
Section titled “interpolation_vertices?”
optionalinterpolation_vertices?:number
Defined in: index.d.ts:352
Maximum number of interpolation vertices.
intervals?
Section titled “intervals?”
optionalintervals?:IntervalsOptions
Defined in: index.d.ts:336
iterations?
Section titled “iterations?”
optionaliterations?:number
Defined in: index.d.ts:321
Number of robustness iterations. Default: 3.
missing?
Section titled “missing?”
optionalmissing?:string
Defined in: index.d.ts:356
Policy for non-finite (NaN/Inf) values in each chunk (“error”, “drop”). Default: “error”.
outputs?
Section titled “outputs?”
optionaloutputs?:string[]
Defined in: index.d.ts:335
Optional output components: diagnostics, residuals, weights, gradient (or derivative), se.
parallel?
Section titled “parallel?”
optionalparallel?:boolean
Defined in: index.d.ts:338
Enable parallel execution. Default: true.
robustness_method?
Section titled “robustness_method?”
optionalrobustness_method?:string
Defined in: index.d.ts:325
Robustness method (“bisquare”, “huber”, “talwar”). Default: “bisquare”.
scaling_method?
Section titled “scaling_method?”
optionalscaling_method?:string
Defined in: index.d.ts:331
Scaling method (“mad”, “mar”, “mean”). Default: “mad”.
surface_mode?
Section titled “surface_mode?”
optionalsurface_mode?:string
Defined in: index.d.ts:348
Surface mode (“interpolation” or “direct”). Default: “interpolation”.
weight_function?
Section titled “weight_function?”
optionalweight_function?:string
Defined in: index.d.ts:323
Weight function (“tricube”, “epanechnikov”, “gaussian”, “uniform”, “biweight”, “triangle”, “cosine”). Default: “tricube”.
weighted_metric_weights?
Section titled “weighted_metric_weights?”
optionalweighted_metric_weights?:number[]
Defined in: index.d.ts:346
Per-dimension weights for the “weighted” distance metric.
zero_weight_fallback?
Section titled “zero_weight_fallback?”
optionalzero_weight_fallback?:string
Defined in: index.d.ts:327
Fallback strategy when weights are zero (“use_local_mean”, “return_original”, “return_none”). Default: “use_local_mean”.