How can I color the leaves of the tree in the Tree Diagram in the results of the Decision Tree node in Model Studio by node purity (probability of event) or correct classification proportion?
By default, for a class target, the leaves of the tree in the Tree Diagram display an embedded histogram of the target level percentages (first image). To have the leaves instead colored by either the probability of event (purity) or the proportion correctly classified, you can un-check the property “Display embedded bar charts in tree diagram” under Tree Diagram Options in the Decision Tree node. The leaves can then be colored by the selection in the “Class target node color” property as in the second image.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.