question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DecisionTreeVisualizer

See original GitHub issue

It would be cool to implement a DecisionTreeVisualizer such as the one described in this blog post.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
amuellercommented, Apr 11, 2017

Oh also we allowed returning the source directly from the export_graphviz so you can now do

graphviz.Source(export_graphviz(tree, file=None))

and have it show up in the jupyter notebook.

1reaction
amuellercommented, Apr 13, 2017

Well for a user it would be pretty insane to use matplotlib instead of dot. But that’s beside the point. We only need to write the tree visualization once to fix the packaging issues for everybody trying to visualize scikit-learn decision trees.

Sent from phone. Please excuse spelling and brevity.

On Apr 12, 2017 15:51, “Benjamin Bengfort” notifications@github.com wrote:

@amueller https://github.com/amueller I’d certainly be interested in trying a pure matplotlib version of the tree; though using matplotlib for drawing trees is notoriously difficult. A quick Google lifted this:

https://llimllib.github.io/pymag-trees/

But almost everyone else recommends using dot.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/DistrictDataLabs/yellowbrick/issues/145#issuecomment-293688316, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbcFv6wy4lYKFgxg_QqyP_IBjTF9j1xks5rvSs1gaJpZM4MTR0b .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visualize a Decision Tree in 4 Ways with Scikit-Learn ... - MLJAR
A Decision Tree is a supervised algorithm used in machine learning. It is using a binary tree graph (each node has two children)...
Read more >
Visualizing Decision Trees with Python (Scikit-learn, Graphviz ...
Benefits of decision trees include that they can be used for both regression and classification, they don't require feature scaling, and they ...
Read more >
Beautiful decision tree visualizations with dtreeviz - KDnuggets
Visualizing the decision trees can be really simple using a combination of scikit-learn and matplotlib . However, there is a nice library called ......
Read more >
Know How to Create and Visualize a Decision Tree with Python
The visualization decision tree is a tremendous task to learn, understand interpretation and working of the models. One of the biggest benefits ...
Read more >
Building and Visualizing Decision Tree in Python - Medium
Decision trees are the building blocks of some of the most powerful ... Learn to build and visualize a Decision tree model with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found