Ignore:
Timestamp:
Feb 22, 2007, 4:14:40 PM (15 years ago)
Author:
Peter
Message:

Fixes #65

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/Local.cc

    r759 r767  
    107107      utility::vector w(max_index-min_index+1);
    108108      for (size_t j=0; j<w.size(); j++)
    109         w(j) = kernel_->weight( (x_local(j)- x_mid)/width );
     109        w(j) = (*kernel_)( (x_local(j)- x_mid)/width );
    110110     
    111111      // fitting the regressor locally
Note: See TracChangeset for help on using the changeset viewer.