1 #ifndef _theplu_yat_regression_polynomialweighted_
2 #define _theplu_yat_regression_polynomialweighted_
25 #include "OneDimensionalWeighted.h"
26 #include "MultiDimensionalWeighted.h"
27 #include "yat/utility/Vector.h"
31 namespace regression {
70 double s2(
const double w=1)
const;
75 double predict(
const double x)
const;
void fit(const utility::VectorBase &x, const utility::VectorBase &y, const utility::VectorBase &w)
double standard_error2(const double x) const
~PolynomialWeighted(void)
Destructor.
double predict(const double x) const
This is the yat interface to GSL vector.
Definition: Vector.h:57
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
const utility::Vector & fit_parameters(void) const
Polynomial Regression in weighted fashion.
Definition: PolynomialWeighted.h:36
Interface Class for One Dimensional fitting in a weighted fashion.
Definition: OneDimensionalWeighted.h:41
double s2(const double w=1) const
Mean Squared Error.
PolynomialWeighted(size_t power)
MultiDimesional fitting.
Definition: MultiDimensionalWeighted.h:38