Description Usage Arguments Source Examples
NMI is a normalization of the Mutual Information (MI) score to scale the results between 0 (no mutual information) and 1 (perfect correlation). Can also be used to assess agreement between two clusterings.
1 | nmi(y, yhat)
|
y |
actual class labels or predicted cluster labels to compare against |
yhat |
predicted cluster labels (not necessarily the same absolute values; labels may be permuted) |
Cover, T. M. & Thomas, J. A. (1991) Elements of Information Theory. New York, NY: John Wiley & Sons.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.