Clustering Feature

Part of a CF-Tree which is used in the BIRCH algorithm.

It is a 3D summarizing statistic about the current Clusters.

CF=(n,LS,SS)CF=(n,LS,SS)

where nn is the number of data points in the cluster, LSLS is the linear sum of the points in the cluster and SSSS is the square sum of the points in the cluster.

This statistic allows to derive some useful information about a cluster.

Centroid:

LSn\frac{LS}{n}

Radius:

nSS2LS2+nn2\sqrt{ \frac{nSS-2LS^2+n}{n^2} }

Diameter:

2nSS2LS2n(n1)\sqrt{ \frac{2nSS-2LS^2}{n(n-1)} }

A nice way of merging two clusters is to just add the two CFs of two clusters.

Example

Bildschirmfoto 2022-10-02 um 17.44.27.png