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

Skip to content

Add matplotlib based plotting of decision trees #8508

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

Closed
amueller opened this issue Mar 3, 2017 · 4 comments · Fixed by #9251
Closed

Add matplotlib based plotting of decision trees #8508

amueller opened this issue Mar 3, 2017 · 4 comments · Fixed by #9251

Comments

@amueller
Copy link
Member

amueller commented Mar 3, 2017

I really want to be able to plot trees without graphviz. Plotting trees is important. Even with conda (good luck without) this keeps creating issues on windows.

I think we should add a function that directly plots a tree without going through the graphviz file format. Plotting trees is much easier than plotting general graphs, and so I think we can get a decent-looking 80/20 solution for this relatively quickly.

We could technically support some fancy js output for jupyter, but I think as a first step "just" having a pure matplotlib version would be amazing.

@amueller
Copy link
Member Author

amueller commented Mar 3, 2017

also see #7116

@amueller
Copy link
Member Author

amueller commented Mar 3, 2017

also see #6522

@shubham0704
Copy link

Should the function be added to the scikit-plot side project?

@amueller
Copy link
Member Author

amueller commented Mar 4, 2017

I would rather have it in sklearn.plot (which exists in some PRs but not in master).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants