Calculates the agreement between two partitions, typically the known actual cluster labels and the predicted cluster labels.
Arguments
- predicted
a vector with predicted cluster labels.
- actual
the known cluster labels (ground truth).
- method
the used method (see
clue::cl_agreement()).- na_as_cluster
logical; should
NAlabels (noise points) be considered its own cluster?
Details
This convenience function is an interface to clue::cl_agreement(). See methods in that man page
for a list of available methods. A measure typically used for clustering is the corrected Rand index
(also called adjusted Rand index). Numbers close to 1 indicate a very good agreement.
References
Hornik K (2005). A CLUE for CLUster Ensembles. Journal of Statistical Software, 14(12). doi:10.18637/jss.v014.i12