sklearn.datasets.make_moons()

sklearn.datasets.make_moons

sklearn.datasets.make_moons(n_samples=100, shuffle=True, noise=None, random_state=None) [source]

Make two interleaving half circles

A simple toy dataset to visualize clustering and classification algorithms.

Parameters:

n_samples : int, optional (default=100)

The total number of points generated.

shuffle : bool, optional (default=True)

Whether