tfdf.model_plotter.plot_tree

Stay organized with collections Save and categorize content based on your preferences.

Plots a decision tree.

tree A decision tree.
max_depth Maximum plotting depth. Makes the plot more readable in case of large trees.
display_options Dictionary of display options.

The html content displaying the tree.