make_spiral

function defined in module MLUtils.Datasets


			make_spiral(n, a, theta, b; noise = 0.01, f_rand = randn) -> x, y

Generates n noisy responses for a spiral with two labels. Uses the radius, angle and scaling arguments to space the points in 2D space and adding noise .* f_randn(n) to the response.

Methods

There is 1 method for MLUtils.Datasets.make_spiral: