Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC Add link to AgglomerativeClustering example in docs #28922

Merged
merged 4 commits into from
May 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sklearn/cluster/_agglomerative.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,10 @@ class AgglomerativeClustering(ClusterMixin, BaseEstimator):
`kneighbors_graph`. Default is ``None``, i.e, the
hierarchical clustering algorithm is unstructured.

For an example of connectivity matrix using
:class:`~sklearn.neighbors.kneighbors_graph`, see
:ref:`sphx_glr_auto_examples_cluster_plot_agglomerative_clustering.py`.

compute_full_tree : 'auto' or bool, default='auto'
Stop early the construction of the tree at ``n_clusters``. This is
useful to decrease computation time if the number of clusters is not
Expand Down
Loading