<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error: Max. target levels of 512 exceeded in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Error-Max-target-levels-of-512-exceeded/m-p/607180#M8065</link>
    <description>Are you sure your nominal attribute has 513 levels? If it did, 550 levels would have been enough. &lt;BR /&gt;Verify the number of levels within then nominal variable. You can use the following code or a proc freq to do that. &lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;select count(distinct varName) as N_Distinct&lt;BR /&gt;from tableName;&lt;BR /&gt;quit;</description>
    <pubDate>Tue, 26 Nov 2019 03:01:04 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-11-26T03:01:04Z</dc:date>
    <item>
      <title>Error: Max. target levels of 512 exceeded</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Error-Max-target-levels-of-512-exceeded/m-p/607174#M8064</link>
      <description>&lt;P&gt;I am using Enterprise Miner to train a Logistic Regression Model. In my dataset, there is a nominal attribute which has 513 classes. So, the training was not performed since it exceeded 512. Then, I followed the instruction to change the EM_TRAIN_MAXLEVELS to 550, I also added "%let EM_TRAIN_MAXLEVELS = 550" in Project Start Code. I used a new Regression node to run the flow, but it still didn't work. This time the error is "&lt;STRONG&gt;Error:&lt;/STRONG&gt; Maximum target levels of 550 exceeded."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I supposed to do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 02:29:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Error-Max-target-levels-of-512-exceeded/m-p/607174#M8064</guid>
      <dc:creator>MLAC</dc:creator>
      <dc:date>2019-11-26T02:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Max. target levels of 512 exceeded</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Error-Max-target-levels-of-512-exceeded/m-p/607180#M8065</link>
      <description>Are you sure your nominal attribute has 513 levels? If it did, 550 levels would have been enough. &lt;BR /&gt;Verify the number of levels within then nominal variable. You can use the following code or a proc freq to do that. &lt;BR /&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;select count(distinct varName) as N_Distinct&lt;BR /&gt;from tableName;&lt;BR /&gt;quit;</description>
      <pubDate>Tue, 26 Nov 2019 03:01:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Error-Max-target-levels-of-512-exceeded/m-p/607180#M8065</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-26T03:01:04Z</dc:date>
    </item>
  </channel>
</rss>

