powered by
calculate the normalized mutual information of two vectors x and y.
Cal_NMI(x, y)
A vector
A vector as long as x
A number between 0 and 1 indicating the normalized mutual information
# NOT RUN { x <- c(0.1,0.2,0.3,0.4) y <- c(0.1,0.2,0.3,0.4) NMI <- Cal_NMI(x,y) # }
Run the code above in your browser using DataLab