Package elki.evaluation.clustering
Class BCubed
- java.lang.Object
-
- elki.evaluation.clustering.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 cacheprotected double
bCubedRecall
Result cache
-
Constructor Summary
Constructors Modifier Constructor Description protected
BCubed(ClusterContingencyTable table)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
f1Measure()
Get the BCubed F1-Measuredouble
precision()
Get the BCubed Precision (first clustering) (normalized, 0 = unequal)double
recall()
Get the BCubed Recall (first clustering) (normalized, 0 = unequal)
-
-
-
Constructor Detail
-
BCubed
protected BCubed(ClusterContingencyTable table)
Constructor.- Parameters:
table
- Contingency table
-
-
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
-
-