Ignore:
Timestamp:
06/28/16 12:01:39 (8 years ago)
Author:
sherbold
Message:
  • rather intrusive and large change to correctly evaluate AUCEC in case metrics are modified. The effort is now stored directly with a software version and it is the duty of the loader to specify the review effort for each instance. This required changes to the execution strategiey, data loading, and evaluation process.
Location:
trunk/CrossPare/src/de/ugoe/cs/cpdp/execution
Files:
3 edited

Legend:

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

    r123 r132  
    178178                // Setup testdata and training data 
    179179                Instances testdata = testVersion.getInstances(); 
     180                List<Double> efforts = testVersion.getEfforts(); 
    180181                SetUniqueList<Instances> traindataSet = 
    181182                    SetUniqueList.setUniqueList(new LinkedList<Instances>()); 
     
    311312                            config.getExperimentName() + ".csv"); 
    312313                    } 
    313                     evaluator.apply(testdata, traindata, allTrainers, writeHeader, 
     314                    evaluator.apply(testdata, traindata, allTrainers, efforts, writeHeader, 
    314315                                    config.getResultStorages()); 
    315316                    writeHeader = false; 
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/ClassifierCreationExperiment.java

    r86 r132  
    101101            Instances testdata = testVersion.getInstances(); 
    102102            Instances traindata = new Instances(testdata); 
     103            List<Double> efforts = testVersion.getEfforts(); 
    103104 
    104105            // Give the dataset a new name 
     
    168169                        config.getExperimentName() + ".csv"); 
    169170                } 
    170                 evaluator.apply(testdata, traindata, allTrainers, writeHeader, config.getResultStorages()); 
     171                evaluator.apply(testdata, traindata, allTrainers, efforts, writeHeader, config.getResultStorages()); 
    171172                writeHeader = false; 
    172173            } 
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/execution/CrossValidationExperiment.java

    r122 r132  
    166166                // Setup testdata and training data 
    167167                Instances testdata = testVersion.getInstances(); 
     168                List<Double> efforts = testVersion.getEfforts(); 
    168169                 
    169170                for (ITrainingStrategy trainer : config.getTrainers()) { 
     
    205206                            config.getExperimentName() + ".csv"); 
    206207                    } 
    207                     evaluator.apply(testdata, testdata, allTrainers, writeHeader, 
     208                    evaluator.apply(testdata, testdata, allTrainers, efforts, writeHeader, 
    208209                                    config.getResultStorages()); 
    209210                    writeHeader = false; 
Note: See TracChangeset for help on using the changeset viewer.