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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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