8000 DOC Minor updates to the Decision Tree User Guide by justmarkham · Pull Request #16905 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

DOC Minor updates to the Decision Tree User Guide #16905

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 5 commits into from
Apr 14, 2020
Merged

DOC Minor updates to the Decision Tree User Guide #16905

merged 5 commits into from
Apr 14, 2020

Conversation

justmarkham
Copy link
Contributor

Reference Issues/PRs

None

What does this implement/fix? Explain your changes.

I made five small updates to the Decision Tree user guide:

  1. Update the text that said tree pruning is not supported (since it is now supported)
  2. Add missing link to the plot_tree documentation
  3. Simplify the plot_tree example code (since there is no need to fit the classifier twice)
  4. Fix the formatting to remove some unintended line breaks
  5. Update the example to import from sklearn.tree instead of sklearn.tree.export (since the latter is now deprecated)

Any other comments?

None

Comment on lines -141 to +140
and the python package can be installed with

conda install python-graphviz
and the python package can be installed with `conda install python-graphviz`.
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if this change is necessary, but LGTM anyway.

@NicolasHug NicolasHug merged commit bd9fd0f into scikit-learn:master Apr 14, 2020
@NicolasHug
Copy link
Member

Thanks @justmarkham

@justmarkham justmarkham deleted the tree-guide branch April 14, 2020 14:20
gio8tisu pushed a commit to gio8tisu/scikit-learn that referenced this pull request May 15, 2020
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
0