Skip to content

DOC: add link to example plot_digits_agglomeration.py #30979

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions doc/modules/clustering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,11 @@ considers at each step all the possible merges.
number of features. It is a dimensionality reduction tool, see
:ref:`data_reduction`.

.. rubric:: Examples

* :ref:`sphx_glr_auto_examples_cluster_plot_digits_agglomeration.py`: This
example shows how similar features are merged together using feature
agglomeration.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
agglomeration.
agglomeration.

You also need to add an empty line.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Stefanie, I am trying the add the empty line, but it fails "Trim trailing white spaces" when I try to commit the change. Do you know what's causing this issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's pre-commit in action. Please google how pre-commit works: you need to add the changed files and commit again.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or you can commit my suggestion in the changed files part of this PR.

Different linkage type: Ward, complete, average, and single linkage
-------------------------------------------------------------------

Expand Down