Skip to content
Home » Glossary » Performance Metrics: Jaccard Index

Performance Metrics: Jaccard Index

  • by

What is the Jaccard Index?

The Jaccard Index (JI) is a performance metric that also has many other applications in a variety of fields and domains. That’s why it has a lot of names:

 

jaccard index - intersection over union

The Jaccard Index can be calculated as follows:

JI = \frac{TP}{(TP + FN + FP)}

 

In general, the JI is a proper tool for assessing the similarity and diversity of data sets. Within the context of evaluating a classifier, the JI can be interpreted as a measure of overlap between the ground truth and estimated classes, with a focus on true positives and ignoring true negatives.

The Jaccard Index is linearly related to the F-Measure:

JI = \frac{F_1}{(2 - F_1)}

 

Consequently, the JI suffers from the same criticism as the F-Measure: It exclusively focuses on the positive class and ignores the true negatives (TN). That’s why it is not the best performance metric in situations of class imbalance.

Further reading: