}
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);
for (int j=0; j < marks; j++)
out.print("*");
out.println();
}
out.println("nTrue:" + numTrueValues + " nCorr:" + numCorrValues + " nPred:" + numPredValues + "\n");
out.println("recall\taccuracy:\n" + evaluator.accuracyRecallValuesToString(numTrueValues));
}