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