Ignore:
Timestamp:
Feb 23, 2008, 11:52:43 PM (14 years ago)
Author:
Peter
Message:

using Index class instead of std::vector<size_t>

File:
1 edited

Legend:

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

    r1000 r1134  
    2727
    2828#include <cassert>
    29 
    30 //#include <algorithm>
    31 //#include <utility>
    32 //#include <vector>
    3329
    3430namespace theplu {
     
    7571          }
    7672      }
    77       training_index_.push_back(training_index);
    78       training_target_.push_back(Target(target,training_index));
    79       validation_index_.push_back(validation_index);
    80       validation_target_.push_back(Target(target,validation_index));
     73      training_index_.push_back(utility::Index(training_index));
     74      training_target_.push_back(Target(target,utility::Index(training_index)));
     75      validation_index_.push_back(utility::Index(validation_index));
     76      validation_target_.push_back(Target(target,
     77                                          utility::Index(validation_index)));
    8178    }
    8279
Note: See TracChangeset for help on using the changeset viewer.