Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

Qlik AutoML: How to join predicted output to original trained dataset

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
KellyHobson
Former Employee
Former Employee

Qlik AutoML: How to join predicted output to original trained dataset

Last Update:

Jul 27, 2022 11:27:21 AM

Updated By:

KellyHobson

Created date:

Jul 26, 2022 6:04:40 PM

After generating model predictions in Qlik AutoML on Qlik Cloud, you can view the data in a Qlik Sense App. This way the data is hosted in the Cloud and you can view your output with Qlik Sense while it remains staged in the Catalog.

Viewing predictions helps to understand the model output and is also useful in generating visualizations.

For this example, we pick up from the previous article (Qlik AutoML: How to upload, model, deploy, and predict on the Qlik Cloud platform) after we have generated the predictions.

Note: in this example, there is an 'ID' column linking all tables together in a 1-to-1 relationship.

 

  1. Navigate to Qlik Cloud Console and Catalog. In this example, I've generated predictions for a Gradient Boost model (_XGBR)

    XGBR_predicted_listing_1.png

  2. Go to Add new -> "New Analytics App"

    add_new_analytics_app_2.png

  3. Give it a meaningful name and click "Create"

    create_app_3.png

  4. In this example, we will generate from files in Data Catalog

    select_data_from_catalog_4.png

  5. Select ….Prediction_XGBR_SHAP, …Prediction_XGBR and the original dataset insurancev2.csv then click 'Next' on bottom right, the 'Load into App'

    select_predictions_SHAP_originaldata_5.png

  6. This will display the 'Data Manager' page. Click 'Apply' on the recommended associations on the right hand side of the page

    apply_associations_6.png

  7. Now the tables will be linked by the common 'ID' value between all tables

    linked_tables_by_id_7.png

  8. In order to combine the datasets into 1 table for additional analysis, we will do simple Left join on ID. Select 1 of the tables and then click 'Concatenate or Join'

    initial_concatenate_8.png

    Will produce:

    select_left_join_8_2.png

    Select Left Join then Apply

    select_left_join_and_apply_8_3.png

    Produces a combined table:

    initial_combined_table_8_4.png

  9. Now follow the same steps to combing insurancev2_Prediction_XGBR with insurancev2. Select insurancev2_Prediction_XGBR and click 'Concatenate or join'. Select left join and apply.

    second_left_join_and_apply_9.png

  10. Now, we have 1 table with columns from all three tables which were joined by 'ID'. Click on 'Load Data' in top right corner to load the data into the app and begin making visualizations or exploring SHAP values.

    load_data_10.png

    After clicking 'Load Data':

    load_succesful_10_2.png

 

 

More info to come about Visualizations you can create in Qlik Sense!

 

Environment

 

The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.

 

Labels (3)
Version history
Last update:
‎2022-07-27 11:27 AM
Updated by: