Examples of pprintConfusionMatrix()


Examples of uk.ac.cam.ch.wwmm.ptclib.misc.ClassificationEvaluator.pprintConfusionMatrix()

          System.out.println(bagsToSentences.get(be.getFeatures()));
        }
      }
      System.out.println(ce.getAccuracy());
      System.out.println(ce.getKappa());     
      ce.pprintConfusionMatrix();
      ce.pprintPrecisionRecallEval();
    }

    if(false) {
      ce = new ClassificationEvaluator();
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.misc.ClassificationEvaluator.pprintConfusionMatrix()

        //System.out.println(event.getOutcome() + "\t" + result + "\t" + results[gm.getIndex(event.getOutcome())] + "\t" + StringTools.arrayToList(event.getContext()));
        ce.logEvent(event.getOutcome(), result);
      }
      System.out.println(ce.getAccuracy());
      System.out.println(ce.getKappa());     
      ce.pprintConfusionMatrix();
      ce.pprintPrecisionRecallEval();     
    }
   
    if(false) {
     
View Full Code Here

Examples of uk.ac.cam.ch.wwmm.ptclib.misc.ClassificationEvaluator.pprintConfusionMatrix()

      System.out.println(event.getOutcome() + "\t" + result + "\t" + results[gm.getIndex(event.getOutcome())] + "\t" + StringTools.arrayToList(event.getContext()));
      ce.logEvent(event.getOutcome(), result);
    }
    System.out.println(ce.getAccuracy());
    System.out.println(ce.getKappa());
    ce.pprintConfusionMatrix();
    ce.pprintPrecisionRecallEval();

   
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.