Skip to content

Instantly share code, notes, and snippets.

@KhyatiMahendru
Last active June 17, 2019 05:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KhyatiMahendru/191ba28bf47fec7a1b1fb97c5b6b0e68 to your computer and use it in GitHub Desktop.
Save KhyatiMahendru/191ba28bf47fec7a1b1fb97c5b6b0e68 to your computer and use it in GitHub Desktop.
from sklearn.datasets import make_blobs
# Create dataset with 3 random cluster centers and 1000 datapoints
x, y = make_blobs(n_samples = 1000, centers = 3, n_features=2, shuffle=True, random_state=31)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment