fuzzyclust.datasets.make_different_densities#

fuzzyclust.datasets.make_different_densities(sizes=(300, 60, 60), spreads=(1.5, 0.3, 0.6), random_state=None)[source]#

Clusters of very different size (density) and spread.

A large diffuse cluster next to small dense ones: FCM and GK (fixed cluster volumes) tend to steal points from the big cluster, the Gath–Geva algorithm (volume and prior adapt) recovers the structure.

Parameters:
sizestuple of int

Number of samples per cluster.

spreadstuple of float

Standard deviation per cluster.

Returns:
Xndarray of shape (sum(sizes), 2)
yndarray

Examples using fuzzyclust.datasets.make_different_densities#

Gath–Geva: clusters of different size and density

Gath–Geva: clusters of different size and density

Volume prototypes and adaptive cluster merging

Volume prototypes and adaptive cluster merging