<?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: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431427#M6602</link>
    <description>&lt;P&gt;For some reason this is not working for me... It doesn't look like the code editor is recognizing the macros or the code properly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18142i2B204DA45A31F61A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18143iF6B3EA612515E08A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 19:45:43 GMT</pubDate>
    <dc:creator>ChrisGermain</dc:creator>
    <dc:date>2018-01-26T19:45:43Z</dc:date>
    <item>
      <title>SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modelling?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341390#M5098</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 separate datasets i.e. 1 for training and 1 for testing. &amp;nbsp;The variables are the same except for the training dataset, it contains a Target variable. &amp;nbsp;The Target variable is ordinal and contains value Low, Medium and High. &amp;nbsp;Each record has an unique identifier 'TranID' and variables used for modelling. &amp;nbsp;I want to build a simple decision tree to predict the probabilities of High, Medium and Low for each record in the test dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How do I add the test dataset into the process flow because in the SAS EM guides, they all showed a raw input dataset and then use the Data Partition node to partition into Train, Validate and Test datasets.&lt;/LI&gt;&lt;LI&gt;Will the decision tree output the test results by "TranID, Low (probability), Medium (probability), High (probability)" which I can export into a text file? &amp;nbsp;If yes, which node(s) do I have to use?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I am a SAS EM newbie and am using SAS EM version 14.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lobbie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 01:55:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341390#M5098</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2017-03-16T01:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341568#M5099</link>
      <description>&lt;P&gt;What you have for your test data set is what Enterprise Miner considers a "score" data set. &amp;nbsp;To get predictions for that data set, you can connect both the Input Data node for that data set (with the &lt;STRONG&gt;Role&lt;/STRONG&gt; property set to &lt;STRONG&gt;Score&lt;/STRONG&gt;) and the modeling node that you want to use for your predictions (that uses your training data) to a &lt;STRONG&gt;Score&lt;/STRONG&gt; node, as in the attached screenshot of a sample flow. &amp;nbsp;The Score node will apply the score code from the model to your score data set that doesn't contain the target. &amp;nbsp;Hope that helps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13574iCBEE1DEA2DADC55D/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="ScoreFlow.png" title="ScoreFlow.png" /&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:30:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341568#M5099</guid>
      <dc:creator>WendyCzika</dc:creator>
      <dc:date>2017-03-16T13:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341674#M5101</link>
      <description>&lt;P&gt;You can designate your data to be whatever role you want it to be. I created the image below to show you one file is set to Train and the second file is set to Test. I can then feed them both into the next node in the flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="EM_NEWPROJECT2.gif" alt="EM_NEWPROJECT2.gif" src="https://communities.sas.com/t5/image/serverpage/image-id/7791iD4B25A4F8F97867C/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 16:56:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341674#M5101</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2017-03-16T16:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341678#M5102</link>
      <description>&lt;P&gt;To save to a .txt file you can use the Save Data Node under the utility Tab&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG title="2017-03-16_13-00-48.png" alt="2017-03-16_13-00-48.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7792i9D27A9CE75451F2D/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 17:02:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/341678#M5102</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2017-03-16T17:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/342211#M5104</link>
      <description>&lt;P&gt;Hi Wendy and Melodie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you both for your answers. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10677"&gt;@MelodieRush&lt;/a&gt;, if I need to score the Test dataset later, do I just connect the Score node to the Decision Tree node as shown by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14512"&gt;@WendyCzika&lt;/a&gt;&amp;nbsp;and SAS EM will know which dataset is which?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2017 02:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/342211#M5104</guid>
      <dc:creator>Lobbie</dc:creator>
      <dc:date>2017-03-18T02:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/342546#M5121</link>
      <description>&lt;P&gt;Yes, you can never go wrong following &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/14512"&gt;@WendyCzika&lt;/a&gt;'s advice! EM has lots of different data types, training, valadation, test, score, transaction and raw. It knows what to do when your data is correctly identified and defined.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 12:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/342546#M5121</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2017-03-20T12:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429221#M6581</link>
      <description>&lt;P&gt;What if I need to do data pre-processing on the "test" data set? I have a train and test data set as well, and in production, I would want to add some pre-processing steps that would apply to my "real data" before the modeling nodes run. I'm trying to append my train and test data sets but it doesn't output as one file when I use stat explore or other nodes following. I want to do all of the pre-processing on both the train and test data set to handle missing values, create features, etc. before running through a regression node or decision tree, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also a newb but can't seem to figure this out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 18:13:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429221#M6581</guid>
      <dc:creator>ChrisGermain</dc:creator>
      <dc:date>2018-01-19T18:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429223#M6582</link>
      <description>&lt;P&gt;Are you bringing your data in as one dataset and using data partition to split into training, validation and test or are you bringing 2 (or 3) separate datasets?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 18:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429223#M6582</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2018-01-19T18:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429243#M6584</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm bringing in 2 separate data tables, train and test.&amp;nbsp;They both have all of the same variables except the target variable in the training data set. If I union them in EG, how would I be able to partition where only the data with the target variable is set for training? Would EM know this by me marking that variable as the target variable?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 19:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429243#M6584</guid>
      <dc:creator>ChrisGermain</dc:creator>
      <dc:date>2018-01-19T19:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429267#M6585</link>
      <description>&lt;P&gt;If you combine your data in EG you could use a variation of the code below in the SAS Code node to divide the data the way you want into Training and Test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;data &amp;amp;EM_EXPORT_TRAIN &amp;amp;EM_EXPORT_VALIDATE&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;EM_EXPORT_TEST;&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;set &amp;amp;EM_IMPORT_DATA;&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:1,&amp;quot;335559685&amp;quot;:216,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;if &lt;/SPAN&gt;&lt;SPAN&gt;partition_key&lt;/SPAN&gt;&lt;SPAN&gt;=1 then output &amp;amp;EM_EXPORT_TRAIN;&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:1,&amp;quot;335559685&amp;quot;:216,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;else if &lt;/SPAN&gt;&lt;SPAN&gt;partition_key&lt;/SPAN&gt;&lt;SPAN&gt;=2 then output &amp;amp;EM_EXPORT_VALIDATE;&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:1,&amp;quot;335559685&amp;quot;:216,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;else if &lt;/SPAN&gt;&lt;SPAN&gt;partition_key&lt;/SPAN&gt;&lt;SPAN&gt;=3 then output &amp;amp;EM_EXPORT_TEST;&lt;/SPAN&gt;&lt;SPAN&gt;​&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;Here's a slide that illustrates using a SAS Code Node with this code (from an upcoming Ask the Expert for Tips and Tricks in SAS Enterprise Miner, look for it in April. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-01-19_15-24-02.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/17993iDA21E8FB392BC090/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-01-19_15-24-02.png" alt="2018-01-19_15-24-02.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-ccp-props="{&amp;quot;335551550&amp;quot;:1,&amp;quot;335551620&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559685&amp;quot;:0,&amp;quot;335559731&amp;quot;:0,&amp;quot;335559737&amp;quot;:0,&amp;quot;335562764&amp;quot;:2,&amp;quot;335562765&amp;quot;:0.85,&amp;quot;335562766&amp;quot;:4,&amp;quot;335562767&amp;quot;:8,&amp;quot;335562768&amp;quot;:4,&amp;quot;335562769&amp;quot;:0}"&gt;You can add as many nodes as you want before this SAS code node to do your transformations. This will enable you to have all the same transformation on both the Training and Test datasets.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 20:25:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429267#M6585</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2018-01-19T20:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429278#M6586</link>
      <description>&lt;P&gt;Thank you! I think it would make sense to include a partition following the pre-processing to split the TRAIN data into training and validation and the TEST data to it's own dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And since I'm such a newbie, a few confirmations:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;amp;EM_EXPORT_TRAIN should be "&amp;amp;MY_DATASET_NAME"&lt;/P&gt;&lt;P&gt;partition_key should by "my_field"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 21:03:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429278#M6586</guid>
      <dc:creator>ChrisGermain</dc:creator>
      <dc:date>2018-01-19T21:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429281#M6587</link>
      <description>&lt;P&gt;Actually leave &amp;amp;EM_EXPORT_TRAIN, and the other &amp;amp;dataset names like they are, these will then automatically feed into the next node.&amp;nbsp; The &amp;amp; represents MACRO variables, which means they will resolve to the correct dataset name&amp;nbsp;from previous nodes and for future nodes.&amp;nbsp;If you set up your data source node then connect the SAS Code Node to it, the first line of code only needs to be changed if you are not creating all 3 datasets. Otherwise leave as is and only change partition_id to your "Field Name" and values.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 21:09:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/429281#M6587</guid>
      <dc:creator>MelodieRush</dc:creator>
      <dc:date>2018-01-19T21:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431427#M6602</link>
      <description>&lt;P&gt;For some reason this is not working for me... It doesn't look like the code editor is recognizing the macros or the code properly:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18142i2B204DA45A31F61A/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18143iF6B3EA612515E08A/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.PNG" alt="2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 19:45:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431427#M6602</guid>
      <dc:creator>ChrisGermain</dc:creator>
      <dc:date>2018-01-26T19:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431455#M6604</link>
      <description>&lt;P&gt;Disregard. I had to change the code option from "code format" under Score from "data" to "other".&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 21:08:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431455#M6604</guid>
      <dc:creator>ChrisGermain</dc:creator>
      <dc:date>2018-01-26T21:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Enterprise Miner - How do I include 2 Data sets into a process flow for Decision Tree modell</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431820#M6613</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm now having an issue after changing around some nodes to try different models. I've run the SAS code node to separate my training and test data using my criteria. I'm following that with a data partition node to split the training set in train and validate portions. After that I have a transform variable node which then feeds all of my models. When I run a score node on the best model, my Test data is not running. Any thoughts on why? I wasn't having an issue when I ran the SAS code node and data partition node following the transform variable node. Pic is attached.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 405px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18168iE987E82BEBC45295/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2018 15:55:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/SAS-Enterprise-Miner-How-do-I-include-2-Data-sets-into-a-process/m-p/431820#M6613</guid>
      <dc:creator>ChrisGermain</dc:creator>
      <dc:date>2018-01-29T15:55:49Z</dc:date>
    </item>
  </channel>
</rss>

