Changeset 115


Ignore:
Timestamp:
06/01/16 11:05:07 (9 years ago)
Author:
sherbold
Message:
  • updated evaluation such that AUCEC also works with the MDP and AEEEM data
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/AbstractWekaEvaluation.java

    r86 r115  
    211211    private double calculateReviewEffort(Instances testdata, Classifier classifier) { 
    212212 
    213         final Attribute loc = testdata.attribute("loc"); 
     213        Attribute loc = testdata.attribute("loc"); 
    214214        if (loc == null) { 
     215            loc = testdata.attribute("LOC_EXECUTABLE"); 
     216        } 
     217        if (loc == null) { 
     218            loc = testdata.attribute("numberOfLinesOfCode"); 
     219        } 
     220        if( loc == null ) { 
    215221            return 0.0; 
    216222        } 
Note: See TracChangeset for help on using the changeset viewer.