Ignore:
Timestamp:
Dec 24, 2009, 4:08:18 AM (13 years ago)
Author:
Peter
Message:

fixes #567

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.5-stable/yat/classifier/EnsembleBuilder.h

    r2132 r2133  
    231231    // weighted case
    232232    if (kernel.weighted()){
    233       assert(false);
    234233      // no feature selection
    235234      if (kernel.data_weighted().rows()==subset_->training_features(k).size())
     
    246245   
    247246    // feature selection
    248     return subset_->training_data(k).test_kernel(test_data(kernel.data(),k));
     247    MatrixLookup ml = test_data(kernel.data(),k);
     248    return subset_->training_data(k).test_kernel(ml);
    249249  }
    250250 
Note: See TracChangeset for help on using the changeset viewer.