Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

rhythmchanges
Copy link
Contributor

Reference Issues/PRs

Addresses #20308

What does this implement/fix? Explain your changes.

This PR ensures LabelPropagation is compatible with numpydoc.

Any other comments?

Thanks #DataUmbrella!

@jmloyola
Copy link
Member

Hi @g4brielvs, thanks for the PR. There are a couple of failing tests, but I don't think they are related to your modifications.
Nevertheless, there was another person working on the same estimator (PR) that is waiting for review. Maybe you didn't see the message in the issue because there are too many comments there. Try to load all the issue messages to find out if the estimator is already taken or not. Note that you have to click on Load more... a couple of times to load all the messages.

Copy link
Member

@ogrisel ogrisel left a 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.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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)`.

Comment on lines +464 to +466
y : array-like of shape (n_samples,)
`n_labeled_samples` (unlabeled points are marked as -1)
All unlabeled samples will be transductively assigned labels.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
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.

@genvalen
Copy link
Contributor

genvalen commented Oct 16, 2021

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 Pull Requests tab and filter for "DOC Ensures", or something similar. This shows all the open pull requests with this phrase in the title. :)

@glemaitre
Copy link
Member

I merged the PR of @genvalen that was already partly reviewed and ready to merge. Thanks @g4brielvs

@glemaitre glemaitre closed this Oct 21, 2021
@rhythmchanges rhythmchanges deleted the doc-labelpropagation branch October 21, 2021 17:33
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.

5 participants