<?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>article Getting SaaSsy with DataRobot in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Getting-SaaSsy-with-DataRobot/ta-p/1976989</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DataRobotLogo.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88285iA784CDE1B2210A1C/image-size/small?v=v2&amp;amp;px=200" role="button" title="DataRobotLogo.png" alt="DataRobotLogo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;With Qlik Sense Enterprise on Windows you needed to utilize a Server Side Extension to reach your data science platforms. But with &lt;STRONG&gt;&lt;FONT color="#339966"&gt;Qlik Cloud&lt;/FONT&gt;&lt;/STRONG&gt; you have a myriad of built-in advanced analytics/data science connectors at your fingertips.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;I hope that you will forgive me for the cheesy pun title, but it was hard to resist. As this document is about how you can call your DataRobot deployments from your Qlik Cloud SaaS tenant applications.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;In this document, you will learn how to:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Create an Analytics Connector to make predictions via DataRobot, C&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;onfigure the connection and Call it to make your predictions.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Creating a Connection&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The DataRobot connector will be found under the Analytics Sources when you choose to add a connection. Simply click it. Seriously it's that easy and probably didn't even need its own section. But Creating, Configuring and Calling seemed like a trifecta of headers so I went with it.&amp;nbsp;&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-center" image-alt="QlikSenseAnalyticsConnectorsChooseDataRobot.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88289i6BAF13CB9EB267F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="QlikSenseAnalyticsConnectorsChooseDataRobot.jpg" alt="QlikSenseAnalyticsConnectorsChooseDataRobot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Configuring your Connection&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your first configuration option will be regarding the type of predictions you wish to make. Which of course are based on the deployment you are calling within DataRobot. The default is Predictions, but you can also choose Timeseries Predictions if that is the model you are calling from DataRobot.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SelectDataRobotPredictionsOrTimeSeries.png" style="width: 246px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88291i6FC437B72853CF8C/image-size/large?v=v2&amp;amp;px=999" role="button" title="SelectDataRobotPredictionsOrTimeSeries.png" alt="SelectDataRobotPredictionsOrTimeSeries.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The next several parameters involve things that are not simple drop-down selections like that. The Deployment ID, API Key and DataRobot Key are all really weird, unique number strings. The kind of things you can't usually memorize or rattle off the top of your head. The Host is a URL string that is unique to your deployment environment within the DataRobot universe. But don't panic they can be found pretty easily within your DataRobot SaaS environment. Since go to the "&lt;STRONG&gt;Deployments&lt;/STRONG&gt;", choose the specific "&lt;STRONG&gt;Deployment&lt;/STRONG&gt;" you wish to call, Choose "&lt;STRONG&gt;Predictions&lt;/STRONG&gt;", "&lt;STRONG&gt;Prediction API&lt;/STRONG&gt;" and then choose "&lt;STRONG&gt;Real-Time&lt;/STRONG&gt;" as the &lt;STRONG&gt;Prediction Type&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As the following screenshot depicts, DataRobot will hand you all of that information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DeploymentPredictionDetails.png" style="width: 839px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88292i6B911BE3E512670F/image-size/large?v=v2&amp;amp;px=999" role="button" title="DeploymentPredictionDetails.png" alt="DeploymentPredictionDetails.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Simply copy/paste the information provided by DataRobot to the "&lt;STRONG&gt;Create new connection (DataRobot)&lt;/STRONG&gt;" dialog.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;Notice that since the connection is capturing the "Deployment ID," that your DataRobot connections are specific to individual deployments. If a deployment is removed and a model is re-deployed, you will need to update your DataRobot connection within Qlik Cloud.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="CreateNewConnection1.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88290i222F91FEAB6FECFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="CreateNewConnection1.png" alt="CreateNewConnection1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are a few more parameters that you will need to populate. The "&lt;STRONG&gt;Timestamp Format&lt;/STRONG&gt;" will be auto-filled for you, as will the "&lt;STRONG&gt;Response Table.&lt;/STRONG&gt;" If you are only calling a single DataRobot deployment within your application a name like "&lt;STRONG&gt;DataRobot Predictions&lt;/STRONG&gt;" is fine. However, if you want to be super specific, or you will have multiple DataRobot deployments being called, you can rename it as desired.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps most importantly, is the &lt;STRONG&gt;Association&lt;/STRONG&gt; section. As you know, tables within Qlik Sense are associated. So we need to provide the connector with the name of the KEY field/&lt;STRONG&gt;Association Field&lt;/STRONG&gt; that is in our Data Model and check the box for "&lt;STRONG&gt;Send Association Field&lt;/STRONG&gt;" so that when the data is returned (see below) it can be associated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Like any of the data connectors within Qlik Sense, you need to provide a &lt;STRONG&gt;Name&lt;/STRONG&gt; for your DataRobot connection. Then you are ready to Test the connection by pressing "&lt;STRONG&gt;Test connection&lt;/STRONG&gt;" and then press "&lt;STRONG&gt;Create&lt;/STRONG&gt;." (The following screenshot was taken after an Edit, so it has "&lt;STRONG&gt;Save&lt;/STRONG&gt;" instead of "Create.")&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CreateNewConnection2.png" style="width: 940px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88293iF27034D600C8A26E/image-size/large?v=v2&amp;amp;px=999" role="button" title="CreateNewConnection2.png" alt="CreateNewConnection2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Calling your Connection&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hurray! You have a new connection ready to go. Just like all data connection types, the DataRobot connection you just created needs to be called to retrieve data. Simply find your specific connection and click the "Select data" option.&amp;nbsp;&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-center" image-alt="CallDataRobotConnection.png" style="width: 200px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88295i57E94787CD71749F/image-size/small?v=v2&amp;amp;px=200" role="button" title="CallDataRobotConnection.png" alt="CallDataRobotConnection.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Next you will be prompted for a really important piece of information, the name of the table that contains the data you need to have the predictions executed for. If you are a Qlikkie then you are well aware of the concept of a "&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Resident Table.&lt;/STRONG&gt;&lt;SPAN&gt;" If you aren't a Qlikkie, this is simply the name of the table that is already resident in memory.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Or specifically, will be by the tame we call this DataRobot connection to have predications executed. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It's probably helpful at this point to back up a second and talk about the specific data being used for this example. It is a healthcare use case where we are calling DataRobot to make predictions about the likelihood a patient will be re-admitted to the hospital once they have been discharged. In this case, we have a table named &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DiabetesData&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;that contains 50 different health variables. We used the Auto-Pilot feature in DataRobot to train many different models. Chose the "winner" and deployed it. Now we are pulling the most current information for a given set of patients and want to see what the readmission prediction is.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="DiabetesData.png" style="width: 300px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88298iC5BDF56F9BE9C845/image-size/large?v=v2&amp;amp;px=999" role="button" title="DiabetesData.png" alt="DiabetesData.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regardless of whether we have populated our &lt;FONT face="courier new,courier"&gt;DiabetesData&lt;/FONT&gt; table with all patients currently in our hospital(s) and running this is a batch, or whether we are using an On-Demand Application Generation or Dynamic View setup, the &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DiabetesData&lt;/STRONG&gt; &lt;/FONT&gt;table is the "&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;" we wish to pass to our DataRobot deployment so we need to enter that name. Then you can simply check the box for "&lt;STRONG&gt;DataRobot Predictions&lt;/STRONG&gt;" (name given in the Configuration of the connection.) Lastly, press the "&lt;STRONG&gt;Insert Script&lt;/STRONG&gt;" button.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="SelectFromDeployment.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88296iEA189AD85D71692A/image-size/large?v=v2&amp;amp;px=999" role="button" title="SelectFromDeployment.png" alt="SelectFromDeployment.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Qlik Sense will then insert a simple ScriptEval call into your load script for you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ScriptEvalPredictions.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88300i591B50B1EC2369C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScriptEvalPredictions.png" alt="ScriptEvalPredictions.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now anytime the Load Script is executed, your DataRobot predictions will be available via the data model. Notice in the image below that our &lt;FONT face="courier new,courier"&gt;&lt;STRONG&gt;DiabetesData&lt;/STRONG&gt; &lt;/FONT&gt;and &lt;STRONG&gt;DataRobot Predictions&lt;/STRONG&gt; tables are associated based on that &lt;FONT face="courier new,courier"&gt;Master_Pastient_ID&lt;/FONT&gt; field that we identified in the configuration. We can now display our patient data and our predictions anyway that we wish in our application. With the knowledge that the predictions have been made based on the most recent information, we have in the application. If you are using an On-Demand Application Generation (ODAG) or Dynamic View strategy, it will be based on the live values read at the time and as frequently as the end user requests it.&amp;nbsp;&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-center" image-alt="DataModelViewerPredictons.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/88304iC913582EEB6690C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DataModelViewerPredictons.png" alt="DataModelViewerPredictons.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;H3&gt;Related Content&lt;/H3&gt;
&lt;P&gt;DataRobot via Qlik Application Automation -&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Knowledge/DataRobot-Predictions-from-Either-Path-You-Choose/ta-p/1978270" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/DataRobot-Predictions-from-Either-Path-You-Choose/ta-p/1978270&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2022 14:33:34 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2022-10-12T14:33:34Z</dc:date>
    <item>
      <title>Getting SaaSsy with DataRobot</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Getting-SaaSsy-with-DataRobot/ta-p/1976989</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In this document, you will learn how to:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Create an Analytics Connector to make predictions via DataRobot, C&lt;/SPAN&gt;&lt;SPAN&gt;onfigure the connection and Call it to make your predictions within your Qlik Cloud environment(s.) Your predictions will be based on the most recently available data in your application, and if your code is being executed via On-Demand Application Generation or Dynamic Views, the data will be from near real time queries based on the end users selections and frequency.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 14:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Getting-SaaSsy-with-DataRobot/ta-p/1976989</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2022-10-12T14:33:34Z</dc:date>
    </item>
  </channel>
</rss>

