nami_toys.moons#

Classes

TwoMoons([noise])

Two interleaving crescents in 2-D.

class nami_toys.moons.TwoMoons(noise=0.1)[source]#

Bases: object

Two interleaving crescents in 2-D.

Parameters:

noise (float) – Std-dev of isotropic Gaussian noise added to the arc positions.

generate(n, *, generator=None)[source]#

Draw n labelled samples from two crescents.

Return type:

ToyDataset

Parameters:
noise: float = 0.1#