Changeset 237


Ignore:
Timestamp:
Feb 21, 2005, 5:41:14 PM (17 years ago)
Author:
Peter
Message:

fixed bug in fitting function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/RegressionLocal.cc

    r235 r237  
    2828    int min_index = 0;
    2929    for (size_t i=0; i<data_.size(); i+=step_size) {
    30       x_.push_back(data_[i].first);
    31      
    32       // determining boundaries window/kernel
     30      // determining boundaries for window/kernel
    3331     
    3432      // extreme left case
     
    7472      // fitting the regressor locally
    7573      regressor_->fit(x,y,w);
     74      x_.push_back(data_[i].first);
     75      y_.push_back(0.0);
     76      y_err_.push_back(0.0);
    7677      regressor_->predict(x_[i], y_[i], y_err_[i]);
    7778    }
Note: See TracChangeset for help on using the changeset viewer.