MCDMModel EvaluationClustering ValidationMath steps

Dunn Index

Also known as: Dunn's index, separation coefficient

OriginatorJoseph C. DunnYear1974Sources1Related methods9

The Dunn Index, introduced by Joseph C. Dunn in 1974, is a metric that captures cluster quality by measuring the ratio of the minimum between-cluster distance to the maximum within-cluster diameter. Higher values indicate well-separated and compact clusters, with better clustering quality.

Key highlights

  • Intuitive interpretation: higher values always indicate better clustering
  • Directly measures both compactness (small diameter) and separation (large minimum distance)
  • Works with any distance metric and clustering algorithm
  • No external labels required; purely unsupervised evaluation

Intuition

This section is available to Pro members. Upgrade to Pro

How it works

This section is available to Pro members. Upgrade to Pro

When to use it

Use the Dunn Index when you need a metric that directly measures cluster compactness and separation. It is useful for selecting the optimal number of clusters and for comparing clustering results from different algorithms. However, computing all pairwise distances makes it computationally expensive for large datasets. It also assumes that compact, well-separated clusters are desirable, which may not hold for all data distributions.

Strengths & limitations

Strengths
  • Intuitive interpretation: higher values always indicate better clustering
  • Directly measures both compactness (small diameter) and separation (large minimum distance)
  • Works with any distance metric and clustering algorithm
  • No external labels required; purely unsupervised evaluation
Limitations
  • Computationally expensive; requires computing all pairwise distances and cluster diameters
  • Biased toward compact, well-separated clusters; performs poorly on non-convex or density-varying clusters
  • Sensitive to outliers; a single outlier can increase cluster diameter significantly
  • Can be misleading when clusters have very different sizes or densities

Common pitfalls

This section is available to Pro members. Upgrade to Pro

Applications

This section is available to Pro members. Upgrade to Pro

Frequently asked

What is a good Dunn Index value?

Higher is better; there is no universal threshold, but values greater than 1.0 generally indicate well-separated clusters. Interpretation should be relative: compare Dunn Index values across different numbers of clusters or different algorithms to select the best solution.

Why is the Dunn Index computationally expensive?

The Dunn Index requires computing the distance between all pairs of points to determine the minimum between-cluster distance and maximum within-cluster diameter. For n points, this requires O(n^2) distance calculations, which becomes prohibitive for large datasets.

How sensitive is the Dunn Index to outliers?

Highly sensitive. A single outlier can significantly increase a cluster's diameter, reducing the Dunn Index. Preprocess data to handle outliers before computing the index, or use robust variants that limit the effect of extreme values.

Can I use the Dunn Index to select the optimal number of clusters?

Yes; compute the Dunn Index for different numbers of clusters and select the k that maximizes the index. However, due to computational expense, this approach is practical only for small to medium datasets.

Sources

  1. 1.
    Dunn, J. C. (1974). Well-separated clusters and optimal fuzzy partitions. Journal of Cybernetics, 4(1), 95-104.

You have read it. What now?

Cite this page

ScholarGate. (2026, June 3). Dunn Index. ScholarGate. https://scholargate.app/model-evaluation/dunn-index