Guest User

Untitled

a guest
Jun 17th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. for c in range(3,10):
  2. k = KMeans(n_clusters=c)
  3. plt.subplots(_, 2, _)
  4. plt.scatter(data=data, x='x', y='y', c=k.fit_predict(data))
Add Comment
Please, Sign In to add comment