powered by
Evaluation a clustering algorithm according to Dunn's index.
intern.dunn(clus, d, type = c("global"))
The evaluation of the clustering.
The extracted clusters.
The dataset.
Indicates whether a "global" or a "cluster"-wise evaluation should be used.
intern, intern.interclass, intern.intraclass
intern
intern.interclass
intern.intraclass
require (datasets) data (iris) km = KMEANS (iris [, -5], k = 3) intern.dunn (km$clus, iris [, -5])
Run the code above in your browser using DataLab