- Timestamp:
- 11/17/15 20:42:08 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/eval/AbstractWekaEvaluation.java
r41 r44 123 123 output.append(",tn_" + ((IWekaCompatibleTrainer) trainer).getName()); 124 124 output.append(",fp_" + ((IWekaCompatibleTrainer) trainer).getName()); 125 output.append(",trainerror_" + ((IWekaCompatibleTrainer) trainer).getName());126 output.append(",trainrecall_" + ((IWekaCompatibleTrainer) trainer).getName());127 output.append(",trainprecision_" + ((IWekaCompatibleTrainer) trainer).getName());128 output.append(",trainsuccHe_" + ((IWekaCompatibleTrainer) trainer).getName());125 //output.append(",trainerror_" + ((IWekaCompatibleTrainer) trainer).getName()); 126 //output.append(",trainrecall_" + ((IWekaCompatibleTrainer) trainer).getName()); 127 //output.append(",trainprecision_" + ((IWekaCompatibleTrainer) trainer).getName()); 128 //output.append(",trainsuccHe_" + ((IWekaCompatibleTrainer) trainer).getName()); 129 129 } 130 130 output.append(StringTools.ENDLINE); … … 136 136 137 137 Evaluation eval = null; 138 Evaluation evalTrain = null;138 //Evaluation evalTrain = null; 139 139 for (Classifier classifier : classifiers) { 140 140 eval = createEvaluator(testdata, classifier); 141 evalTrain = createEvaluator(traindata, classifier);141 //evalTrain = createEvaluator(traindata, classifier); 142 142 143 143 double pf = … … 195 195 output.append("," + eval.numTrueNegatives(1)); 196 196 output.append("," + eval.numFalsePositives(1)); 197 output.append("," + evalTrain.errorRate());197 /*output.append("," + evalTrain.errorRate()); 198 198 output.append("," + evalTrain.recall(1)); 199 199 output.append("," + evalTrain.precision(1)); … … 203 203 else { 204 204 output.append(",0"); 205 } 205 }*/ 206 206 } 207 207
Note: See TracChangeset
for help on using the changeset viewer.