getJaccard(A,B)

Compute Jaccard index
ダウンロード: 308
更新 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 Center および MATLAB AnswersQPSK についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0