larsenAone {partitionComparison} | R Documentation |
Larsen & Aone Measure
Description
Compute the measure of Larsen and Aone
\frac{1}{|\cal{P}|}
\sum_{C \in \cal{P}}{\max_{D \in \cal{Q}}{\frac{2|C \cap D|}{|C| + |D|}}}
Usage
larsenAone(p, q)
## S4 method for signature 'Partition,Partition'
larsenAone(p, q)
Arguments
p |
The partition |
q |
The partition |
Methods (by class)
-
larsenAone(p = Partition, q = Partition)
: Compute given two partitions
Author(s)
Fabian Ball fabian.ball@kit.edu
References
Larsen B, Aone C (1999). “Fast and Effective Text Mining Using Linear-Time Document Clustering.” In Proceedings of the Fifth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD '99, 16–22. ISBN 1-58113-143-7, doi:10.1145/312129.312186.
Examples
isTRUE(all.equal(larsenAone(new("Partition", c(0, 0, 0, 1, 1)),
new("Partition", c(0, 0, 1, 1, 1))), 0.8))
[Package partitionComparison version 0.2.6 Index]