View source: R/ClusterPBMIndex.R
| ClusterPBMIndex | R Documentation |
Crisp Pakhira-Bandyopadhyay-Maulik Index [Pakhira et al., 2004] evaluates a hard partition without a reference classification. Crisp PBM index; larger values are better.
ClusterPBMIndex(Cls, Data)
Cls |
Vector of length n containing arbitrary numeric, character, or factor cluster labels. Missing labels and non-finite numeric labels are not allowed. Rows and labels are matched by position. Zero is an ordinary cluster label; remove noise observations explicitly if they should not be evaluated. |
Data |
Finite numeric matrix or data frame with n observations in rows and d variables in columns. Feature data are required, not precomputed dissimilarities. Euclidean geometry and arithmetic centroids are used. Data are not standardized automatically. |
ClusterPBMIndex calculates
PBM = \left(\frac{E_1 D_k}{k E_k}\right)^2,
where E_1 sums Euclidean distances to the global mean, E_k sums
distances to the assigned cluster centroids, and D_k is the largest
distance between cluster centroids. The distances in these sums are not
squared. At least two clusters are required. PBM is not scale invariant:
multiplying all coordinates by a multiplies its value by a^2.
Malformed inputs cause an error. Fewer than two clusters or zero within-cluster dispersion produce a warning. Undefined values are returned as NaN; zero within-cluster dispersion with a positive numerator gives Inf.
List of
PBMIndex |
Crisp PBM index; larger values are better. |
Object |
List of |
Michael Thrun
[Pakhira et al., 2004] Pakhira, M. K., Bandyopadhyay, S., & Maulik, U.: Validity index for crisp and fuzzy clusters, Pattern Recognition, Vol. 37(3), pp. 487-501, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.patcog.2003.06.005")}, 2004.
ClusterNoEstimation,
ClusterDunnIndex,
ClusterDaviesBouldinIndex
Data = matrix(c(0, 1, 2, 10, 11, 12), ncol = 1)
Cls = rep(c(10, 20), each = 3)
V = ClusterPBMIndex(Cls, Data)
V$PBMIndex
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.