fuzzyclust.validity.pcaes_index#
- fuzzyclust.validity.pcaes_index(X, U, V, m=2.0)[source]#
Partition coefficient and exponential separation, PCAES (Wu & Yang, 2005). Max is best.
\[PCAES=\sum_{i=1}^{c}\frac{\sum_{k=1}^{N}\mu_{ik}^2}{\mu_M} -\sum_{i=1}^{c}\exp\Bigl(-\frac{\min_{j\neq i}\|\mathbf{v}_i-\mathbf{v}_j\|^2}{\beta_T}\Bigr), \quad \mu_M=\min_i\sum_k\mu_{ik}^2,\ \ \beta_T=\frac1c\sum_{i=1}^{c}\|\mathbf{v}_i-\bar{\mathbf{x}}\|^2 .\]The first sum is a partition coefficient normalized per cluster by the least compact cluster (a cluster-wise measure of how well the members are covered), the second penalizes every prototype by how close its nearest neighbor is on the scale \(\beta_T\) of the spread of the prototypes; a cluster with a neighbor much closer than \(\sqrt{\beta_T}\) costs nearly one unit. Since the first sum is at least \(c\) and the penalty at most \(c\), the index is nonnegative. Because \(\mu_M\) is the mass of the smallest cluster (as published), a spurious tiny cluster inflates the index; inspect the scan curve rather than only its maximum.