Advertisement
897bhgy

Untitled

Jul 19th, 2023
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | Source Code | 0 0
  1. from sklearn.cluster import KMeans
  2. kmeans = KMeans(n_clusters=3)
  3. kmeans.fit(X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement