BookmarkSubscribeRSS Feed
jwoods
Calcite | Level 5

Hi,

 

I have experience in SAS but I'm having trouble using SAS EM. I have a few questions:

 

1. How is purity measured/ranked?

2. Is the purity of a node based on the training data or the validation data? 

3. Why is the purity of a node indicated by training/validation (answer to number 2) data?

4. How do you know (by looking at a tree), which nodes are the purist?

 

Thanks

1 REPLY 1
WendyCzika
SAS Employee

You can use Gini impurity as the splitting criterion when growing the decision tree, which has formula:

 

 

 

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

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 1418 views
  • 0 likes
  • 2 in conversation