daily pastebin goal
9%
SHARE
TWEET

Untitled

a guest Dec 13th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. kmeans = KMeans(n_clusters=5)
  2. kmeans.fit(data_transformed)
  3. labels = kmeans.labels_
  4. plot_clustering(data_transformed, labels)
  5. plt.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top