Ignore:
Timestamp:
Feb 26, 2008, 9:48:22 PM (13 years ago)
Author:
Peter
Message:

fixes #342

File:
1 edited

Legend:

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

    r1167 r1168  
    209209        // training data with no feature selection
    210210        const MatrixLookup* train_data_all_feat =
    211           ml.training_data(training_index(k));
     211          new MatrixLookup(ml, training_index(k), false);
    212212        // use these data to create feature selection
    213213        utility::yat_assert<std::runtime_error>(train_data_all_feat);
     
    241241        // training data with no feature selection
    242242        const MatrixLookupWeighted* train_data_all_feat =
    243           ml.training_data(training_index(k));
     243          new MatrixLookupWeighted(ml, training_index(k), false);
    244244        // use these data to create feature selection
    245245        f_selector_->update(*train_data_all_feat, training_target(k));
Note: See TracChangeset for help on using the changeset viewer.