Class BCubed


  • @Reference(authors="A. Bagga, B. Baldwin",title="Entity-based cross-document coreferencing using the Vector Space Model",booktitle="Proc. 17th Int. Conf. on Computational Linguistics (COLING \'98)",url="https://doi.org/10.3115/980451.980859",bibkey="doi:10.3115/980451.980859") @Reference(authors="E. Amig\u00f3, J. Gonzalo, J. Artiles, F. Verdejo",title="A comparison of extrinsic clustering evaluation metrics based on formal constraints",booktitle="Information Retrieval 12(4)",url="https://doi.org/10.1007/s10791-008-9066-8",bibkey="DBLP:journals/ir/AmigoGAV09")
    public class BCubed
    extends java.lang.Object
    BCubed measures for cluster evaluation.

    Reference:

    A. Bagga, B. Baldwin
    Entity-based cross-document coreferencing using the Vector Space Model
    Proc. 17th Int. Conf. on Computational Linguistics (COLING '98)

    E. Amigó, J. Gonzalo, J. Artiles, F. Verdejo
    A comparison of extrinsic clustering evaluation metrics based on formal constraints
    Information Retrieval 12(4)

    Since:
    0.5.0
    Author:
    Sascha Goldhofer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected double bCubedPrecision
      Result cache
      protected double bCubedRecall
      Result cache
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double f1Measure()
      Get the BCubed F1-Measure
      double precision()
      Get the BCubed Precision (first clustering) (normalized, 0 = unequal)
      double recall()
      Get the BCubed Recall (first clustering) (normalized, 0 = unequal)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • bCubedPrecision

        protected double bCubedPrecision
        Result cache
      • bCubedRecall

        protected double bCubedRecall
        Result cache
    • Constructor Detail

    • Method Detail

      • precision

        public double precision()
        Get the BCubed Precision (first clustering) (normalized, 0 = unequal)
        Returns:
        BCubed Precision
      • recall

        public double recall()
        Get the BCubed Recall (first clustering) (normalized, 0 = unequal)
        Returns:
        BCubed Recall
      • f1Measure

        public double f1Measure()
        Get the BCubed F1-Measure
        Returns:
        BCubed F1-Measure