Description Usage Arguments Value References See Also
Calculates a generalized version of the Davies-Bouldin Index for internal cluster validation. The index is expressed by a ratio of cluster compactness and cluster separation, summed and averaged over all clusters. This generalized method does not define the concrete way to compute distances within clusters and between clusters, but simply takes these distances as input to compute the Davies-Bouldin Index. Lower values indicate better clustering quality.
1 | generalizedDB_fast(interClusterDistances, intraClusterDistances)
|
interClusterDistances |
A matrix representing the distances between clusters (separation), with the number of rows/columns equal to the number of clusters. |
intraClusterDistances |
A vector representing the distances within a cluster (compactness), with its length equal to the number of clusters. |
The Generalized Davies-Bouldin Index. Could be Inf or NaN if there are clusters with a distance of zero between them (which is a bad clustering result).
Davies, D. L. & Bouldin, D. W. (1979). A cluster separation measure. IEEE transactions on pattern analysis and machine intelligence, 1(2), 224–227.
Other Internal Cluster Validity Indices: generalizedDunn_fast
,
iGeneralizedDB_fast
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.