fastlowess-cpp
High-performance LOWESS smoothing
Loading...
Searching...
No Matches
fastlowess::PredictOptions Struct Reference

Options for PredictModel::predict(). More...

#include <fastlowess.hpp>

Public Attributes

std::vector< std::string > outputs
 Optional prediction components: "se" and/or "derivative".
 
IntervalsOptions intervals
 
std::optional< uint64_t > seed
 
std::string extrapolation = "clamp"
 Behavior for query points outside the training range ("clamp", "linear", "error").
 
double max_extrapolation_distance = NAN
 Under "linear" extrapolation, the maximum allowed distance beyond the training boundary before predict() errors instead of returning an unbounded value (NaN = disabled).
 
double max_neighbor_distance = NAN
 Maximum allowed distance to the farthest point in a query's local window before predict() errors, catching in-range-but-sparse query points (NaN = disabled).
 

Detailed Description

Member Data Documentation

◆ extrapolation

std::string fastlowess::PredictOptions::extrapolation = "clamp"

Behavior for query points outside the training range ("clamp", "linear", "error").

◆ intervals

IntervalsOptions fastlowess::PredictOptions::intervals

◆ max_extrapolation_distance

double fastlowess::PredictOptions::max_extrapolation_distance = NAN

Under "linear" extrapolation, the maximum allowed distance beyond the training boundary before predict() errors instead of returning an unbounded value (NaN = disabled).

◆ max_neighbor_distance

double fastlowess::PredictOptions::max_neighbor_distance = NAN

Maximum allowed distance to the farthest point in a query's local window before predict() errors, catching in-range-but-sparse query points (NaN = disabled).

◆ outputs

std::vector<std::string> fastlowess::PredictOptions::outputs

Optional prediction components: "se" and/or "derivative".

◆ seed

std::optional<uint64_t> fastlowess::PredictOptions::seed

The documentation for this struct was generated from the following file: