Changeset 729 for trunk/yat/regression/LinearWeighted.cc
 Timestamp:
 Jan 5, 2007, 5:00:15 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/yat/regression/LinearWeighted.cc
r724 r729 45 45 } 46 46 47 double LinearWeighted::alpha_ err(void) const47 double LinearWeighted::alpha_var(void) const 48 48 { 49 49 return sqrt(alpha_var_); … … 55 55 } 56 56 57 double LinearWeighted::beta_ err(void) const57 double LinearWeighted::beta_var(void) const 58 58 { 59 59 return sqrt(beta_var_); … … 92 92 } 93 93 94 double LinearWeighted::mse(void) const 95 { 96 return mse_; 97 } 98 99 double LinearWeighted::prediction_error(const double x, const double w) const 94 double LinearWeighted::prediction_error2(const double x, const double w) const 100 95 { 101 96 return sqrt(alpha_var_ + beta_var_*(xm_x_)*(xm_x_)+s2(w)); … … 107 102 } 108 103 109 double LinearWeighted::standard_error (const double x) const104 double LinearWeighted::standard_error2(const double x) const 110 105 { 111 106 return sqrt(alpha_var_ + beta_var_*(xm_x_)*(xm_x_) );
Note: See TracChangeset
for help on using the changeset viewer.