Skip to content

API Reference

fastloess-wasm


fastloess-wasm / PredictOptions

Defined in: fastloess_wasm.d.ts:55

Options for LoessResult.predict().

optional extrapolation?: string

Defined in: fastloess_wasm.d.ts:60

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


optional intervals?: IntervalsOptions

Defined in: fastloess_wasm.d.ts:58


optional max_extrapolation_distance?: number

Defined in: fastloess_wasm.d.ts:62

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: fastloess_wasm.d.ts:64

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


optional outputs?: string[]

Defined in: fastloess_wasm.d.ts:57

Optional prediction components: se, gradient (or derivative).