getJaccard(A,B)

Compute Jaccard index
308.0 次下载
更新时间 2017/5/16

查看许可证

call:

J = getJaccard(A,B)

Compute the Jaccard Index, a measure of similarity between two binary (0,1) vector-sets A, B.
E.g. to compute the Jaccard Index between two network community partitions, first assign each
link to the corresponding community (e.g. using 'getCommunityMatrix.m'), then binarize the cor-
responding matrix, extract the sub-diagonal elements in form of a vector. These vectors are the
required inputs, A and B.

Between others, alternative measures of similarity between sets are:

- Normalized Mutual Information ('getNMI.m')
- Dice Coefficient ('getDiceCoeff.m')

INPUT

A : Binary vector of set A
B : Binary vector of set B

OUTPUT

J : Jaccard Index

引用格式

Ruggero G. Bettinardi (2024). getJaccard(A,B) (https://www.mathworks.com/matlabcentral/fileexchange/62975-getjaccard-a-b), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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