Last active
September 18, 2020 17:16
-
-
Save WashingtonGold/2563def5155f6b513a3aca0b2b8ea36a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.cluster import AgglomerativeClustering | |
model = AgglomerativeClustering(n_clusters=2) | |
model.fit(X) | |
model.labels_ #for labels |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment