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

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/regression/MultiDimensionalWeighted.cc
r1009 r1022 52 52 53 53 void MultiDimensionalWeighted::fit(const utility::matrix& x, 54 const utility:: vector& y,55 const utility:: vector& w)54 const utility::VectorBase& y, 55 const utility::VectorBase& w) 56 56 { 57 57 assert(y.size()==w.size()); … … 86 86 87 87 88 double MultiDimensionalWeighted::predict(const utility:: vector& x) const88 double MultiDimensionalWeighted::predict(const utility::VectorBase& x) const 89 89 { 90 90 assert(x.size()==fit_parameters_.size()); … … 93 93 94 94 95 double MultiDimensionalWeighted::prediction_error2(const utility:: vector& x,95 double MultiDimensionalWeighted::prediction_error2(const utility::VectorBase& x, 96 96 const double w) const 97 97 { … … 107 107 108 108 double 109 MultiDimensionalWeighted::standard_error2(const utility:: vector& x) const109 MultiDimensionalWeighted::standard_error2(const utility::VectorBase& x) const 110 110 { 111 111 double c = 0;
Note: See TracChangeset
for help on using the changeset viewer.