Skip to content

DOC Add link to spectral coclustering - #31422

Merged
betatim merged 7 commits into
scikit-learn:mainfrom
0xs1d:continue-pr-29606
May 28, 2025
Merged

betatim merged 7 commits into
scikit-learn:mainfrom
0xs1d:continue-pr-29606

Conversation

@0xs1d

@0xs1d 0xs1d commented May 24, 2025

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

Towards #30621
Continues PR #29606

What does this implement/fix? Explain your changes.

Fixed the indentation that was requested and added link of spectral coclustering to doc/modules/biclustering.rst

Any other comments?

this continues the work from PR #29606

@github-actions

github-actions Bot commented May 24, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: dae44ae. Link to the linter CI: here

@StefanieSenger StefanieSenger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @sidrtx,

thanks for your contribution to take up a stalled PR.

Differing from the previous review in #29606, I would not add this link to doc/modules/biclustering.rst, since it is already mentioned there (in li. 47 and 152) and we try to keep the docs rather clean. That was probably an oversight.

I would kindly ask you to remove this link again from doc/modules/biclustering.rst . Sorry about that.

Otherwise it looks fine.

Comment thread sklearn/cluster/_bicluster.py Outdated
SpectralCoclustering(n_clusters=2, random_state=0)

For a more detailed example, see the following:
:ref:`sphx_glr_auto_examples_bicluster_plot_spectral_coclustering.py`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
:ref:`sphx_glr_auto_examples_bicluster_plot_spectral_coclustering.py`
:ref:`sphx_glr_auto_examples_bicluster_plot_spectral_coclustering.py`.

Nit suggestion to add a dot.

@0xs1d

0xs1d commented May 27, 2025

Copy link
Copy Markdown
Contributor Author

Hi @StefanieSenger

Thank you for pointing out the references in lines 47 and 152—I must have missed those. I agree that removing them helps keep the documentation uncluttered. I’ve updated my PR accordingly. Thanks again for your attention to detail!

@StefanieSenger StefanieSenger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your work and removing the other links, @sidrtx!

It looks fine to me now.

@adrinjalali or @betatim, do you want to have a look?

@betatim
betatim enabled auto-merge (squash) May 28, 2025 07:51
@betatim
betatim merged commit 398e8fe into scikit-learn:main May 28, 2025
@betatim

betatim commented May 28, 2025

Copy link
Copy Markdown
Member

There were some CI workflows that needed approval to run, I gave that approval and enabled auto-merge. Thanks for helping make the examples more discoverable!

jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request May 30, 2025
elhambbi pushed a commit to elhambbi/scikit-learn that referenced this pull request Jun 1, 2025
jeremiedbb pushed a commit that referenced this pull request Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants