BookmarkSubscribeRSS Feed
bbremer
Calcite | Level 5

I am getting the error message "Maximum target levels of 512 exceeded. Training will no be performed".  Does anyone know how to correct this?

4 REPLIES 4
M_Maldonado
Barite | Level 11

One of your nominal inputs has a lot of levels (more than 512) and your transform node wants you to take care of that.

Quick solution: use HPTransform node instaed. This node does not have that extra check.

Another alternative, bin your nominal (or ordinal) inputs to compact your levels.

 

Good luck!

WendyCzika
SAS Employee
Another suggestion if you want to keep all the levels is to increase the value for the EM_TRAIN_MAXLEVELS macro variable in the Project Macro Variables window.
ManOfHonor
Obsidian | Level 7

I faced this problem too. So where is this Project Macro Variables window?

WendyCzika
SAS Employee

When you have the project selected in the project panel, click on the "..." for Project Macro Variables, see screenshot.PMW.PNG

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 4 replies
  • 2346 views
  • 1 like
  • 4 in conversation