<?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 Juletip #7 – Knowledge is power, interpretability is king! in SAS Community Nordic</title>
    <link>https://communities.sas.com/t5/SAS-Community-Nordic/Juletip-7-Knowledge-is-power-interpretability-is-king/m-p/848281#M392</link>
    <description>&lt;P&gt;Have you ever dreamt about predicting the future?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you have come to the right place - Let us create a predictive model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wait wait wait, someone said something?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;“Predictive models are black boxes that cannot be interpreted”&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good news! Christmas is coming, and Santa is bringing a present to you - Model interpretability. And it even works on imputed and transformed variables!&lt;/P&gt;
&lt;P&gt;Yes, that’s right! There are capabilities built into SAS that can assist in interpreting models. The best thing? I will show you how to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My tool of choice for this purpose is SAS Model Studio on SAS Viya. If you haven't used it before, it's a drag-and-drop interface, where you don't have to code anything, unless you really want to. One of my favorite tools for creating models quick and easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 1) create a SAS Model Studio project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap1.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78140i165ABDC77887F4A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap1.PNG" alt="cap1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;As you can see I've opted for the famous HMEQ dataset. Mostly everyone have seen that before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Step 2) Select a target variable. Then add an impute node, some models and enable the model interpretability of your choice:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap2.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78145i9AFEC54DA1BB0D07/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap2.PNG" alt="cap2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Or do like me, and only select your favorite model!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3) Run the pipeline and open the output of a model node:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap3.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78146i805D3F4DBB5A7BE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap3.PNG" alt="cap3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note that the imputed variables are used for interpreting the model. But that’s not what we need to convince the business folks to trust our model. Let's fix that!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 4) Add an ensemble node to a model and enable the same model interpretability:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap4.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78147i6C8024F48851974B/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap4.PNG" alt="cap4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The ensemble node can also be used to connect multiple models, and then use i.e. the average of the model output as scores. In this case, we use it only for interpretation purposes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 5) Run the flow and have a look at the model output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap5.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78148i404E90701E90C3EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap5.PNG" alt="cap5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Voila! The original variables are now used to interpret the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;more information about Model Studio and the interpretations can be found here:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/v_005/vdmmladvug/n0dqb7uyhlqogvn16xnengpro0fc.htm" target="_blank"&gt;SAS Help Center: Model Interpretability&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish you a merry Christmas and a Happy New Year!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 08:00:27 GMT</pubDate>
    <dc:creator>Mike_j</dc:creator>
    <dc:date>2022-12-07T08:00:27Z</dc:date>
    <item>
      <title>Juletip #7 – Knowledge is power, interpretability is king!</title>
      <link>https://communities.sas.com/t5/SAS-Community-Nordic/Juletip-7-Knowledge-is-power-interpretability-is-king/m-p/848281#M392</link>
      <description>&lt;P&gt;Have you ever dreamt about predicting the future?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you have come to the right place - Let us create a predictive model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wait wait wait, someone said something?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;“Predictive models are black boxes that cannot be interpreted”&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good news! Christmas is coming, and Santa is bringing a present to you - Model interpretability. And it even works on imputed and transformed variables!&lt;/P&gt;
&lt;P&gt;Yes, that’s right! There are capabilities built into SAS that can assist in interpreting models. The best thing? I will show you how to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My tool of choice for this purpose is SAS Model Studio on SAS Viya. If you haven't used it before, it's a drag-and-drop interface, where you don't have to code anything, unless you really want to. One of my favorite tools for creating models quick and easy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 1) create a SAS Model Studio project:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap1.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78140i165ABDC77887F4A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap1.PNG" alt="cap1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;As you can see I've opted for the famous HMEQ dataset. Mostly everyone have seen that before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Step 2) Select a target variable. Then add an impute node, some models and enable the model interpretability of your choice:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap2.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78145i9AFEC54DA1BB0D07/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap2.PNG" alt="cap2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Or do like me, and only select your favorite model!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 3) Run the pipeline and open the output of a model node:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap3.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78146i805D3F4DBB5A7BE6/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap3.PNG" alt="cap3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Note that the imputed variables are used for interpreting the model. But that’s not what we need to convince the business folks to trust our model. Let's fix that!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 4) Add an ensemble node to a model and enable the same model interpretability:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap4.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78147i6C8024F48851974B/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap4.PNG" alt="cap4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The ensemble node can also be used to connect multiple models, and then use i.e. the average of the model output as scores. In this case, we use it only for interpretation purposes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Step 5) Run the flow and have a look at the model output:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="cap5.PNG" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/78148i404E90701E90C3EE/image-size/large?v=v2&amp;amp;px=999" role="button" title="cap5.PNG" alt="cap5.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Voila! The original variables are now used to interpret the model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;more information about Model Studio and the interpretations can be found here:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/vdmmlcdc/v_005/vdmmladvug/n0dqb7uyhlqogvn16xnengpro0fc.htm" target="_blank"&gt;SAS Help Center: Model Interpretability&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wish you a merry Christmas and a Happy New Year!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 08:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Community-Nordic/Juletip-7-Knowledge-is-power-interpretability-is-king/m-p/848281#M392</guid>
      <dc:creator>Mike_j</dc:creator>
      <dc:date>2022-12-07T08:00:27Z</dc:date>
    </item>
  </channel>
</rss>

