Skip to content

DOC Docstring fix for DecisionTreeClassifier and DecisionTreeR… #15483

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 24 commits into from
Nov 5, 2019

Conversation

r-build
Copy link
Contributor

@r-build r-build commented Nov 2, 2019

Reference Issues/PRs

Addresses part of issue #15440.

What does this implement/fix? Explain your changes.

Applies numpydoc validation to docstrings for DecisionTreeClassifier and DecisionTreeRegressor, part of issue #15440.

Any other comments?

… period at end of summary; change parameter type to bool
@alexdesiqueira
Copy link

@r-build @rth a part of this PR is also treated at #15479, please mind the overlap 😅

@r-build
Copy link
Contributor Author

r-build commented Nov 2, 2019

@r-build @rth a part of this PR is also treated at #15479, please mind the overlap 😅

Apologies, #15479 wasn't there when I started (hackathon sprint today), and I didn't spot it before making the PR.
There may be overlap but there are definitely non-overlapping parts in each PR. Should be OK for maintainers to merge both?

@alexdesiqueira
Copy link

We were sprinting here as well @r-build :) I'm not sure if we would be able to merge both, but since yours is more complete, I think this one should be preferred instead. Could you close the #15749 then @rth?

@rth
Copy link
Member

rth commented Nov 3, 2019

Thanks @r-build ! LGTM aside from the few comment above.

@alexdesiqueira I merged your earlier PR on this, which made the diff here a bit smaller but didn't create any merge conflicts..

Copy link
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks @r-build! LGTM. Merging.

@rth rth changed the title DOC Docstring fix for DecisionTreeClassifier and DecisionTreeRegressor DOC Docstring fix for DecisionTreeClassifier and DecisionTreeR… Nov 5, 2019
@rth rth merged commit 6488110 into scikit-learn:master Nov 5, 2019
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.

3 participants