ClusterPBMIndex: Crisp Pakhira-Bandyopadhyay-Maulik Index

View source: R/ClusterPBMIndex.R

ClusterPBMIndexR Documentation

Crisp Pakhira-Bandyopadhyay-Maulik Index

Description

Crisp Pakhira-Bandyopadhyay-Maulik Index [Pakhira et al., 2004] evaluates a hard partition without a reference classification. Crisp PBM index; larger values are better.

Usage

ClusterPBMIndex(Cls, Data)

Arguments

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.

Details

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.

Value

List of

PBMIndex

Crisp PBM index; larger values are better.

Object

List of E1, Ek, Dk, Centers and ClusterLabels. Center rows follow ClusterLabels. Invalid partitions return NULL.

Author(s)

Michael Thrun

References

[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.

See Also

ClusterNoEstimation, ClusterDunnIndex, ClusterDaviesBouldinIndex

Examples

Data = matrix(c(0, 1, 2, 10, 11, 12), ncol = 1)
Cls = rep(c(10, 20), each = 3)
V = ClusterPBMIndex(Cls, Data)
V$PBMIndex

FCPS documentation built on Nov. 28, 2026, 9:08 a.m.