Code covered by the BSD License
15 Oct 2010
Fully vectorized implementation normalized mutual information
Watch this File
Normalized mutual information is often used for evaluating clustering result, information retrieval, feature selection etc. This is a optimized implementation of the function which has no for loops.
This file inspired Information Theory Toolbox.
It doesn't work for large matrix as it rans out of memory in line 16 and 17.
grateful if more comments provided
Good job, I used your function to validate mine :). Sometime in research you cannot trust even yourself.
Can you give a detailed docomented .m file so that we can have a easy understanding of NMI.
I agree, an example... and a little description of the inputs would be strongly appreciated! Thank you!
Could you provide some examples of running your code to prove it is correct?