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

Skip to content

Add attributes to MultiOutputRegressor docstring #13420

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 2 commits into from
Mar 11, 2019
Merged

Add attributes to MultiOutputRegressor docstring #13420

merged 2 commits into from
Mar 11, 2019

Conversation

albertotb
Copy link
Contributor

What does this implement/fix? Explain your changes.

MultiOutputRegressor() is missing the estimators_ attribute in the documentation

Any other comments?

MultiOutputClassifier() is fine, so I just copied the Attributes part from the docstring

MultiOutputRegressor is missing the estimators_ attribute in the documentation
@@ -217,6 +217,11 @@ class MultiOutputRegressor(MultiOutputEstimator, RegressorMixin):
When individual estimators are fast to train or predict
using `n_jobs>1` can result in slower performance due
to the overhead of spawning processes.

Copy link
Member

Choose a reason for hiding this comment

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

Pep8 is complaining that you have added a blank line that contains white space. Blank lines must be empty.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It should be fixed now

Copy link
Member

@qinhanmin2014 qinhanmin2014 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @albertotb

@qinhanmin2014 qinhanmin2014 merged commit 16d7840 into scikit-learn:master Mar 11, 2019
@albertotb albertotb deleted the doc_multioutput branch March 11, 2019 12:50
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants