tfdf.model_plotter.plot_model

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

Plots the model structure and it correlation with a dataset.

model The model to plot.
tree_idx If the model is composed of multiple trees, only plot this tree.
max_depth Maximum depth to plot. If None, does not limit the depth.

Html representation of the tree.