Last active
June 17, 2019 05:45
-
-
Save KhyatiMahendru/191ba28bf47fec7a1b1fb97c5b6b0e68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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