1 #ifndef _theplu_yat_regression_naiveweighted_
2 #define _theplu_yat_regression_naiveweighted_
27 #include "OneDimensionalWeighted.h"
37 namespace regression {
70 double predict(
const double x)
const;
81 double s2(
const double w=1)
const;
naive fitting.
Definition: NaiveWeighted.h:42
void fit(const utility::VectorBase &x, const utility::VectorBase &y, const utility::VectorBase &w)
double s2(const double w=1) const
NaiveWeighted(void)
The default constructor.
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
Interface Class for One Dimensional fitting in a weighted fashion.
Definition: OneDimensionalWeighted.h:41
double predict(const double x) const
double standard_error2(const double x) const
virtual ~NaiveWeighted(void)
The destructor.