<?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: Using New AutoML connection in visualization in Qlik Predict</title>
    <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1992409#M113</link>
    <description>&lt;P&gt;The first thing I'd suggest is to make sure you have created all those variables you are using and that they are populated.&lt;/P&gt;&lt;P&gt;Next,&amp;nbsp;&lt;EM&gt;ScriptEval&lt;/EM&gt; is not the correct function to use for this use case. It should be&amp;nbsp;&lt;EM&gt;ScriptEvalStr&lt;/EM&gt; or&amp;nbsp;&lt;EM&gt;ScriptEvalEx&lt;/EM&gt; (we recommend using&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/sse-syntax.htm" target="_self"&gt;&lt;EM&gt;ScriptEvalStr&lt;/EM&gt;&lt;/A&gt; for simplicity).&lt;/P&gt;&lt;P&gt;Finally, the value you have for the "column" parameter cannot be correct. The AutoML API will always return the name of the target, an underscore, and one of the possible prediction outcomes. For example, if your target column is called "Churned" and the possible outcomes are "yes" or "no", the column would be called "Churned_yes".&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 16:26:47 GMT</pubDate>
    <dc:creator>Kyle_Jourdan</dc:creator>
    <dc:date>2022-10-13T16:26:47Z</dc:date>
    <item>
      <title>Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1985022#M101</link>
      <description>&lt;P&gt;Hi Qlik Community&lt;/P&gt;
&lt;P&gt;I am trying to bring in real time predictions using the newly available AutoML Connection for Qlik Cloud.&lt;/P&gt;
&lt;P&gt;I have used the following expression in the KPI visualization to pass parameters to the ml deployment :&lt;/P&gt;
&lt;P&gt;Just changing discount rate using variable input&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;endpoints.ScriptAggrEx('SNNNNNNN','{"RequestType":"endpoint", "endpoint":{"connectionname":"qlik_comp_retail_data:Customer_Qlik_AutoML", "column":"total_order_value_180_days"}}',&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;customer_id,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;days_since_1st_order,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;recency,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;frequency,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;monetary,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;vDiscountRate as avg_discount_rate,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;avg_days_between_orders,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;RFM_score&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I am facing this error&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="priy_0-1664101890041.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89825iE07AB8B083DF6F3A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="priy_0-1664101890041.png" alt="priy_0-1664101890041.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any error in the script or this is not supported yet?&lt;/P&gt;
&lt;P&gt;I am successfully able to get predictions from load script using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD * EXTENSION endpoints.ScriptEval('{"RequestType":"endpoint", "endpoint":{"connectionname":"qlik_comp_retail_data:Customer_Qlik_AutoML"}}', Customer_value_next_period_apply_final);&lt;/P&gt;
&lt;P&gt;I created the connection&amp;nbsp;qlik_comp_retail_data:Customer_Qlik_AutoML suing new AutoML connector and using same in the abovce expression in visualization.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="priy_2-1664103059229.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89827i4FB50C8C053D1EF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="priy_2-1664103059229.png" alt="priy_2-1664103059229.png" /&gt;&lt;/span&gt;&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="priy_1-1664102967435.png" style="width: 496px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/89826i56B01E5E32D82EAA/image-dimensions/496x311?v=v2" width="496" height="311" role="button" title="priy_1-1664102967435.png" alt="priy_1-1664102967435.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2022 10:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1985022#M101</guid>
      <dc:creator>priy</dc:creator>
      <dc:date>2022-09-25T10:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1985059#M102</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/138777"&gt;@priy&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There are a few troubleshooting steps to take here:&lt;/P&gt;&lt;P&gt;1. Try changing the function to&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;ScriptEvalStr&lt;/EM&gt;&lt;/STRONG&gt; and remove the first parameter (&lt;STRONG&gt;'SNNNNNNN',). &lt;/STRONG&gt;AutoML does its own data type handling, so sending all as string reduces issues occurring before request is even made.&lt;/P&gt;&lt;P&gt;2. An error can be returned if a NULL value is not being handled correctly, sometimes where you may not expect one, so I've found that adding null handling (such as Coalesce) helped address that issue.&lt;/P&gt;&lt;P&gt;3. Finally, the connector can sometimes have issue processing too many records, so I'd recommend adding a calculation condition to the visual so that it only calculates if one record has been selected (then you can gradually increase that limit to test the threshold before you start receiving errors).&lt;/P&gt;&lt;P&gt;Hope this helps get you back on track,&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 04:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1985059#M102</guid>
      <dc:creator>Kyle_Jourdan</dc:creator>
      <dc:date>2022-09-26T04:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1985078#M103</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;SPAN&gt;Kyle_Jourdan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thanks for your input, your ideas for troubleshooting were really helpful. They helped to reach to the solution. I was doing following things wrong:&lt;/P&gt;
&lt;P&gt;1. Actually I was passing customer_id which was not included in my deployed model as its cardinality was high.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. The column name that wanted to bring was &lt;STRONG&gt;total_order_value_180_days_predicted. "_predicted"&amp;nbsp;&lt;/STRONG&gt;is added by the autoMl.&lt;/P&gt;
&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 02:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1985078#M103</guid>
      <dc:creator>priy</dc:creator>
      <dc:date>2022-09-26T02:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1992385#M112</link>
      <description>&lt;P&gt;Hello Everybody,&lt;/P&gt;
&lt;P&gt;I've the same problem.&lt;/P&gt;
&lt;P&gt;I need help about advanced analytic connector with Qlik AutoML on visualisation's side. I already succeed to creat an advanced analytic connector in developpement's side and it work. But i don't understand how the fonction 'scripteval' work on visualisation's side.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a data set about Churned and i want to creat a sheet with a prediction's simulation.&lt;/P&gt;
&lt;P&gt;Here my script:&lt;/P&gt;
&lt;P&gt;endpoints.ScriptEval('{"RequestType":"endpoint", "endpoint":{"connectionname":"Qlik AutoML:Customer_Cancellations_Apps_Qlik_AutoML", "column":"Churned"}}',&lt;BR /&gt;vTerritory as Territory,&lt;BR /&gt;vTerritory as DeviceType,&lt;BR /&gt;vPromotion as Promotion,&lt;BR /&gt;vHasRenewed as HasRenewed,&lt;BR /&gt;vPlanType as PlanType,&lt;BR /&gt;vBaseFee as BaseFee,&lt;BR /&gt;vNumberOfPenalties as NumberOfPenalties,&lt;BR /&gt;vCurrentPeriodUsage as CurrentPeriodUsage,&lt;BR /&gt;vPriorPeriodUsage as PriorPeriodUsage,&lt;BR /&gt;vServiceRating as ServiceRating,&lt;BR /&gt;vServiceTickets as ServiceTickets,&lt;BR /&gt;vStartMonth as StartMonth,&lt;BR /&gt;vStartWeek as StartWeek,&lt;BR /&gt;vCustomerTenure as CustomerTenure)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And i facing the same error&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1992385#M112</guid>
      <dc:creator>AUCH</dc:creator>
      <dc:date>2022-10-13T15:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1992409#M113</link>
      <description>&lt;P&gt;The first thing I'd suggest is to make sure you have created all those variables you are using and that they are populated.&lt;/P&gt;&lt;P&gt;Next,&amp;nbsp;&lt;EM&gt;ScriptEval&lt;/EM&gt; is not the correct function to use for this use case. It should be&amp;nbsp;&lt;EM&gt;ScriptEvalStr&lt;/EM&gt; or&amp;nbsp;&lt;EM&gt;ScriptEvalEx&lt;/EM&gt; (we recommend using&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/LoadData/sse-syntax.htm" target="_self"&gt;&lt;EM&gt;ScriptEvalStr&lt;/EM&gt;&lt;/A&gt; for simplicity).&lt;/P&gt;&lt;P&gt;Finally, the value you have for the "column" parameter cannot be correct. The AutoML API will always return the name of the target, an underscore, and one of the possible prediction outcomes. For example, if your target column is called "Churned" and the possible outcomes are "yes" or "no", the column would be called "Churned_yes".&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 16:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1992409#M113</guid>
      <dc:creator>Kyle_Jourdan</dc:creator>
      <dc:date>2022-10-13T16:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1996924#M115</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;
&lt;P&gt;merci beaucoup pour votre aide. En effet, le problème venait bien :&lt;/P&gt;
&lt;P&gt;- de la fonction ScriptEval. Il fallait utiliser ScriptEvalStr()&lt;/P&gt;
&lt;P&gt;- et de la colonne cible "Churned" qui s'appelle bien "Churned_" suivi de la valeur souhaitée, issue de la table de prédiction.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 07:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/1996924#M115</guid>
      <dc:creator>AUCH</dc:creator>
      <dc:date>2022-10-26T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using New AutoML connection in visualization</title>
      <link>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/2127976#M706</link>
      <description>&lt;P&gt;Hello , i have&amp;nbsp; a question related to this but using a custom API and am analytics connector. how can i pass dynamic parameters in ScriptEvalStr() , i am using the connector to connect to a custom API , but i need to pass dynamic parameters&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Predict/Using-New-AutoML-connection-in-visualization/m-p/2127976#M706</guid>
      <dc:creator>NapcoNational</dc:creator>
      <dc:date>2023-10-12T12:10:06Z</dc:date>
    </item>
  </channel>
</rss>

