dsphere(n=100, d=2, r=1, noise=None, ambient=None, seed=None)¶
Sample n data points on a d-sphere.
n (int) – Number of data points in shape.
r (float) – Radius of sphere.
ambient (int, default=None) – Embed the sphere into a space with ambient dimension equal to ambient. The sphere is randomly rotated in this high dimensional space.
seed (int, default=None) – Seed for random state.