-
Notifications
You must be signed in to change notification settings - Fork 112
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
Plot very large decision tree #140
Comments
Hi, There is currently no integrated display to graphviz. However, this should be easy to put in place. The model inspector gives you access to the tree structures. The inspector (and related data structures) is used by the tree plotter and the tree printer (printing the tree as text). What about calling manually the model inspector and populating a graphviz accordingly. For example: inspector = model.make_inspector()
for tree in inspector.extract_all_trees()
add_tree_to_graphviz_plot(tree) If you get something polished, don't hesitate to add it to TF-DF contribs. |
is it possible to display 20k nodes with graphviz and add some zooming functionality as well in a html environment? |
The great Dtreeviz decision tree plotting library very recently got support for TF-DF. They have an iPython Notebook demonstrating how to use it. Let us know if this works for you. Pinging @tlapusan who has been working on this. |
hi @tlapusan does Dtreeviz also work for |
hi @Arnold1, definitely it will be a challenge :) I assume that for your big tree you have also a big training set. I'm just curious what insights would you like to get from such a big tree ? IMO is not very effective to look at a tree structure with so many nodes. |
@tlapusan has a good point. I would be interesting to know more about the use case. In the meantime, you could try some generic graph visualization softwares (e.g., Gephi). |
hi team - i see an update in here:
how can i utilize that from the python side using this repo? |
Hi, |
hi, is there currently a way to generate a Layered violin plot with tensorflow decision forests? |
Hi,
I have a decision tree with 20k nodes. How can I plot it?
I checked the d3.js code but with svg its pretty slow to render 20k nodes and use some zoom with it.
is there a way to generate a graphviz too and convert it to a huge png so I can view it with https://leafletjs.com/?
or is there a way to draw the decision tree with d3 and canvas instead of svg?
The text was updated successfully, but these errors were encountered: