if(true) {
ce = new ClassificationEvaluator();
DecisionList dl = new DecisionList(bagEvents);
for(int i=0;i<testBagEvents.size();i++) {
BagEvent be = testBagEvents.get(i);
String result = dl.testBag(be.getFeatures());
ce.logEvent(be.getClassLabel(), result);
}
System.out.println(ce.getAccuracy());
System.out.println(ce.getKappa());
ce.pprintConfusionMatrix();