<?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 Setting variable weight on decision tree using SAS Miner in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Setting-variable-weight-on-decision-tree-using-SAS-Miner/m-p/669294#M8355</link>
    <description>&lt;P&gt;&lt;BR /&gt;I have a data set with a binary target where only 1.3% of the members are marked as 1, while 98.7% are marked as 0, and I need to run a decision tree on that set. So, I tried two ways of doing that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I created a simple random sample on SAS with 30% of the members marked as 1 and 70% marked as 0, and also created a "weight" variable on the data set, where the weight of the members marked as 1 was 1 and the weight of the others was 22 or something like that. Then, when defining my data source on SAS Miner, I assigned the frequency role to my weight variable. I tried to run the decision tree on that set, but it only returned one node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I read the Decisions Node Example from this page &lt;A href="https://documentation.sas.com/?docsetId=emref&amp;amp;docsetTarget=p0ak10c0ywr8mrn1an7tum03sp7g.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=em" target="_blank"&gt;https://documentation.sas.com/?docsetId=emref&amp;amp;docsetTarget=p0ak10c0ywr8mrn1an7tum03sp7g.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=em&lt;/A&gt; and tried again, following the instructions. I set the "Decisions", and then connected it to the "Decision Tree", and on Train Properties, I defined Import Tree Model as Yes, runned the tree, and got an error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jul 2020 20:14:12 GMT</pubDate>
    <dc:creator>Livia_L</dc:creator>
    <dc:date>2020-07-14T20:14:12Z</dc:date>
    <item>
      <title>Setting variable weight on decision tree using SAS Miner</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Setting-variable-weight-on-decision-tree-using-SAS-Miner/m-p/669294#M8355</link>
      <description>&lt;P&gt;&lt;BR /&gt;I have a data set with a binary target where only 1.3% of the members are marked as 1, while 98.7% are marked as 0, and I need to run a decision tree on that set. So, I tried two ways of doing that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) I created a simple random sample on SAS with 30% of the members marked as 1 and 70% marked as 0, and also created a "weight" variable on the data set, where the weight of the members marked as 1 was 1 and the weight of the others was 22 or something like that. Then, when defining my data source on SAS Miner, I assigned the frequency role to my weight variable. I tried to run the decision tree on that set, but it only returned one node&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I read the Decisions Node Example from this page &lt;A href="https://documentation.sas.com/?docsetId=emref&amp;amp;docsetTarget=p0ak10c0ywr8mrn1an7tum03sp7g.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=em" target="_blank"&gt;https://documentation.sas.com/?docsetId=emref&amp;amp;docsetTarget=p0ak10c0ywr8mrn1an7tum03sp7g.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=em&lt;/A&gt; and tried again, following the instructions. I set the "Decisions", and then connected it to the "Decision Tree", and on Train Properties, I defined Import Tree Model as Yes, runned the tree, and got an error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I'm doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2020 20:14:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Setting-variable-weight-on-decision-tree-using-SAS-Miner/m-p/669294#M8355</guid>
      <dc:creator>Livia_L</dc:creator>
      <dc:date>2020-07-14T20:14:12Z</dc:date>
    </item>
  </channel>
</rss>

