BookmarkSubscribeRSS Feed
ylohana
Calcite | Level 5

I have been trying to fit a decision tree model by using a data partition. As long as none of the Training, Validation and Test allocation is set to 0, the model runs fine. However, I want to divide the data into only Training and Test, thus if I set Validation to 0, the data partition node runs fine but the decision tree node gives a run time error. Would appreciate if someone could help me out with this. 

2 REPLIES 2
WendyCzika
SAS Employee

That should work - can you open the results of the Decision Tree node and see if there is a more informative error in the SAS log?

ylohana
Calcite | Level 5
I did some additional runs, turns out the the model runs as long as the ratio is under 70:30 or lower. However, for something like 80:20, this is the error I'm receiving, "ERROR: Run time error was encountered. The system error returned was 1012".

Thanks!

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
  • 2 replies
  • 1000 views
  • 0 likes
  • 2 in conversation