Synthetic clustering datasets.
y as well: the true cluster assignment. Do not fit on it — it is there so you can score the result with a metric like adjusted_rand_score.>>> from tuiml.datasets.generators.clustering import Moons
>>> data = Moons(n_samples=200, noise=0.05, random_state=0).generate()
>>> data.X.shape
(200, 2)
Blobs generator: isotropic Gaussian clusters....
Circles generator: two concentric rings....
Moons generator: two interleaving half circles....
Swiss roll generator: a 2-D sheet rolled through 3-D space....