<?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: Data partition node inside Group node  create views of Train and Validate in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Data-partition-node-inside-Group-node-create-views-of-Train-and/m-p/131674#M1139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;When running group processing, you are right that any tables produced by the Partition node would get replaced with each loop.&amp;nbsp; If you want to use each of the training and validation tables that are created during the loops, a SAS Code node is required.&amp;nbsp; For example, you might have a flow such as IDS -&amp;gt; Start Group -&amp;gt; Partition -&amp;gt; SAS Code -&amp;gt; End Group, and the SAS Code node would contain code to create the training and validation data sets to use later. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC APPEND base = &amp;amp;em_lib.TrainbySegment data = &amp;amp;em_import_data force;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;PROC APPEND base = &amp;amp;em_lib.ValidatebySegment data = &amp;amp;em_import_validate force;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code would create two tables, TrainbySegment and ValidatebySegment.&amp;nbsp; You could really put them anywhere you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&amp;nbsp; Another good resource for questions like this one is tech support: &lt;A href="mailto:support@sas.com"&gt;support@sas.com&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jul 2013 17:01:23 GMT</pubDate>
    <dc:creator>lryan</dc:creator>
    <dc:date>2013-07-12T17:01:23Z</dc:date>
    <item>
      <title>Data partition node inside Group node  create views of Train and Validate</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Data-partition-node-inside-Group-node-create-views-of-Train-and/m-p/131673#M1138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using a data partition node inside a group node with a statification by segment. The Train and validation dataset are created as views. I would like to to create train and validation datasets for the various segments for further&amp;nbsp; analysis purpose.&amp;nbsp;&amp;nbsp; How can i go about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I appreciate all your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 14:11:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Data-partition-node-inside-Group-node-create-views-of-Train-and/m-p/131673#M1138</guid>
      <dc:creator>AmitKB</dc:creator>
      <dc:date>2013-07-11T14:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data partition node inside Group node  create views of Train and Validate</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Data-partition-node-inside-Group-node-create-views-of-Train-and/m-p/131674#M1139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;When running group processing, you are right that any tables produced by the Partition node would get replaced with each loop.&amp;nbsp; If you want to use each of the training and validation tables that are created during the loops, a SAS Code node is required.&amp;nbsp; For example, you might have a flow such as IDS -&amp;gt; Start Group -&amp;gt; Partition -&amp;gt; SAS Code -&amp;gt; End Group, and the SAS Code node would contain code to create the training and validation data sets to use later. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC APPEND base = &amp;amp;em_lib.TrainbySegment data = &amp;amp;em_import_data force;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;PROC APPEND base = &amp;amp;em_lib.ValidatebySegment data = &amp;amp;em_import_validate force;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code would create two tables, TrainbySegment and ValidatebySegment.&amp;nbsp; You could really put them anywhere you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&amp;nbsp; Another good resource for questions like this one is tech support: &lt;A href="mailto:support@sas.com"&gt;support@sas.com&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 17:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Data-partition-node-inside-Group-node-create-views-of-Train-and/m-p/131674#M1139</guid>
      <dc:creator>lryan</dc:creator>
      <dc:date>2013-07-12T17:01:23Z</dc:date>
    </item>
  </channel>
</rss>

