getDiceCoeff(A,B)

Compute Dice Coefficient
197 Downloads
Aktualisiert 16. Mai 2017

Lizenz anzeigen

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

Zitieren als

Ruggero G. Bettinardi (2026). getDiceCoeff(A,B) (https://de.mathworks.com/matlabcentral/fileexchange/62973-getdicecoeff-a-b), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2009a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Test and Measurement finden Sie in Help Center und MATLAB Answers
Communitys
Mehrere Dateien sind in der  Power Electronics Control Community erhältlich
Version Veröffentlicht Versionshinweise
1.0.0.0