Ignore:
Timestamp:
08/05/14 09:18:09 (10 years ago)
Author:
sherbold
Message:
  • modified NasaARFFLoader to be able to read the MDP version of the data set
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrossPare/src/de/ugoe/cs/cpdp/loader/NasaARFFLoader.java

    r2 r3  
    6565                attributeNameMap.put("Defective", "bug"); 
    6666                attributeNameMap.put("problems", "bug"); 
     67                attributeNameMap.put("label", "bug"); 
    6768                 
    6869                // build list with normalized attribute order 
     
    142143                } 
    143144                if( data.numAttributes()!=attributeOrder.size() ) { 
    144                         throw new RuntimeException("Invalid number of attributes"); 
     145                        throw new RuntimeException("Invalid number of attributes; filename: " + file.getName()); 
    145146                } 
    146147                 
Note: See TracChangeset for help on using the changeset viewer.