BookmarkSubscribeRSS Feed
magladde
Calcite | Level 5

Hello all, I have created a decision tree in SAS Viya. I have tuned all of the parameters and created a Decision_Tree.ctk file that adequately fits my needs. I know would like to extract all of the splitting criteria for each node. Is there a simple way to get this information? I can add plots=zoomedtree(nodes=('1') depth=3) to my code to visually identify the splitting criteria but sometimes that doesn't work as there are multiple variables in the splitting criteria and it its impossible to do if my tree is more than 2 or 3 levels deep.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 612 views
  • 0 likes
  • 1 in conversation