Skip to content

API Reference

fastloess


fastloess / 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.

optional auto_converge?: number

Defined in: index.d.ts:333

Auto-convergence tolerance. Default: None.


optional boundary_degree_fallback?: boolean

Defined in: index.d.ts:354

Reduce polynomial degree to linear at boundary vertices (default true).


optional boundary_policy?: string

Defined in: index.d.ts:329

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


optional cell?: number

Defined in: index.d.ts:350

Interpolation cell size (default 0.2). Smaller = more vertices, higher accuracy.


optional degree?: string

Defined in: index.d.ts:340

Polynomial degree (“constant”, “linear”, “quadratic”, etc.). Default: “linear”.


optional dimensions?: number

Defined in: index.d.ts:342

Number of predictor dimensions. Default: 1.


optional distance_metric?: string

Defined in: index.d.ts:344

Distance metric (“normalized”, “euclidean”, “manhattan”, “chebyshev”, “minkowski:p”, “weighted”). Default: “normalized”.


optional fraction?: number

Defined in: index.d.ts:319

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


optional interpolation_vertices?: number

Defined in: index.d.ts:352

Maximum number of interpolation vertices.


optional intervals?: IntervalsOptions

Defined in: index.d.ts:336


optional iterations?: number

Defined in: index.d.ts:321

Number of robustness iterations. Default: 3.


optional missing?: string

Defined in: index.d.ts:356

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


optional outputs?: string[]

Defined in: index.d.ts:335

Optional output components: diagnostics, residuals, weights, gradient (or derivative), se.


optional parallel?: boolean

Defined in: index.d.ts:338

Enable parallel execution. Default: true.


optional robustness_method?: string

Defined in: index.d.ts:325

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


optional scaling_method?: string

Defined in: index.d.ts:331

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


optional surface_mode?: string

Defined in: index.d.ts:348

Surface mode (“interpolation” or “direct”). Default: “interpolation”.


optional weight_function?: string

Defined in: index.d.ts:323

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


optional weighted_metric_weights?: number[]

Defined in: index.d.ts:346

Per-dimension weights for the “weighted” distance metric.


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