fuzzyclust.extensions.make_close_blobs#

fuzzyclust.extensions.make_close_blobs(sizes=(200, 40), spreads=(1.0, 0.4), distance=2.5, random_state=None)[source]#

Two Gaussian clusters of different size and density close to each other.

The classical test case for the coincident clusters problem of the possibilistic c-means: because every PCM cluster seeks a dense region independently of the others, both prototypes may end up in the larger (or denser) group when the groups are close.

Parameters:
sizestuple of int, default=(200, 40)

Samples per cluster.

spreadstuple of float, default=(1.0, 0.4)

Standard deviation per cluster.

distancefloat, default=2.5

Distance between the two centers (along the first axis).

random_stateint, RandomState instance or None
Returns:
Xndarray of shape (sum(sizes), 2)
yndarray of shape (sum(sizes),)

Examples using fuzzyclust.extensions.make_close_blobs#

Possibilistic c-means: typicalities, scales and coincident clusters

Possibilistic c-means: typicalities, scales and coincident clusters

Possibilistic fuzzy c-means: memberships and typicalities together

Possibilistic fuzzy c-means: memberships and typicalities together