I'm using the eli5 library to explain a sklearn decision tree in a Jupyter notebook by calling eli5.show_weights(...)
. The output is an IPython.core.display.HTML
element that I can display inside the notebook with IPython.display.display(explanation)
, but how can I render the picture of the decision tree that this draws as an image (or pdf) so that I can use it somewhere else?
Asked
Active
Viewed 40 times
1

Marc Bacvanski
- 1,458
- 4
- 17
- 33