1 #ifndef _theplu_yat_regression_multidimensional_
2 #define _theplu_yat_regression_multidimensional_
26 #include "yat/utility/Matrix.h"
27 #include "yat/utility/Vector.h"
29 #include <gsl/gsl_multifit.h>
33 namespace regression {
77 double chisq(
void)
const;
104 gsl_multifit_linear_workspace* work_;
double standard_error2(const utility::VectorBase &x) const
void fit(const utility::Matrix &X, const utility::VectorBase &y)
Function fitting parameters of the linear model by miminizing the quadratic deviation between model a...
const utility::Vector & fit_parameters(void) const
double prediction_error2(const utility::VectorBase &x) const
~MultiDimensional(void)
Destructor.
double chisq(void) const
Summed Squared Error.
double predict(const utility::VectorBase &x) const
MultiDimesional fitting.
Definition: MultiDimensional.h:38
This is the yat interface to GSL vector.
Definition: Vector.h:57
MultiDimensional(void)
Default Constructor.
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
const utility::Matrix & covariance(void) const
covariance of parameters
Interface to GSL matrix.
Definition: Matrix.h:63