Ignore:
Timestamp:
Feb 26, 2008, 2:25:19 PM (14 years ago)
Author:
Markus Ringnér
Message:

Refs #318

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/classifier/EnsembleBuilder.h

    r1125 r1157  
    153153  {
    154154    for(u_long i=0; i<subset_->size();++i) {
    155       C* classifier = mother_.make_classifier(subset_->training_data(i),
    156                                               subset_->training_target(i));
    157       classifier->train();
     155      C* classifier = mother_.make_classifier();
     156      classifier->train(subset_->training_data(i),
     157                        subset_->training_target(i));
    158158      classifier_.push_back(classifier);
    159159    }   
Note: See TracChangeset for help on using the changeset viewer.