-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
DOC Ensures that LabelPropagation passes numpydoc validation #21347
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
Conversation
Hi @g4brielvs, thanks for the PR. There are a couple of failing tests, but I don't think they are related to your modifications. |
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.
LGTM with the following suggestions for improvement in the description of the input data:
Parameters | ||
---------- | ||
X : array-like of shape (n_samples, n_features) | ||
A matrix of shape (n_samples, n_samples) will be created from this. |
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.
A matrix of shape (n_samples, n_samples) will be created from this. | |
Input data that will be used to create a kernel matrix of shape | |
`(n_samples, n_samples)`. |
y : array-like of shape (n_samples,) | ||
`n_labeled_samples` (unlabeled points are marked as -1) | ||
All unlabeled samples will be transductively assigned labels. |
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.
y : array-like of shape (n_samples,) | |
`n_labeled_samples` (unlabeled points are marked as -1) | |
All unlabeled samples will be transductively assigned labels. | |
y : array-like of shape (n_samples,) | |
Target class values with unlabeled points marked as -1. | |
All unlabeled samples will be transductively assigned labels | |
internally. |
Hi all! I apologize for taking so long to complete the estimator task and for causing this confusion. My PR is now updated and hopefully ready to be merged, if that is still okay @ogrisel @jmloyola @g4brielvs I wanted to mention that another great way to see if an estimator is being worked on is to check the |
I merged the PR of @genvalen that was already partly reviewed and ready to merge. Thanks @g4brielvs |
Reference Issues/PRs
Addresses #20308
What does this implement/fix? Explain your changes.
This PR ensures
LabelPropagation
is compatible with numpydoc.LabelPropagation
from:scikit-learn/maint_tools/test_docstrings.py
Line 17 in 47a49c5
Any other comments?
Thanks #DataUmbrella!