Changeset 1021 for trunk/yat/regression/MultiDimensional.h
 Timestamp:
 Feb 1, 2008, 6:58:38 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/regression/MultiDimensional.h
r1000 r1021 26 26 27 27 #include "yat/utility/matrix.h" 28 #include "yat/utility/ vector.h"28 #include "yat/utility/VectorBase.h" 29 29 30 30 #include <gsl/gsl_multifit.h> … … 64 64 dimension errors). 65 65 */ 66 void fit(const utility::matrix& X, const utility:: vector& y);66 void fit(const utility::matrix& X, const utility::VectorBase& y); 67 67 68 68 /// … … 79 79 /// @return value in @a x according to fitted model 80 80 /// 81 double predict(const utility:: vector& x) const;81 double predict(const utility::VectorBase& x) const; 82 82 83 83 /// … … 85 85 /// in @a x 86 86 /// 87 double prediction_error2(const utility:: vector& x) const;87 double prediction_error2(const utility::VectorBase& x) const; 88 88 89 89 /// 90 90 /// @return squared error of model value in @a x 91 91 /// 92 double standard_error2(const utility:: vector& x) const;92 double standard_error2(const utility::VectorBase& x) const; 93 93 94 94 private:
Note: See TracChangeset
for help on using the changeset viewer.