Skip to content

API Reference

fastloess


fastloess / PredictOptions

Defined in: index.d.ts:234

Options for LoessResult.predict().

optional extrapolation?: string

Defined in: index.d.ts:239

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


optional intervals?: IntervalsOptions

Defined in: index.d.ts:237


optional max_extrapolation_distance?: number

Defined in: index.d.ts:244

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:249

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: index.d.ts:236

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