This page contains a guide the many options for visualizing tree learners.
write_html function allows you to construct an interactive browser visualization of a tree learner:
In a Jupyter notebook, tree learners are automatically visualized in this way. If you are working from a terminal, you can open a browser window with a visualization of any tree learner using
You can include the data in the interactive visualization using the
data keyword argument:
IAI.write_html("tree_with_data.html", lnr, data=(X, y))