<?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: Using logistic regression in SAS/EG like a task in a workflow in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237161#M17093</link>
    <description>&lt;P&gt;Thanks for your help, Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try model scoring tasks. Previosuly I would like to save the model, is it possible from the Logistic Reg task of SAS/EG.&lt;/P&gt;
&lt;P&gt;I think it is not posiible, but I am not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2015 13:30:52 GMT</pubDate>
    <dc:creator>juanvg1972</dc:creator>
    <dc:date>2015-12-01T13:30:52Z</dc:date>
    <item>
      <title>Using logistic regression in SAS/EG like a task in a workflow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237056#M17090</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a process made in SAS/BASE coding that I want to do now in SAS/EG using workflow.&lt;/P&gt;
&lt;P&gt;I have to do a logistic regression. In my below code you can see that I run a logistic regression (training dataset), save the model and after I apply my model with other dataset (validation)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc logistic data=test outmodel=modelo plots=ROC;&lt;BR /&gt;class cod_tarifa productos;&lt;BR /&gt;model hc_consumo=cod_tarifa productos;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;/*&lt;/P&gt;
&lt;P&gt;/* Apply model*/&lt;/P&gt;
&lt;P&gt;proc logistic inmodel=modelo;&lt;BR /&gt;score data=validar out=validar1;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to do it with logistic regression task in a workflow. I can select target variable (hc_consumo) and features (cod_tarifa productos), but I don't know how to save the model, and how to apply after hist model, is it possible in a SAS/EG guided task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any advice will be greatly appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2015 21:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237056#M17090</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2015-11-30T21:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using logistic regression in SAS/EG like a task in a workflow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237156#M17092</link>
      <description>&lt;P&gt;Hi Juan,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think that the Logistic Regression task supports the&amp;nbsp;&lt;STRONG&gt;SCORE&lt;/STRONG&gt; statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is this task: Tasks-&amp;gt;Data Mining-&amp;gt;&lt;STRONG&gt;Model Scoring&lt;/STRONG&gt;. &amp;nbsp;This allows you to run a stored model against another data set, but the model must be registered in a SAS Metadata repository. &amp;nbsp;(The task is available only if you are connected to a SAS Metadata environment.) That is, you would need to use something like SAS Model Manager or SAS Enterprise Miner to have registered your model from a previous step, then you can select the model to use with your validation data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Otherwise, you would need to do what you're doing: build the model in the Logistic Regression task, but then use a SAS program node to score it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Others who have expertise in data mining might have a better answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 12:52:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237156#M17092</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-12-01T12:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using logistic regression in SAS/EG like a task in a workflow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237161#M17093</link>
      <description>&lt;P&gt;Thanks for your help, Chris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try model scoring tasks. Previosuly I would like to save the model, is it possible from the Logistic Reg task of SAS/EG.&lt;/P&gt;
&lt;P&gt;I think it is not posiible, but I am not sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2015 13:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-logistic-regression-in-SAS-EG-like-a-task-in-a-workflow/m-p/237161#M17093</guid>
      <dc:creator>juanvg1972</dc:creator>
      <dc:date>2015-12-01T13:30:52Z</dc:date>
    </item>
  </channel>
</rss>

