-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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 : adds 4 points to sklearn.datasets._samples_generator.make_sparse_coded_signal #22817
Doc : adds 4 points to sklearn.datasets._samples_generator.make_sparse_coded_signal #22817
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently this PR changes both load_sample_image
and make_sparse_coded_signal
which is probably not intentional.
This might happen when you create a new branch off of a non-main branch.
Always need to create your branch from the the main branch (ideally after having done a git pull upstream main
to make sure that it's up to date with upstream).
This will allow you to work independently on several pull requests in parallel.
@@ -1280,7 +1280,7 @@ def make_sparse_coded_signal( | |||
code : ndarray of shape (n_components, n_samples) | |||
The sparse code such that each column of this matrix has exactly | |||
n_nonzero_coefs non-zero items (X). | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those new trailing white-spaces make the code style linter fail in the CI report. Removing them will fix the problem:
Adding the #pariswimlds hashtag :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @victoirelouis
Co-authored-by: Jérémie du Boisberranger <[email protected]>
Fixes part of #21350
What does this implement/fix? Explain your changes.
Adds 4 dots in the sklearn.datasets._samples_generator.make_sparse_coded_signal function.