Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Visualize Decision Tree

# Visualise the Decision Tree 
plt.figure(figsize=(35,40)) # Set plot size (denoted in inches)
tree.plot_tree(model, # Create plot
               fontsize = 10) # Set fontsize
plt.show() # Display plot
 
PREVIOUS NEXT
Tagged: #Visualize #Decision #Tree
ADD COMMENT
Topic
Name
8+5 =