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.
- Deploy your model
Deploy the model you want to use to make predictions.
- 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.
- Make predictions
Make manual or scheduled predictions on datasets or use the real-time prediction endpoint in the Machine Learning API.
- Visualize the predictive insights
Load the generated prediction data into an app and create visualizations.
- 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?
- Take action
Analyze the predictive insights and scenarios to find out which actions to take. Qlik Automate helps you automate the actions and provides specific templates for machine learning use cases. For more information about automations, see Qlik Automate.
- Replace models when needed
Over time, your input data might change in distribution and features. If your original machine learning problem remains the same, you can swap new models into your existing ML deployment to allow seamless improvement to predictions with minimal disruption. If you need to redefine your original machine learning problem, you can create a new experiment.
Requirements and permissions
For information about the required space roles for working with deployments and predictions in shared and managed spaces, see:
-
Shared space permissions for users with Professional or Full User entitlement
-
Shared space permissions for users with Analyzer entitlement
-
Managed space permissions for users with Professional or Full User entitlement
-
Managed space permissions for users with Analyzer entitlement
If you are an administrator, see Who can work with Qlik Predict for a comprehensive overview of the required user permissions for working with deployments and predictions.