1

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?

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

0 Answers0