Ignore:
Timestamp:
05/25/16 08:52:31 (9 years ago)
Author:
sherbold
Message:
  • VCBSVm implementation now more robust in case projects are very dissimilar
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/wekaclassifier/VCBSVM.java

    r86 r105  
    334334     */ 
    335335    private Instances weightedResample(final Instances data, final int size) { 
     336        if( data.isEmpty() ) { 
     337            return data; 
     338        } 
    336339        final Instances resampledData = new Instances(data); 
    337340        resampledData.clear(); 
Note: See TracChangeset for help on using the changeset viewer.