This documentation is for scikit-learn version 0.11-gitOther versions

Citing

If you use the software, please consider citing scikit-learn.

This page

8.4.2.3. sklearn.datasets.make_circles

sklearn.datasets.make_circles(n_samples=100, shuffle=True, noise=None, random_state=None, factor=0.8)

Make a large circle containing a smaller circle in 2di

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 to shuffle the samples.

noise : double or None (default=None)

Standard deviation of Gaussian noise added to the data.

factor : double < 1 (default=.8)

Scale factor between inner and outer circle.