fuzzyclust.datasets.make_ellipses#

fuzzyclust.datasets.make_ellipses(n_clusters=3, n_samples_per_cluster=100, axes=(3.0, 0.4), separation=2.5, random_state=None)[source]#

Elongated 2-D Gaussian clusters with different orientations.

Each cluster is a Gaussian with principal standard deviations axes rotated by a random angle; the centers lie on a circle such that the distance between neighboring centers is separation times the major standard deviation. With the default separation the clusters are close enough for FCM (spherical norm) to split or merge them, while GK recovers them thanks to the cluster-specific norm.

Returns:
Xndarray of shape (n_samples, 2)
yndarray of shape (n_samples,)

Examples using fuzzyclust.datasets.make_ellipses#

Gustafson–Kessel: clusters with their own shape

Gustafson–Kessel: clusters with their own shape

Applying a fitted model to new data

Applying a fitted model to new data