Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!

Qlik AutoML: How to upload, model, deploy, and predict on Qlik Cloud platform

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

Qlik AutoML: How to upload, model, deploy, and predict on Qlik Cloud platform

Last Update:

Apr 10, 2023 12:20:05 PM

Updated By:

KellyHobson

Created date:

Jul 25, 2022 2:29:02 PM

Attachments

 

This article provides step by step guidelines for uploading a dataset (csv from local machine), creating a model, deploying a model, and generating predictions with Qlik AutoML on Qlik Cloud environment.

 

Steps

  1. Log into Qlik Cloud

    log_in_QCS_1.png

  2. Click +Add new and select "Dataset"

    add_dataset_2.png

  3. Select "Upload data file", select Browse, navigate to your file, then click 'Upload'

    browse_dataset_3.png

  4. Once uploaded, click +Add New -> 'New ML Experiment'

    new_ML_experiment_4.png

  5. Give ML experiment  a meaningful name and assign to a space, then click 'Create'

    name_ML_experiment_5.png

  6. Select the dataset you uploaded

    select_dataset_6.png

  7. Select the target variable and features to include in the model. On the right hand side you have additional options to select which algorithms, hyperparamteter optimization, and data prep steps. We are sticking with the defaults. Click 'Run Experiment' on the bottom right side of screen.

    run_experiment_7.png

  8. Model metrics and insights are displayed on the page. If you would like to refine the model, you can select 'Configure V2' on the bottom right. If you are ready to deploy model, then click 'Deploy.'

    deploy_model_8.png

  9. Give the model a meaningful name and then click 'Deploy'

    deploy_give_name_9.png

  10. At the top of the page you will get a notification, click this to open the deployed model. If you 'miss' the notification, you can always navigate to Home -> Catalog -> and search for type 'ML Deployments'. Once opened, you will see a page with metadata about the deployed model. At the bottom right, you will see an option to 'Create Prediction'

    create_prediction_10.png

  11. Select an apply dataset. In this example, I am using the same dataset I used to train the model. (Not advisable but easy for learning purposes).

    select_apply_dataset_11.png

  12. Name your prediction dataset something meaningful and add to working space. Click 'Confirm'

    name_prediction_12.png

    For this particular example, we have an ID column and I will use this as the index column (and later for joining)

    prediction_options_12_2.png

  13. Congratulations! You now have a generated predictions on using your deployed model.

    model_prediction_created_13.png

    If you navigate to 'Home' - > 'Catalog' -> 'Data' you will see your predicted outputs.

    predicted_outputs_13_2.png

 

 

 

Related Content:

Qlik AutoML: Overview of SHAP values

 

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)
Comments
Supersmurf
Partner - Contributor III
Partner - Contributor III

Hi! Inspired by yesterdays blog post I had a go at this, but the "New ML experiment" item under "+ Add new" is not there. I have enabled "Machine learning endpoints", but have the impression that that is for enabling Sense to get the ML++ connections available.

Supersmurf_0-1660726048925.png

Any docs or tips?

Best regards

Jan

KellyHobson
Former Employee
Former Employee

Hey @Supersmurf ,

Confirmed with an internal contact there was a technical issue yesterday, so AutoML features have not been made available yet. 

They should be up hopefully later today (8/17/22), but if not I would check tomorrow and let me know if you are still unable to access.

Best,

Kelly 

KellyHobson
Former Employee
Former Employee

Dear @Supersmurf and others following,

New update from internal: Tuesday 8/23/22 in afternoon AutoML will be available on Qlik Cloud.  Thank you for your patience and will keep you posted if anything changes. 

Best,

Kelly 

William_Wistam
Contributor III
Contributor III

@KellyHobson may I have the sample file insurance.csv for upload, step #3 above? I don't see any download link to the sample file in this article. Thanks.

KellyHobson
Former Employee
Former Employee

Hey @William_Wistam ,

I have attached the dataset to the article and it should appear just below the title. Let me know if you have any issue and I can PM you.

Best,

Kelly

William_Wistam
Contributor III
Contributor III

@KellyHobson Yes, I saw it. Thank you very much!

W

William_Wistam
Contributor III
Contributor III

@KellyHobson I tried three times, got an error on step # 13 above. Error message: "id is a model feature and is not a valid index column", am I missing a step? On step # 12 above, id was set to index column?

William_Wistam_1-1681153974313.png

 

William_Wistam_0-1681153937403.png

 

KellyHobson
Former Employee
Former Employee

Hey @William_Wistam ,

Can you try re-training your model with 'ID' field excluded/unchecked?  i.e during the initial ML experiment when you select your target variable. 

The issue is it's trying to use this field as both and index and a feature during the prediction phase.  Because ID is unique, it's not a helpful feature and thus can be excluded from your model.

Best,

Kelly 

William_Wistam
Contributor III
Contributor III

@KellyHobson  Ahh... that's it, make sense, thanks for your help. It's working now. 

William_Wistam_0-1681175369602.png

 

Version history
Last update:
‎2023-04-10 12:20 PM
Updated by: