Image for Dunn index

Dunn index

The Dunn Index is a way to measure how good a clustering of data is. It looks at how separate different groups are from each other and how tightly packed the data points are within each group. A higher Dunn Index indicates that the groups are well-defined—meaning they are distinct and internally consistent. Conversely, a low value suggests that clusters may overlap or be poorly formed. This helps determine the quality of your clustering, guiding you to choose better algorithms or parameters for organizing data into meaningful groups.