Skip to content

Instantly share code, notes, and snippets.

@WashingtonGold
Created September 18, 2020 17:06
Show Gist options
  • Save WashingtonGold/cf3382f1a44a462fdb998431d2eb5aed to your computer and use it in GitHub Desktop.
Save WashingtonGold/cf3382f1a44a462fdb998431d2eb5aed to your computer and use it in GitHub Desktop.
from sklearn.cluster import DBSCAN
model = DBSCAN(eps=0.30, min_samples=9)
model.fit(X)
model.labels_ #for labels of each cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment