<?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 un hpsplit with levelization in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Error-un-hpsplit-with-levelization/m-p/542455#M27187</link>
    <description>&lt;P&gt;Sorry, there was a problem in my data, not in the proc.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 15:37:57 GMT</pubDate>
    <dc:creator>juanvg1972</dc:creator>
    <dc:date>2019-03-12T15:37:57Z</dc:date>
    <item>
      <title>Error un hpsplit with levelization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-un-hpsplit-with-levelization/m-p/542363#M27180</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using proc hpspit in order to create a decision tree. I am usin SAS/STAT in SAS 9.04.01M5P091317&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc hpsplit data = train nodestats=arbol;
    target baja / level=nominal;
    input cod_posicion educacion sexo / level=nominal;
    input edad ant salario eval / level = interval;
    /* Export information about variable importance */
    output importance=import;
    /* Export the model code so this can be used to score testing data */
    code file="/home/user1/pgmas/model_arbol3.sas";
    rules file="/home/user1/pgmas/fich/reglas3.txt";
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and when I execute, I gets an error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ERROR: Levelization contains no levels!&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I have specified the level of each variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The same proc and options runs well with other datasets&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anybody help me??&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:17:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-un-hpsplit-with-levelization/m-p/542363#M27180</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2019-03-12T15:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error un hpsplit with levelization</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Error-un-hpsplit-with-levelization/m-p/542455#M27187</link>
      <description>&lt;P&gt;Sorry, there was a problem in my data, not in the proc.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 15:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Error-un-hpsplit-with-levelization/m-p/542455#M27187</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2019-03-12T15:37:57Z</dc:date>
    </item>
  </channel>
</rss>

