Skip to content

Instantly share code, notes, and snippets.

@Gabe-flomo
Created September 28, 2020 23:56
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 Gabe-flomo/7594eeb5e9150a5bcb99c7dca79bd4df to your computer and use it in GitHub Desktop.
Save Gabe-flomo/7594eeb5e9150a5bcb99c7dca79bd4df to your computer and use it in GitHub Desktop.
kmeans = KMeans(n_clusters=len(unique_labels),n_jobs=-1, random_state=22)
kmeans.fit(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment