<?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 Comparing models from different subsets in SAS Model studio in Viya in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/676443#M8382</link>
    <description>&lt;P&gt;Hi, i have a dataset which consist of cells in space. For each cell I have measurements at 16 different times. We are really uncertain around what are he best times and cells to include in model building. My idea was to create similar models where we based on rules wanted to include different cells and times in the model training. However I can not find a way to create different subsets from the main Data set in Model Studio. The filter node does only filter based on outliers/distribution it seems. I knew that in Enteprise Miner I could run and compare models based on different subsets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To exemplify I have the group identifier A,B on the data. I would really like to build a model for only A, only B and A and B combined. Then I would like to compare the models either in one pipeline or in different pipelines inside Model Studio. I can't find a way tp do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Aug 2020 10:57:41 GMT</pubDate>
    <dc:creator>PaalNavestad</dc:creator>
    <dc:date>2020-08-13T10:57:41Z</dc:date>
    <item>
      <title>Comparing models from different subsets in SAS Model studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/676443#M8382</link>
      <description>&lt;P&gt;Hi, i have a dataset which consist of cells in space. For each cell I have measurements at 16 different times. We are really uncertain around what are he best times and cells to include in model building. My idea was to create similar models where we based on rules wanted to include different cells and times in the model training. However I can not find a way to create different subsets from the main Data set in Model Studio. The filter node does only filter based on outliers/distribution it seems. I knew that in Enteprise Miner I could run and compare models based on different subsets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To exemplify I have the group identifier A,B on the data. I would really like to build a model for only A, only B and A and B combined. Then I would like to compare the models either in one pipeline or in different pipelines inside Model Studio. I can't find a way tp do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help?&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 10:57:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/676443#M8382</guid>
      <dc:creator>PaalNavestad</dc:creator>
      <dc:date>2020-08-13T10:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing models from different subsets in SAS Model studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/706631#M8538</link>
      <description>&lt;P&gt;Hi Paal,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Old post, I know, but I'm working on something similar and might have a partial answer to your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added a SAS Code node after the data node. I left the "Training Code" section blank. In the "Scoring Code" section, I added "if seg_flg=1;", where seg_flg=1 is the logic I'm using to define my first subset.&amp;nbsp;Then I added modelling nodes after the SAS Code node. I repeated this for each subset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your situation, this may work if you want to evaluate the models based on the specific subset only, rather than the whole population.&amp;nbsp;On the other hand, if, like me, you want to stack the scored subsets and evaluate them together, then&amp;nbsp;there's something missing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you prefer to use filters, this might be helpful:&amp;nbsp;&lt;A href="https://github.com/sassoftware/sas-viya-dmml-pipelines/tree/master/sas_code_node/subset_data" target="_blank" rel="noopener"&gt;https://github.com/sassoftware/sas-viya-dmml-pipelines/tree/master/sas_code_node/subset_data&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/Tom.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 13:25:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/706631#M8538</guid>
      <dc:creator>tom_evans_79</dc:creator>
      <dc:date>2020-12-17T13:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing models from different subsets in SAS Model studio in Viya</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/707611#M8541</link>
      <description>&lt;P&gt;Thanks Tom, This might work in the use case I was working. I'll keep it in mind. In the original as I found no fast solution I did it all with code. That works but loose some o f the help in documentation etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 07:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Comparing-models-from-different-subsets-in-SAS-Model-studio-in/m-p/707611#M8541</guid>
      <dc:creator>PaalNavestad</dc:creator>
      <dc:date>2020-12-22T07:05:08Z</dc:date>
    </item>
  </channel>
</rss>

