Skip to content

DOC Minor updates to the Decision Tree User Guide#16905

Merged
NicolasHug merged 5 commits intoscikit-learn:masterfrom
justmarkham:tree-guide
Apr 14, 2020
Merged

DOC Minor updates to the Decision Tree User Guide#16905
NicolasHug merged 5 commits intoscikit-learn:masterfrom
justmarkham:tree-guide

Conversation

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