getDiceCoeff(A,B)

Compute Dice Coefficient
193 téléchargements
Mise à jour 16 mai 2017

Afficher la licence

call:

DC = getDiceCoeff(A,B)

Compute the Dice Coefficient, a measure of similarity between two binary (0,1) vector-sets A, B.
E.g. to compute the DC 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')
- Jaccard Index ('getJaccard.m')

INPUT

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

OUTPUT

DC : Dice Coefficient

Citation pour cette source

Ruggero G. Bettinardi (2024). getDiceCoeff(A,B) (https://www.mathworks.com/matlabcentral/fileexchange/62973-getdicecoeff-a-b), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Test and Measurement dans Help Center et MATLAB Answers
Communautés

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0