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.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.