davies_bouldin_score {ClusterStability}R Documentation

This function returns the Davies Bouldin score.

Description

This function returns the Davies Bouldin score of a partition.

Usage

davies_bouldin_score(X, labels)

Arguments

X

the input dataset: either a matrix or a dataframe.

labels

the partition vector.

Value

The Davies Bouldin score for this data.

References

D. L. Davies and D. W. Bouldin. A cluster separation measure. IEEE Transactions on Pattern Analysis and Machine Intelligence, PAMI-1, no. 2:224-227, 1979

Examples

  davies_bouldin_score(iris[1:10,1:4], c(3,2,2,2,3,1,2,3,2,2))
  # Expected : 0.5103277

[Package ClusterStability version 1.0.4 Index]