getNMI(A,B)

Compute Normalized Mutual Information (NMI)
517.0 次下载
更新时间 2017/5/16

查看许可证

call:

NMI = getNMI(A,B)

This function computes the Normalized Mutual Information (NMI) between
2 modular partitions or community structures given in vectors A and B.
NMI is a measure of the similarity between the two graph partitions, and
its interpretation follows that of canonical Mutual Information, i.e.
assuming that I have complete knowledge of partition A, how much knowledge
can I get, from A, about partition B? If A and B are identical, then
NMI = 1, whereas if A and B are independent, NMI --> 0.

INPUT

A : Community partition of graph A *
B : Community partition of graph B *

* A and B are N-length vectors, where each i-th element is the integer
labeling the k-th community to which node i-th was assigned.


OUTPUT

NMI : Normalized Mutual Information



References:
[1] Kuncheva & Hadjitodorov, 2004, IEEE Intern. Conf. on Syst. Man and Cybern.
[2] Alexander-Bloch et al., 2012, NeuroImage

引用格式

Ruggero G. Bettinardi (2024). getNMI(A,B) (https://www.mathworks.com/matlabcentral/fileexchange/62974-getnmi-a-b), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Electromechanical 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0