API Reference
fastlowess / PredictOptions
Interface: PredictOptions
Section titled “Interface: PredictOptions”Defined in: index.d.ts:215
Options for LowessResult.predict().
Properties
Section titled “Properties”extrapolation?
Section titled “extrapolation?”
optionalextrapolation?:string
Defined in: index.d.ts:223
Behavior for query points outside the training range (“clamp”, “linear”, “error”). Default: “clamp”.
intervals?
Section titled “intervals?”
optionalintervals?:IntervalsOptions
Defined in: index.d.ts:219
Grouped confidence/prediction levels and optional residual-bootstrap refits.
max_extrapolation_distance?
Section titled “max_extrapolation_distance?”
optionalmax_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.
max_neighbor_distance?
Section titled “max_neighbor_distance?”
optionalmax_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.
outputs?
Section titled “outputs?”
optionaloutputs?:string[]
Defined in: index.d.ts:217
Optional output components: se, derivative.
optionalseed?:number
Defined in: index.d.ts:221
Prediction-time seed; must be a non-negative JavaScript safe integer. Default: None.