tadasets.infty_sign(n=100, noise=None, angle=None, seed=None)[source]

Construct a figure 8 or infinity sign with n points and noise level with noise standard deviation.

  • n (int) – number of points in returned data set.

  • noise (float) – standard deviation of normally distributed noise added to data.

  • angle (float) – angle in radians to rotate the infinity sign.

  • seed (int) – Seed for random state.