Davies–Bouldin index

Davies–Bouldin index

The Davies–Bouldin index (DBI) (introduced by David L. Davies and Donald W. Bouldin) in 1979 is a metric for evaluating clustering algorithms[1]. This is an internal evaluation scheme, where the validation of how well the clustering has been done is made using quantities and features inherent to the dataset. This has a drawback that a good value reported by this method does not imply the best information retrieval.

Contents

Preliminaries

Let Ci be a cluster of vectors. Let Xj be a N dimensional feature vector assigned to cluster Ci.

 S_i = \frac{1}{T_i} \displaystyle\sum_{j=1}^{T_i}\left\|X_j-A_i\right\|_q

Here Ai is the centroid of Ci and Ti is the size of the cluster i. Si is a measure of scatter within the cluster. Usually the value of p is 2, which makes this a Euclidean distance function between the centroid of the cluster, and the individual feature vectors. Many other distance metrics can be used, in the case of manifolds and higher dimensional data, where the euclidean distance may not be the best measure for determining the clusters. It is important to note that this distance metric has to match with the metric used in the clustering scheme itself for meaningful results.

 M_{i,j} = \sqrt[p]{\displaystyle\sum_{k=1}^{N}\left|a_{k,i}-a_{k,j}\right|^p }
Mi,j is a measure of separation between cluster Ci and cluster Cj.
ak,i is the kth element of Ai, and there are N such elements in A for it is an N dimensional centroid.

Here k indexes the features of the data, and this is essentially the Euclidean distance between the centers of clusters i and j when p equals 2.

Definition

Let Ri,j be a measure of how good the clustering scheme is. This measure, by definition has to account for Mi,j the separation between the ith and the jth cluster, which ideally has to be as large as possible, and Si, the within cluster scatter for cluster i, which has to be as low as possible. Hence the Davies Bouldin Index is defined as the ratio of Si and Mi,j such that these properties are conserved:

  1.  R_{i,j} \geqslant 0 .
  2. Ri,j = Rj,i.
  3. if  S_j \geqslant S_k and Mi,j = Mi,k then Ri,j > Ri,k.
  4. and if Sj = Sk and  M_{i,j} \leqslant M_{i,k} then Ri,j > Ri,k.


 R_{i,j} = \frac{S_i + S_j}{M_{i,j}}

This is the symmetry condition. Due to such a formulation, the lower the value, the better the separation of the clusters and the 'tightness' inside the clusters is.


 D_i \equiv \max_{j : i \neq j} R_{i,j}
 {DB} \equiv \frac{1}{N}\displaystyle\sum_{i=1}^N D_i

DB is called the Davies Bouldin Index. This is dependent both on the data as well as the algorithm. Di chooses the worst case scenario, and this value is equal to Ri,j for the most similar cluster to cluster i. There could be many variations to this formulation, like choosing the average of the cluster similarity, weighted average and so on.

Explanation

These conditions constrain the index so defined to be symmetric and non-negative. Due to the way it is defined, as a function of the ratio of the within cluster scatter, to the between cluster separation, a lower value will mean that the clustering is better. It happens to be the average similarity between each cluster and it's most similar one, averaged over all the clusters, where the similarity is defined as Si below. This affirms the idea that no cluster has to be similar to another, and hence the best clustering scheme essentially minimizes the Davies Bouldin Index. This index thus defined is an average over all the i clusters, and hence a good measure of deciding how many clusters actually exists in the data is to plot it against the number of clusters it is calculated over. The number i for which this value is the lowest is a good measure of the number of clusters the data could be ideally classified into. This has applications in deciding the value of k in the kmeans algorithm, where the value of k is not known apriori. The SOM toolbox contains a MATLAB implementation [2].

External Links

Notes and references

  1. ^ Davies, D. L.; Bouldin, D. W. (1979). "A Cluster Separation Measure". IEEE Transactions on Pattern Analysis and Machine Intelligence (2): 224. doi:10.1109/TPAMI.1979.4766909.  edit
  2. ^ "Matlab implementation". http://www.cis.hut.fi/somtoolbox/package/docs2/db_index.html. Retrieved 12 November 2011. 

Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Cluster analysis — The result of a cluster analysis shown as the coloring of the squares into three clusters. Cluster analysis or clustering is the task of assigning a set of objects into groups (called clusters) so that the objects in the same cluster are more… …   Wikipedia

  • 25th United States Congress - State Delegations — [ United States Capitol] The Twenty fifth United States Congress was a meeting of the legislative branch of the United States federal government, consisting of the United States Senate and the United States House of Representatives. It met in… …   Wikipedia

  • 25th United States Congress - political parties — [ United States Capitol] The Twenty fifth United States Congress was a meeting of the legislative branch of the United States federal government, composed of the United States Senate and the United States House of Representatives. It met in… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”