Changeset 44 for trunk/CrossPare/src/de/ugoe/cs/cpdp/execution
- Timestamp:
- 11/17/15 20:42:08 (9 years ago)
- Location:
- trunk/CrossPare/src/de/ugoe/cs/cpdp/execution
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/CrossProjectExperiment.java
r41 r44 31 31 import de.ugoe.cs.cpdp.eval.IEvaluationStrategy; 32 32 import de.ugoe.cs.cpdp.loader.IVersionLoader; 33 import de.ugoe.cs.cpdp.training.ISetWiseTestdataAwareTrainingStrategy; 33 34 import de.ugoe.cs.cpdp.training.ISetWiseTrainingStrategy; 34 35 import de.ugoe.cs.cpdp.training.ITrainer; … … 168 169 setwiseTrainer.apply(traindataSet); 169 170 } 171 for (ISetWiseTestdataAwareTrainingStrategy setwiseTestdataAwareTrainer : config.getSetWiseTestdataAwareTrainers()) { 172 Console.traceln(Level.FINE, String 173 .format("[%s] [%02d/%02d] %s: applying testdata aware setwise trainer %s", 174 config.getExperimentName(), versionCount, testVersionCount, 175 testVersion.getVersion(), setwiseTestdataAwareTrainer.getName())); 176 setwiseTestdataAwareTrainer.apply(traindataSet, testdata); 177 } 170 178 Instances traindata = makeSingleTrainingSet(traindataSet); 171 179 for (IProcessesingStrategy processor : config.getPreProcessors()) { … … 210 218 for (ISetWiseTrainingStrategy setwiseTrainer : config.getSetWiseTrainers()) { 211 219 allTrainers.add(setwiseTrainer); 220 } 221 for (ISetWiseTestdataAwareTrainingStrategy setwiseTestdataAwareTrainer : config.getSetWiseTestdataAwareTrainers()) { 222 allTrainers.add(setwiseTestdataAwareTrainer); 212 223 } 213 224 for (ITrainingStrategy trainer : config.getTrainers()) { -
trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/RelaxedCrossProjectExperiment.java
r41 r44 31 31 import de.ugoe.cs.cpdp.eval.IEvaluationStrategy; 32 32 import de.ugoe.cs.cpdp.loader.IVersionLoader; 33 import de.ugoe.cs.cpdp.training.ISetWiseTestdataAwareTrainingStrategy; 33 34 import de.ugoe.cs.cpdp.training.ISetWiseTrainingStrategy; 34 35 import de.ugoe.cs.cpdp.training.ITrainer; … … 173 174 setwiseTrainer.apply(traindataSet); 174 175 } 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 } 175 183 Instances traindata = makeSingleTrainingSet(traindataSet); 176 184 for (IProcessesingStrategy processor : config.getPreProcessors()) {
Note: See TracChangeset
for help on using the changeset viewer.