Ignore:
Timestamp:
11/17/15 20:42:08 (9 years ago)
Author:
atrautsch
Message:

metric matching hinzu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/RelaxedCrossProjectExperiment.java

    r41 r44  
    3131import de.ugoe.cs.cpdp.eval.IEvaluationStrategy; 
    3232import de.ugoe.cs.cpdp.loader.IVersionLoader; 
     33import de.ugoe.cs.cpdp.training.ISetWiseTestdataAwareTrainingStrategy; 
    3334import de.ugoe.cs.cpdp.training.ISetWiseTrainingStrategy; 
    3435import de.ugoe.cs.cpdp.training.ITrainer; 
     
    173174                    setwiseTrainer.apply(traindataSet); 
    174175                } 
     176                for (ISetWiseTestdataAwareTrainingStrategy setwiseTestdataAwareTrainer : config.getSetWiseTestdataAwareTrainers()) { 
     177                    Console.traceln(Level.FINE, String 
     178                        .format("[%s] [%02d/%02d] %s: applying testdata aware setwise trainer %s", 
     179                                config.getExperimentName(), versionCount, testVersionCount, 
     180                                testVersion.getVersion(), setwiseTestdataAwareTrainer.getName())); 
     181                    setwiseTestdataAwareTrainer.apply(traindataSet, testdata); 
     182                } 
    175183                Instances traindata = makeSingleTrainingSet(traindataSet); 
    176184                for (IProcessesingStrategy processor : config.getPreProcessors()) { 
Note: See TracChangeset for help on using the changeset viewer.