8000 DOC Add link to AgglomerativeClustering example in docs (#28922) · scikit-learn-bot/scikit-learn@8346da3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8346da3

Browse files
julian-8897Julian Chan
and
Julian Chan
authored
DOC Add link to AgglomerativeClustering example in docs (scikit-learn#28922)
Co-authored-by: Julian Chan <julian8897@gmail.com>
1 parent e769e44 commit 8346da3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sklearn/cluster/_agglomerative.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,10 @@ class AgglomerativeClustering(ClusterMixin, BaseEstimator):
818818
`kneighbors_graph`. Default is ``None``, i.e, the
819819
hierarchical clustering algorithm is unstructured.
820820
821+
For an example of connectivity matrix using
822+
:class:`~sklearn.neighbors.kneighbors_graph`, see
823+
:ref:`sphx_glr_auto_examples_cluster_plot_agglomerative_clustering.py`.
824+
821825
compute_full_tree : 'auto' or bool, default='auto'
822826
Stop early the construction of the tree at ``n_clusters``. This is
823827
useful to decrease computation time if the number of clusters is not

0 commit comments

Comments
 (0)
0