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

Options for online LOWESS. More...

#include <fastlowess.hpp>

Public Attributes

double fraction = detail::k_default_fraction
 Smoothing fraction (0, 1].
 
int iterations = 0
 Robustness iterations (requires update_mode = "full")
 
double delta = NAN
 Interpolation threshold (NaN = auto)
 
std::string weight_function = "tricube"
 
std::string robustness_method = "bisquare"
 
std::string scaling_method = "mad"
 
std::string boundary_policy = "extend"
 
std::string zero_weight_fallback = "use_local_mean"
 
double auto_converge = NAN
 Auto-convergence threshold.
 
std::vector< std::string > outputs
 Optional result components: "weights", "derivative", and/or "se".
 
IntervalsOptions intervals
 
std::optional< uint64_t > seed
 
std::string missing = "error"
 Policy for non-finite (NaN/Inf) x/y values passed to add_point(): "error" (default) or "drop".
 
int window_capacity = detail::k_default_window_capacity
 
int min_points = detail::k_default_min_points
 
std::string update_mode = "incremental"
 

Detailed Description

Options for online LOWESS.

Online LOWESS processes one point at a time, so it has no parallel or backend option, and diagnostics/residuals are always computed for free. outputs = {"se"} or intervals.confidence/intervals.prediction require update_mode = "full".

Member Data Documentation

◆ auto_converge

double fastlowess::OnlineOptions::auto_converge = NAN

Auto-convergence threshold.

◆ boundary_policy

std::string fastlowess::OnlineOptions::boundary_policy = "extend"

◆ delta

double fastlowess::OnlineOptions::delta = NAN

Interpolation threshold (NaN = auto)

◆ fraction

double fastlowess::OnlineOptions::fraction = detail::k_default_fraction

Smoothing fraction (0, 1].

◆ intervals

IntervalsOptions fastlowess::OnlineOptions::intervals

◆ iterations

int fastlowess::OnlineOptions::iterations = 0

Robustness iterations (requires update_mode = "full")

◆ min_points

int fastlowess::OnlineOptions::min_points = detail::k_default_min_points

◆ missing

std::string fastlowess::OnlineOptions::missing = "error"

Policy for non-finite (NaN/Inf) x/y values passed to add_point(): "error" (default) or "drop".

◆ outputs

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

Optional result components: "weights", "derivative", and/or "se".

"se" requires update_mode = "full".

◆ robustness_method

std::string fastlowess::OnlineOptions::robustness_method = "bisquare"

◆ scaling_method

std::string fastlowess::OnlineOptions::scaling_method = "mad"

◆ seed

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

◆ update_mode

std::string fastlowess::OnlineOptions::update_mode = "incremental"

◆ weight_function

std::string fastlowess::OnlineOptions::weight_function = "tricube"

◆ window_capacity

int fastlowess::OnlineOptions::window_capacity = detail::k_default_window_capacity

◆ zero_weight_fallback

std::string fastlowess::OnlineOptions::zero_weight_fallback = "use_local_mean"

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