ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tfdf.model_plotter.plot_tree

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.