robustRegression.hpp
Go to the documentation of this file.
std::vector< double > getCoefficient() const
return coefficients of the regression
Definition: robustRegression.cpp:69
Tukey's bi-square function.
Definition: robustRegression.hpp:70
void estimate(const std::vector< double > &x, const std::vector< double > &y)
estimates the parameters basing on provided data
Definition: robustRegression.cpp:9
Definition: cadHoliday.cpp:3
std::ostream & operator<<(std::ostream &s, julian::RobustRegression &r)
Overloads stream operator.
Definition: robustRegression.cpp:75
RobustRegression()
constructor
Definition: robustRegression.hpp:82
RobustRegression::type type_
Type of robust regression.
Definition: robustRegression.hpp:97
Class uses Curiously Recurring Template Pattern to implement polymorphic copy construction in every d...
Definition: regression.hpp:60
double operator()(double) const
Operator performing calculation.
Definition: robustRegression.cpp:57
std::vector< double > coefs_
Vector of coefficients.
Definition: robustRegression.hpp:98
RobustRegression(int order, RobustRegression::type t)
constructor
Definition: robustRegression.hpp:86
File contains interface of regressions.
Class implements robust linear regression.
Definition: robustRegression.hpp:65