Used to calculate cluster purity from a confusion matrix, for each class (i.e. each row and column of the confusion matrix).
A confusion matrix from
Metrics per class are useful when you are comparing two classifications with different numbers of classes, when an overall measure might not be useful or sensible. Purity as defined in Manning (2008).
A data frame with two columns, the first corresponding to the confusion matrix rows, the second corresponding to the confusion matrix columns.
Manning, C. D., Raghavan, P., & Schütze, H. (2008) Introduction to information retrieval (Vol. 1, No. 1). Cambridge: Cambridge university press.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.