cl_validity(x, ...)
## S3 method for class 'default':
cl_validity(x, d, ...)
x
was obtained."cl_validity"
with the computed validity
measures.cl_validity
is a generic function. For partitions, its default method gives the
For hierarchies, the validity measures computed by default are
u
is the ultrametric corresponding to the hierarchy x
and d
the dissimilarity x
was obtained from, these
validity measures are given by
$$\mathrm{VAF} =
\max\left(1 - \sum_{i,j} (d_{ij} - u_{ij})^2 /
\sum_{i,j} (d_{ij} - \mathrm{mean}(d)) ^ 2, 0\right)$$
and
$$\mathrm{DEV} =
\max\left(1 - \sum_{i,j} |d_{ij} - u_{ij}| /
\sum_{i,j} |d_{ij} - \mathrm{median}(d)| ^ 2, 0\right)$$
respectively. Note that VAF and DEV are not invariant under rescaling
u
, and may be u
and d
are
agnes
and
diana
, the agglomerative and divisive
coefficients are provided in addition to the default ones.
T. J. Smith (2001). Constructing ultrametric and additive trees based on the $L_1$ norm. Journal of Classification, 18/2, 185--207.
cluster.stats
in package fclustIndex
in package clustIndex
in package silhouette
in package