Missed our latest free live-stream? Catch up now on our Procedure Tips (Chris Nicholas) and Right Lower Quadrant Pain (Matt Morgan)

# Dice similarity coefficient

The Dice similarity coefficient, also known as the Sørensen–Dice index or simply Dice coefficient, is a statistical tool which measures the similarity between two sets of data. This index has become arguably the most broadly used tool in the validation of image segmentation algorithms created with AI, but it is a much more general concept which can be applied to sets of data for a variety of applications including NLP.

The equation for this concept is:
2 * |X ∩ Y| / (|X| + |Y|)

• where X and Y are two sets
• a set with vertical bars either side refers to the cardinality of the set, i.e. the number of elements in that set, e.g. |X| means the number of elements in set X
• ∩ is used to represent the intersection of two sets, and means the elements that are common to both sets

## Article information

rID: 75056
Synonyms or Alternate Spellings:
• Dice coefficients
• Dice coefficient
• Sorensen–Dice index
• Sørensen–Dice index