Package cc.mallet.fst.confidence

Examples of cc.mallet.fst.confidence.ConfidenceEvaluator.correlation()


     
    }
   
    ConfidenceEvaluator evaluator = new ConfidenceEvaluator(entityConfidences, this.numberBins);
    out.println("correlation: " + evaluator.correlation());
    out.println("avg precision: " + evaluator.getAveragePrecision());
    out.println("coverage\taccuracy:\n" + evaluator.accuracyCoverageValuesToString());   
    double[] ac = evaluator.getAccuracyCoverageValues();
    for (int i=0; i < ac.length; i++) {
      int marks = (int)(ac[i]*25.0);
 
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.