WeightedLowess
A C++ library for LOWESS with various weighting schemes
Loading...
Searching...
No Matches
Options.hpp
Go to the documentation of this file.
1#ifndef WEIGHTEDLOWESS_OPTIONS_HPP
2#define WEIGHTEDLOWESS_OPTIONS_HPP
3
10namespace WeightedLowess {
11
16template<typename Data_ = double>
17struct Options {
28 Data_ span = 0.3;
29
35 bool span_as_proportion = true;
36
42 Data_ minimum_width = 0;
43
55 size_t anchors = 200;
56
62 int iterations = 3;
63
71 Data_ delta = -1;
72
78 Data_* weights = NULL;
79
85 bool frequency_weights = true;
86
92 int num_threads = 1;
93};
94
95}
96
97#endif
Namespace for LOWESS functions.
Definition compute.hpp:14
Options for compute().
Definition Options.hpp:17
Data_ * weights
Definition Options.hpp:78
bool frequency_weights
Definition Options.hpp:85
Data_ delta
Definition Options.hpp:71
Data_ span
Definition Options.hpp:28
Data_ minimum_width
Definition Options.hpp:42
size_t anchors
Definition Options.hpp:55
bool span_as_proportion
Definition Options.hpp:35
int iterations
Definition Options.hpp:62
int num_threads
Definition Options.hpp:92