make_moons: Make two interleaving half-circles

Description Usage Arguments Value

Description

Imitation of the Python sklearn.datasets.make_moons function.

Usage

1
make_moons(n_samples = 100, shuffle = TRUE, noise = NA)

Arguments

n_samples

Number of points (will be divided equally among the circles)

shuffle

Whether to randomize the sequence

noise

Standard deviation of Gaussian noise applied to point positions

Value

a list containining samples, a matrix of points, and labels, which identifies the circle from which each point came.


elbamos/clusteringdatasets documentation built on May 16, 2019, 2:58 a.m.