Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

decision tree classifier python code for visualization

fig = plt.figure(figsize=(25,20))
_ = tree.plot_tree(clf, 
                   feature_names=iris.feature_names,  
                   class_names=iris.target_names,
                   filled=True)
Source by mljar.com #
 
PREVIOUS NEXT
Tagged: #decision #tree #classifier #python #code #visualization
ADD COMMENT
Topic
Name
6+5 =