AI engineering glossary · Evaluation metrics

What is dunn index?

Dunn index: An internal clustering measure equal to the smallest distance between points in different clusters divided by the largest distance across points within a single cluster. Higher values indicate compact, well-separated clusters. It is sensitive to outliers because it depends on extreme distances.

Level: advancedTopic: Evaluation metrics

Dunn index: an example

If clusters are at least 6 units apart but the widest cluster spans 3 units, the Dunn index is 6 / 3 = 2.

Related terms

More Evaluation metrics terms

Where you learn it

Dunn index is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.