Catalogue of Tools & Metrics for Trustworthy AI

These tools and metrics are designed to help AI actors develop and use trustworthy AI systems and applications that respect human rights and are fair, transparent, explainable, robust, secure and safe.

The Dice score, also known as the Dice Similarity Coefficient, is a measure of the similarity between two sets of data, usually represented as binary arrays. In the context of image segmentation, for example, the Dice score can be used to evaluate the similarity between a predicted segmentation mask and the ground truth segmentation mask. The Dice score ranges from 0, indicating no overlap, to 1, indicating perfect overlap.

The Dice score is calculated as follows:

Dice score = 2 * (number of common elements) / (number of elements in set A + number of elements in set B)

In other words, the Dice score is equal to twice the size of the intersection divided by the sum of the sizes of the two sets. This means that the Dice score measures the proportion of overlap between the two sets, normalized by the size of the sets.

About the metric


Objective(s):





Risk management stage(s):

Modify this metric

catalogue Logos

Disclaimer: The tools and metrics featured herein are solely those of the originating authors and are not vetted or endorsed by the OECD or its member countries. The Organisation cannot be held responsible for possible issues resulting from the posting of links to third parties' tools and metrics on this catalogue. More on the methodology can be found at https://oecd.ai/catalogue/faq.