Skip to main content Skip to complementary content

Working with ML deployments

After training and refining a model, you can deploy the model to make predictions.

ML deployments can be created in personal, shared, and managed spaces.

Workflow

The following steps are an example of how to work with ML deployments and predictions.

  1. Deploy your model

    Deploy the model you want to use to make predictions.

    Deploying models

  2. Get your model approved

    Before you can make predictions with the ML deployment, the source model needs to be activated for making predictions. Model approval can be performed by users and administrators with specific permissions.

    Approving deployed models

  3. Make predictions

    Make manual or scheduled predictions on datasets or use the real-time prediction endpoint in the Machine Learning API.

    Creating predictions on datasets

  4. Visualize the predictive insights

    Load the generated prediction data into an app and create visualizations.

    Visualizing SHAP values in Qlik Sense apps

  5. Explore the data with what-if scenarios

    Integrate the prediction API into an app to get real-time predictions. This allows you to try out what-if scenarios by changing feature values and getting predicted outcomes for the new values. The record is passed to the ML deployment via API and a response is received in real time. For example, what would happen to the risk of customer churn if we changed the plan type or increased the base fee?

  6. Take action

    Analyze the predictive insights and scenarios to find out which actions to take. Qlik Application Automation helps you automate the actions and provides specific templates for machine learning use cases. For more information about automations, see Qlik Application Automation.

Requirements and permissions

This section lists the user requirements for working with ML deployments, and the predictions you make with them.

ML deployments

To work with ML deployments, you need:

  • Professional or Full User entitlement

  • View and create ML deployments: Automl Deployment Contributor or Automl Experiment Contributor security role

  • Edit and delete ML deployments: Automl Deployment Contributor security role

  • Required role in the space where the ML deployment is located.

For more information, see:

Predictions

To create, edit, and delete prediction configurations, you need:

  • Professional or Full User entitlement

  • Automl Deployment Contributor security role

  • Required role in the space where the ML deployment is located.

Predictions can run as batch predictions (from a prediction configuration) or real-time predictions. You can use the Qlik AutoML connector to run predictions as well.

To run predictions using any of these methods, you need:

  • Automl Deployment Contributor security role

  • Required role in the space where the ML deployment is located:

    • Shared spaces: Users with Professional or Full User entitlement need the Owner, Can manage, Can edit, or Can consume data role in the space. Users with Analyzer entitlement need the Owner or Can consume data role in the space.

    • Managed spaces: Users with Professional or Full User entitlement need the Owner, Can manage, or Can consume data role in the space. Users with Analyzer entitlement need the Owner or Can consume data role in the space.

  • For scheduled predictions configured with the AutoML user interface, there are also requirements for the owner of the prediction configuration. See: Prediction configuration ownership

Predictions generated from the Qlik AutoML user interface are created as datasets. Therefore, the same requirements for working with data sources in Qlik Cloud apply to working with this prediction output (such as using it in a Qlik Sense app). You must have the Private Analytics Content Creator role to create datasets in your personal space.

For more information, see:

Model approval

To activate and deactivate the source deployed model for an ML deployment, you need specific permissions. These permissions are different depending on whether you are performing these actions as a user or administrator. For more information, see:

Learn more

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!