API Reference
fastlowess-wasm / PredictOptions
Interface: PredictOptions
Section titled “Interface: PredictOptions”Defined in: fastlowess_wasm.d.ts:61
Options for LowessResult.predict().
Properties
Section titled “Properties”extrapolation?
Section titled “extrapolation?”
optionalextrapolation?:string
Defined in: fastlowess_wasm.d.ts:69
Behavior for query points outside the training range (“clamp”, “linear”, “error”). Default: “clamp”.
intervals?
Section titled “intervals?”
optionalintervals?:IntervalsOptions
Defined in: fastlowess_wasm.d.ts:65
Grouped confidence/prediction levels and optional residual-bootstrap refits.
max_extrapolation_distance?
Section titled “max_extrapolation_distance?”
optionalmax_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.
max_neighbor_distance?
Section titled “max_neighbor_distance?”
optionalmax_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.
outputs?
Section titled “outputs?”
optionaloutputs?:string[]
Defined in: fastlowess_wasm.d.ts:63
Optional prediction components: se and/or derivative.
optionalseed?: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.