Skip to content

API Reference

fastlowess-wasm


fastlowess-wasm / PredictOptions

Defined in: fastlowess_wasm.d.ts:61

Options for LowessResult.predict().

optional extrapolation?: string

Defined in: fastlowess_wasm.d.ts:69

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


optional intervals?: IntervalsOptions

Defined in: fastlowess_wasm.d.ts:65

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


optional max_extrapolation_distance?: number

Defined in: fastlowess_wasm.d.ts:71

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: fastlowess_wasm.d.ts:73

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: fastlowess_wasm.d.ts:63

Optional prediction components: se and/or derivative.


optional seed?: number | bigint

Defined in: fastlowess_wasm.d.ts:67

Prediction-time safe-integer Number or unsigned 64-bit BigInt seed, independent of the fit seed.