Skip to content

Add attributes to MultiOutputRegressor docstring#13420

Merged
qinhanmin2014 merged 2 commits intoscikit-learn:masterfrom
albertotb:doc_multioutput
Mar 11, 2019
Merged

Add attributes to MultiOutputRegressor docstring#13420
qinhanmin2014 merged 2 commits intoscikit-learn:masterfrom
albertotb:doc_multioutput

Conversation

@albertotb
Copy link
Copy Markdown
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
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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