<?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: Oversampling in EMiner in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Oversampling-in-EMiner/m-p/319641#M4802</link>
    <description>&lt;P&gt;If what you are saying is the proportion in your sample was originally 0.04/0.96, then you oversampled to get 0.3/0.7, then in a Decisions node, you should have entered the original prior probabilities as the Adjusted Priors. &amp;nbsp;Then if you look in the score code in the Score node, you should see lines like this doing the adjustment of the posterior probabilities:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*** Update Posterior Probabilities;&lt;BR /&gt;P_BAD1 = P_BAD1 * 0.04 / 0.3;&lt;BR /&gt;P_BAD0 = P_BAD0 * 0.96 / 0.7;&lt;BR /&gt;drop _sum; _sum = P_BAD1 + P_BAD0 ;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 20:39:40 GMT</pubDate>
    <dc:creator>WendyCzika</dc:creator>
    <dc:date>2016-12-16T20:39:40Z</dc:date>
    <item>
      <title>Oversampling in EMiner</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Oversampling-in-EMiner/m-p/319557#M4799</link>
      <description>&lt;P&gt;Quite obvious my target event is rare, so I put a decision node to adjust the priors, Original proporition was 0.04/0.96 after adjust ment its 0.3/0.7. the decision tab on the decision node is 1.0 - 1.0 at digonal positions.&lt;/P&gt;&lt;P&gt;When I am scoring a test data the probabilites of the event that I am getting is around 0.3(event=1) and 0.7(event=0) I thougth EM do the adjustments for the probabilities and expected probabilites near 0.04 and 0.96. Is there anything I have to do to get the probilities adjusted, as I would get without the decision node?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 16:16:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Oversampling-in-EMiner/m-p/319557#M4799</guid>
      <dc:creator>MagicalEmerald</dc:creator>
      <dc:date>2016-12-16T16:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Oversampling in EMiner</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Oversampling-in-EMiner/m-p/319641#M4802</link>
      <description>&lt;P&gt;If what you are saying is the proportion in your sample was originally 0.04/0.96, then you oversampled to get 0.3/0.7, then in a Decisions node, you should have entered the original prior probabilities as the Adjusted Priors. &amp;nbsp;Then if you look in the score code in the Score node, you should see lines like this doing the adjustment of the posterior probabilities:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*** Update Posterior Probabilities;&lt;BR /&gt;P_BAD1 = P_BAD1 * 0.04 / 0.3;&lt;BR /&gt;P_BAD0 = P_BAD0 * 0.96 / 0.7;&lt;BR /&gt;drop _sum; _sum = P_BAD1 + P_BAD0 ;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 20:39:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Oversampling-in-EMiner/m-p/319641#M4802</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2016-12-16T20:39:40Z</dc:date>
    </item>
  </channel>
</rss>

