<?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: Where Are My AutoML Model Coefficients? in Qlik Predict</title>
    <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475430#M1012</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209636"&gt;@shansen&lt;/a&gt;&amp;nbsp;, do you simply mean the row level SHAP value or the hyperparameters? If you talking about the HP, there is no way to retrieve that as data. My recommendation is to suggest that feature in Ideation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideation/ct-p/qlik-product-insight" target="_blank"&gt;Ideation | Qlik Community&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2024 19:17:22 GMT</pubDate>
    <dc:creator>igoralcantara</dc:creator>
    <dc:date>2024-08-08T19:17:22Z</dc:date>
    <item>
      <title>Where Are My AutoML Model Coefficients?</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475428#M1011</link>
      <description>&lt;P&gt;Is there a way to get the direct model coefficients out of AutoML, just like typing&amp;nbsp;model.coef_[i] as shown here: &lt;A href="https://shap.readthedocs.io/en/latest/example_notebooks/overviews/An%20introduction%20to%20explainable%20AI%20with%20Shapley%20values.html" target="_blank"&gt;https://shap.readthedocs.io/en/latest/example_notebooks/overviews/An%20introduction%20to%20explainable%20AI%20with%20Shapley%20values.html&lt;/A&gt;&amp;nbsp;?&lt;/P&gt;
&lt;P&gt;What about for categorical data?&amp;nbsp; How do we know how much more/less a certain value in a categorical field will influence the outcome?&lt;/P&gt;
&lt;P&gt;I see the output Shapley value files (Errors, SHAP, Coordinate SHAP), and I know that the sum of the Shapley values sums up to the difference between the baseline model output and the current model output.&amp;nbsp; But, what if the effect of the feature values seems very inconsistent (A numerical value of 59 for feature A on one row has a high positive Shapley value, whereas the next row has a feature A value of 61 and has a negative Shapley value.)&amp;nbsp; Is there a way to glean more insight as to why?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 19:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475428#M1011</guid>
      <dc:creator>shansen</dc:creator>
      <dc:date>2024-08-08T19:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where Are My AutoML Model Coefficients?</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475430#M1012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/209636"&gt;@shansen&lt;/a&gt;&amp;nbsp;, do you simply mean the row level SHAP value or the hyperparameters? If you talking about the HP, there is no way to retrieve that as data. My recommendation is to suggest that feature in Ideation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideation/ct-p/qlik-product-insight" target="_blank"&gt;Ideation | Qlik Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 19:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475430#M1012</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-08-08T19:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Where Are My AutoML Model Coefficients?</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475453#M1013</link>
      <description>&lt;P&gt;I am talking about the row-level SHAP values, and their correlation with the feature values.&amp;nbsp; I have a situation where I am trying to determine which values of a feature contribute to or detract from a positive outcome.&amp;nbsp; I would expect the average SHAP value for a given numerical feature value to be a little more orderly than this. Have you ever seen numeric SHAP values vary so much along a numeric feature value?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 23:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475453#M1013</guid>
      <dc:creator>shansen</dc:creator>
      <dc:date>2024-08-08T23:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Where Are My AutoML Model Coefficients?</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475454#M1014</link>
      <description>&lt;P&gt;The coordinate SHAP values file gives you exactly that. It gives you the shape for each feature and each row. If you don’t see it, it is because the way your chart is presenting. Use a distribution chart with 2 dimensions where one of them is the feature name.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2024 23:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2475454#M1014</guid>
      <dc:creator>igoralcantara</dc:creator>
      <dc:date>2024-08-08T23:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Where Are My AutoML Model Coefficients?</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2478055#M1019</link>
      <description>&lt;P&gt;Igor,&lt;/P&gt;
&lt;P&gt;Thanks for your help.&amp;nbsp; When I used a linear model, the SHAP values of numerical features did give me a linear relationship that I could back-out a coefficient from (See attached Feature Values vs SHAP Values.png.).&amp;nbsp; One troubleshooting issue I had to resolve first was to make sure I matched things up starting on row 0 instead of 1 to match with the Auto ML output:&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;&amp;nbsp; &amp;nbsp;...&lt;BR /&gt;&amp;nbsp; &amp;nbsp;RowNo() - 1 AS my_row_index // The automl_row_index starts at 0.&lt;BR /&gt;FROM [lib://MySpace:DataFiles/outcome_prediction.csv]&lt;/P&gt;
&lt;P&gt;Then things made much more sense.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Aug 2024 16:47:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2478055#M1019</guid>
      <dc:creator>shansen</dc:creator>
      <dc:date>2024-08-26T16:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where Are My AutoML Model Coefficients?</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2478090#M1020</link>
      <description>The SHAP values in Qlik AutoML are based off estimated Shapley values (learn more here: &lt;A href="https://christophm.github.io/interpretable-ml-book/shap.html" target="_blank"&gt;https://christophm.github.io/interpretable-ml-book/shap.html&lt;/A&gt;).&lt;BR /&gt;&lt;BR /&gt;Keep in mind as part of this calculation, estimated contributions are calculated row-by-row, so there may be another factor (feature) on that row that causes the SHAP value for the same feature to be different magnitudes and direction (negative or positive impact). For example, a certain price point may have a positive impact for customers in a certain region, but a negative impact for another region.&lt;BR /&gt;&lt;BR /&gt;These are not related to model coefficients and are calculated after the model has made its predictions, so I would not suggest you use these to try to estimate any sort of model coefficient. In a good model, the sort order of the average absolute value of SHAP values for each feature should roughly match the sort order of the permutation importance of features in the model.&lt;BR /&gt;&lt;BR /&gt;Finally, if you do not have a unique identifier for Qlik AutoML to use as the index column, you must select the “Apply dataset” option in the prediction configuration to get the correct index to match records back to their prediction and SHAP values. Using the RowNo() function is likely not correctly matching these records.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Aug 2024 23:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Where-Are-My-AutoML-Model-Coefficients/m-p/2478090#M1020</guid>
      <dc:creator>Kyle_Jourdan</dc:creator>
      <dc:date>2024-08-26T23:48:37Z</dc:date>
    </item>
  </channel>
</rss>

