NMI | R Documentation |
Compute the normalized mutual information of two discrete samples
NMI(cl1, cl2)
cl1 |
vector of discrete labels |
cl2 |
vector of discrete labels |
the normalized mutual information between the two discrete samples
cl1 <- sample(2, 500, replace = TRUE) cl2 <- sample(2, 500, replace = TRUE) NMI(cl1, cl2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.