Ignore:
Timestamp:
Feb 21, 2006, 5:35:34 PM (16 years ago)
Author:
Peter
Message:

fixed bug in DataLookup2D and created test for EnsembleBuilder?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/CrossSplitter.cc

    r514 r517  
    2020  {
    2121    assert(target.size()>1);
     22    assert(target.size()==data.columns());
    2223    std::vector<std::pair<size_t,size_t> > v;
    2324    for (size_t i=0; i<target.size(); i++)
     
    3839
    3940    for (size_t i=0; i<N; ) {
    40 
    4141      // shuffle indices within class each class
    4242      for (size_t j=0; j<target.nof_classes(); j++)
Note: See TracChangeset for help on using the changeset viewer.