Skip to content

DOC spectral biclustering: corrected contradiction of warning and documentation for parameter method #24098

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

Merged
merged 1 commit into from
Aug 3, 2022

Conversation

Maascha
Copy link
Contributor

@Maascha Maascha commented Aug 3, 2022

Reference Issues/PRs

none

What does this implement/fix? Explain your changes.

Corrected the contradiction in the documentation of the parameter method in sklearn.cluster.SpectralBiclustering

The parameter explaination of method says correctly: If the data is sparse, however, log normalization will not work.
The warning says: if method='log', the data must be sparse.

Fixed the warning, indeed the data must not be sparse, otherwise an error will be raised.

Any other comments?

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

LGTM

@thomasjpfan thomasjpfan added this to the 1.1.2 milestone Aug 3, 2022
@thomasjpfan thomasjpfan merged commit 98a826b into scikit-learn:main Aug 3, 2022
@Maascha Maascha deleted the bicluster_docs branch August 4, 2022 09:07
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Aug 4, 2022
glemaitre pushed a commit that referenced this pull request Aug 5, 2022
glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Sep 12, 2022
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.

2 participants