Skip to main content

Creating prediction data

Once you have deployed your model, you can create predictions on new data.

So far, we have used existing customer data to create a machine learning model. The goal with this process has been to recognize patterns through machine learning, with the goal of applying them to new data.

There is also a use case for only analyzing the SHAP values in the training data. This information is also highly valuable in its own right.

For more information about working with predictions in Qlik AutoML, see Creating predictions on datasets.

The first step in the process is to choose a dataset to which you will be applying your model to generate predictions. After this, you configure your desired properties for the output and generate the files.

In Catalog, open your new ML deployment. ML Model Management will open.

  1. In the bottom right corner of the ML Model Management interface, click Create prediction.

  2. Click Experiment configuration pane to open the Prediction configuration pane, if not already open.

  3. Next, you need to select your apply dataset. Under Apply data, click Select apply dataset.

  4. Select the Customer churn data - apply.csv dataset that we imported at the start of the tutorial.

  5. Compare the schemas of the training and apply datasets. Because you deselected features during training, your apply dataset will have more fields than the training dataset. This is not any cause for concern. When generating predictions, AutoML simply ignores fields from the apply dataset which do not exist in the training dataset.

  6. In the Prediction configuration pane, click Name prediction dataset. Type a name for the dataset (or set it to the default name) and choose a space, then click Confirm.

  7. Under Prediction options, choose the datasets you want to generate with this prediction. In this case, deselect SHAP and Errors, and then select Coordinate SHAP (this converts pivot table data into a standard format which allows analysis of data across all included fields). Allow AccountID to be used as the index column.

    Dataset predictions view in ML Model Management

    Prediction configuration menu and dataset schemas when creating predictions.

Click Save and predict now. The process can be monitored in Dataset predictions.

You can review the output in Catalog by clicking Open in the popup that appears.

Once the prediction has finished running, you can start building an app using the new datasets. Move to the next topic.

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!