By default, SAS® Enterprise Miner™ limits the maximum number of levels of a nominal variable to 512. If you exceed this limit, messages similar to the following are displayed:
This error does not necessarily mean that there is a problem. "Target levels" in the error text refers to the targeted number of levels (512), not to your literal target variable.
The most common reason that this error occurs is the variable definition or measurement level. Possibly a variable in the data source is defined as a Nominal Input, when instead the variable should be defined as an Interval Input, or as an ID. A second common reason is that you do want to define the variable as a Nominal Input, but that the variable has more than 512 levels. In that case, increase the limit on the number of levels. If you encounter this error and do not suspect a problem with your data, then you can eliminate this message in two ways. To decide whether to change the definition or to increase the number of levels, use your knowledge about your data to determine the statistically appropriate method for the analysis.
After you make either change, you need to either force the flow to re-run, or to delete your existing problem node, and replace the problem node with a new node. To force the flow to re-run, change the Rerun property in the first node of your flow to Yes and then re-run the flow.
In SAS Enterprise Miner 12.3 and later, you can override the EM_TRAIN_MAXLEVELS setting in either of two methods. You can use the Project Start Code or you can use the Project Macro Variables. Prior to 12.3, only the Project Start Code method was available. To access these properties, click the project name in the Project Panel (upper left area). The Project Start Code property and the Project Macro Variables property are displayed in the Properties panel (middle left are). For information, see the chapter "SAS Enterprise Miner User Interface Help". To access the chapter in SAS Enterprise Miner, select Help ► Contents ► User Interface ► SAS Enterprise Miner User Interface Help.
Project Macro Variables. Enter the EM_TRAIN_MAXLEVELS value that you want to use.
Project Start Code. Submit this statement, but replace MYVALUE with the numeric value that you want to use:
When SAS Enterprise Miner runs, Project Macro Variables are processed before Project Start Code. Therefore, if you specify EM_TRAIN_MAXLEVELS values in both locations, only the value that is specified in Project Start Code is used.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | SAS Enterprise Miner | Microsoft Windows XP 64-bit Edition | ||
Microsoft® Windows® for x64 | ||||
z/OS | ||||
Microsoft® Windows® for 64-Bit Itanium-based Systems | ||||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | ||||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | ||||
Microsoft Windows 95/98 | ||||
Microsoft Windows 2000 Advanced Server | ||||
Microsoft Windows 2000 Datacenter Server | ||||
Microsoft Windows 2000 Server | ||||
Microsoft Windows 2000 Professional | ||||
Microsoft Windows NT Workstation | ||||
Microsoft Windows Server 2003 Datacenter Edition | ||||
Microsoft Windows Server 2003 Enterprise Edition | ||||
Microsoft Windows Server 2003 Standard Edition | ||||
Microsoft Windows Server 2003 for x64 | ||||
Microsoft Windows Server 2008 | ||||
Microsoft Windows Server 2008 for x64 | ||||
Microsoft Windows XP Professional | ||||
Windows 7 Enterprise 32 bit | ||||
Windows 7 Enterprise x64 | ||||
Windows 7 Home Premium 32 bit | ||||
Windows 7 Home Premium x64 | ||||
Windows 7 Professional 32 bit | ||||
Windows 7 Professional x64 | ||||
Windows 7 Ultimate 32 bit | ||||
Windows 7 Ultimate x64 | ||||
Windows Millennium Edition (Me) | ||||
Windows Vista | ||||
Windows Vista for x64 | ||||
64-bit Enabled AIX | ||||
64-bit Enabled HP-UX | ||||
64-bit Enabled Solaris | ||||
ABI+ for Intel Architecture | ||||
AIX | ||||
HP-UX | ||||
HP-UX IPF | ||||
Linux | ||||
Linux for x64 | ||||
Linux on Itanium | ||||
Solaris | ||||
Solaris for x64 | ||||
Tru64 UNIX |
Type: | Usage Note |
Priority: | |
Topic: | Analytics ==> Data Mining |
Date Modified: | 2017-04-13 13:15:35 |
Date Created: | 2007-04-26 08:47:40 |