Normalized Mutual Information

Version (734 Bytes) by Mo Chen
Fully vectorized implementation NMI. NMI is often used for evaluating clustering results.


Updated 7 Mar 2016

View License

Normalized mutual information is often used for evaluating clustering results, information retrieval, feature selection etc. This is a optimized implementation of the function which has no for loops.
This function is now a part of the PRML toolbox (

Cite As

Mo Chen (2023). Normalized Mutual Information (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!


Version Published Release Notes

minor tweak