Ignore:
Timestamp:
Mar 19, 2010, 4:30:02 AM (12 years ago)
Author:
Peter
Message:

fixes #543

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/ConsensusInputRanker.cc

    r2119 r2223  
    7878    id_.resize(data.rows());
    7979    rank_.resize(data.rows());
    80     for (size_t i=0; i<sampler.size(); ++i){
    81       input_rankers_.push_back(InputRanker(MatrixLookupWeighted(data,sampler.training_index(i), false),
     80    for (size_t i=0; i<sampler.size(); ++i) {
     81      MatrixLookupWeighted mlw(data, utility::Index(data.rows()),
     82                               sampler.training_index(i));
     83      input_rankers_.push_back(InputRanker(mlw,
    8284                                           sampler.training_target(i),
    8385                                           score));       
Note: See TracChangeset for help on using the changeset viewer.