View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Dunn's index

4.5 | 2 ratings Rate this file 32 Downloads (last 30 days) File Size: 1.76 KB File ID: #27859 Version: 1.1

Dunn's index



09 Jun 2010 (Updated )

This is an implementation of the Dunn's index for clustering.

| Watch this File

File Information

The Dunn's index measures compactness (Maximum distance in between data points of clusters) and clusters separation (minimum distance between clusters). This measurement serves as a measure to find the right number of clusters in a data set, where the maximum value of the index represents the right partitioning given the index (partition with the highest separation between clusters and less spread data in between clusters).

For more information about the Dunn's index check:

Validity index for crisp and fuzzy clusters, Malay K. Pakhira, Pattern Recognition Volume 37, Issue 3, March 2004, Pages 487-501


This file inspired Modified & Generalized Dunn's Index.

MATLAB release MATLAB 7.11 (R2010b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (7)
27 Jan 2016 Amit

Amit (view profile)

No spectralClust function in the FIles???

Comment only
24 Feb 2013 pdp rpa

hello this code is working fine on 100*50 dimensional images but not above that. I want to work on high resolution images too. Please help me soon. Thanks in advance

Comment only
04 Jan 2013 Jalil Kianfar

Thanks for the very helpful function. The dunns.m function works fine but the spectralClust function in the demo file is not supported anymore in Matalb R2011b.

19 Jul 2012 Julian Ramos

Hi all, It seems the server would not allow me to update the file so instead I have just upload it again, notice the new version only difference is that I'm including a demo that shows how to use the Index.

Comment only
14 Feb 2012 Amishi

Amishi (view profile)

Hi can i know how have u represented the dissimilarity matrix, when i use mine i get error as index exceeds dimension

Comment only
04 Sep 2011 Mehdi Hassan

I have also tried to run this code but unable to run it.
If it is possible for you to write a simple example so that we can understand it well.
Thanks in advance.

Comment only
24 Mar 2011 Jakub Bialek

Hmmm returns empty value for my data...Wonder why...

23 Jul 2012 1.1

Added a demo that shows how to use the dunn's index

Contact us