Visualizing decision tree with testing dataset samples in python

Viewed 13

I am actually visualizing the decision tree (in PNG) of my DecisionTreeClassifier with the training dataset samples with graphviz in python, but I would like to see the number of samples in each nodes but for the testing dataset. Is this possible?

0 Answers
Related