Skip to content

API Reference

fastlowess


fastlowess / PredictOptions

Defined in: index.d.ts:215

Options for LowessResult.predict().

optional extrapolation?: string

Defined in: index.d.ts:223

Behavior for query points outside the training range (“clamp”, “linear”, “error”). Default: “clamp”.


optional intervals?: IntervalsOptions

Defined in: index.d.ts:219

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


optional max_extrapolation_distance?: number

Defined in: index.d.ts:228

Under “linear” extrapolation, the maximum allowed distance beyond the training boundary before predict() errors instead of returning an unbounded value.


optional max_neighbor_distance?: number

Defined in: index.d.ts:233

Maximum allowed distance to the farthest point in a query’s local window before predict() errors, catching in-range-but-sparse query points.


optional outputs?: string[]

Defined in: index.d.ts:217

Optional output components: se, derivative.


optional seed?: number

Defined in: index.d.ts:221

Prediction-time seed; must be a non-negative JavaScript safe integer. Default: None.