Changeset 1022 for trunk/yat/regression/MultiDimensionalWeighted.h
 Timestamp:
 Feb 1, 2008, 7:01:47 PM (14 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/regression/MultiDimensionalWeighted.h
r1000 r1022 63 63 dimension errors). 64 64 */ 65 void fit(const utility::matrix& X, const utility:: vector& y,66 const utility:: vector& w);65 void fit(const utility::matrix& X, const utility::VectorBase& y, 66 const utility::VectorBase& w); 67 67 68 68 /// 69 69 /// @return value in @a x according to fitted model 70 70 /// 71 double predict(const utility:: vector& x) const;71 double predict(const utility::VectorBase& x) const; 72 72 73 73 /// … … 75 75 /// in @a x 76 76 /// 77 double prediction_error2(const utility:: vector& x, const double w=1) const;77 double prediction_error2(const utility::VectorBase& x, const double w=1) const; 78 78 79 79 /// 80 80 /// @return error of model value in @a x 81 81 /// 82 double standard_error2(const utility:: vector& x) const;82 double standard_error2(const utility::VectorBase& x) const; 83 83 84 84 ///
Note: See TracChangeset
for help on using the changeset viewer.