powered by
Compute the normalized mutual information of two discrete samples
NMI(cl1, cl2)
the normalized mutual information between the two discrete samples
vector of discrete labels
cl1 <- sample(2, 500, replace = TRUE) cl2 <- sample(2, 500, replace = TRUE) NMI(cl1, cl2)
Run the code above in your browser using DataLab