Class EvalUtils
- java.lang.Object
-
- edu.stanford.nlp.coref.statistical.EvalUtils
-
public class EvalUtils extends Object
Utility classes for computing the B^3 and MUC coreference metrics- Author:
- Kevin Clark
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvalUtils.AbstractEvaluatorstatic classEvalUtils.B3Evaluatorstatic classEvalUtils.CombinedEvaluatorstatic interfaceEvalUtils.Evaluatorstatic classEvalUtils.MUCEvaluator
-
Constructor Summary
Constructors Constructor Description EvalUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static doublef1(double pNum, double pDen, double rNum, double rDen)static doublegetCombinedF1(double mucWeight, List<List<Integer>> gold, List<Clusterer.Cluster> clusters, Map<Integer,List<Integer>> mentionToGold, Map<Integer,Clusterer.Cluster> mentionToSystem)
-
-
-
Method Detail
-
getCombinedF1
public static double getCombinedF1(double mucWeight, List<List<Integer>> gold, List<Clusterer.Cluster> clusters, Map<Integer,List<Integer>> mentionToGold, Map<Integer,Clusterer.Cluster> mentionToSystem)
-
f1
public static double f1(double pNum, double pDen, double rNum, double rDen)
-
-