Description Usage Arguments Value Author(s) References Examples
Given the true cluster classification of the samples based on some pre-determined criterion and an estimated cluster membership determined using a clustering algorithm, this function calculates the misclassification error of the algorithm. This measure of dissimilarity between two clustering methods is equivalent to one minus the Rand Index.
1 | MCError(True, Est)
|
True |
A N \times 1 vector consisting integer values ranging between 1 and M, where N is the number of samples and M is the number of clusters in the true cluster membership . |
Est |
A vector whose length is the same as True, whose values range between 1 and K, where K is the estimated number of clusters. |
A numeric between 0 and 1. If the vectors are of unequal lengths, the function returns NA.
Deepak Nag Ayyala <deepaknagayyala@gmail.com>
L. Hubert and P. Arabie (1985) Comparing Partitions, Journal of the Classification 2:193-218.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.