<?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: MAE in enterprise Miner in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/MAE-in-enterprise-Miner/m-p/463048#M7033</link>
    <description>&lt;P&gt;Since it looks like EM doesn't calculate that measure, you could do the following in a SAS Code node after the Model Comparison node (not sure if this is the best way, but I think it should work):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data mae;
   set &amp;amp;em_import_data end=last; /* you can use another partition here: &amp;amp;em_import_validate or &amp;amp;em_import_test */
   retain sae nobs 0;
   sae + abs(R_&lt;EM&gt;target&lt;/EM&gt;); /* R_&lt;EM&gt;target&lt;/EM&gt; is the residual.  Put the name of your target in for &lt;EM&gt;target &lt;/EM&gt;*/
   nobs + 1;
   if last then do;
      mae = sae / nobs;
      output;
   end;
run;
 
proc print data=mae; &lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 17 May 2018 16:24:20 GMT</pubDate>
    <dc:creator>WendyCzika</dc:creator>
    <dc:date>2018-05-17T16:24:20Z</dc:date>
    <item>
      <title>MAE in enterprise Miner</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/MAE-in-enterprise-Miner/m-p/463011#M7032</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im running continuous Response (y) models in EM using Decision tree, NN, Reg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to compare the mean absolute error (mae) from another system....I cant find the mae in the model comparison output&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can I easily get that from the neural network data set since that is the winning model&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;george&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 14:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/MAE-in-enterprise-Miner/m-p/463011#M7032</guid>
      <dc:creator>statman123</dc:creator>
      <dc:date>2018-05-17T14:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: MAE in enterprise Miner</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/MAE-in-enterprise-Miner/m-p/463048#M7033</link>
      <description>&lt;P&gt;Since it looks like EM doesn't calculate that measure, you could do the following in a SAS Code node after the Model Comparison node (not sure if this is the best way, but I think it should work):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data mae;
   set &amp;amp;em_import_data end=last; /* you can use another partition here: &amp;amp;em_import_validate or &amp;amp;em_import_test */
   retain sae nobs 0;
   sae + abs(R_&lt;EM&gt;target&lt;/EM&gt;); /* R_&lt;EM&gt;target&lt;/EM&gt; is the residual.  Put the name of your target in for &lt;EM&gt;target &lt;/EM&gt;*/
   nobs + 1;
   if last then do;
      mae = sae / nobs;
      output;
   end;
run;
 
proc print data=mae; &lt;BR /&gt;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 16:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/MAE-in-enterprise-Miner/m-p/463048#M7033</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2018-05-17T16:24:20Z</dc:date>
    </item>
  </channel>
</rss>

