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;
The Department of Theoretical Physics namespace as we define it.
double predict(const double x) const
naive fitting.
Definition: NaiveWeighted.h:42
void fit(const utility::VectorBase &x, const utility::VectorBase &y, const utility::VectorBase &w)
NaiveWeighted(void)
The default constructor.
This is the yat interface to GSL vector.
Definition: VectorBase.h:55
double s2(const double w=1) const
Interface Class for One Dimensional fitting in a weighted fashion.
Definition: OneDimensionalWeighted.h:42
double standard_error2(const double x) const
virtual ~NaiveWeighted(void)
The destructor.