-
-
Save quantra-go-algo/1c8fe8cb77a83bb5b06f0eea82b97a76 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 | |
cluster = AgglomerativeClustering( | |
n_clusters=3, affinity='euclidean', linkage='ward') | |
cluster.fit(iris_X) | |
labels = cluster.labels_ | |
labels |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment