Skip to main content


Creating predictions for customer engagement

Suggest edit Updated on January 19, 2022

Optimize customer engagement by creating predictions that predict customer behavior, such as web clicks, conversions, or churn. By adding predictions to your decision strategies, you can determine the next best actions for your customers and your business.

  1. In the navigation pane of Prediction Studio, click Predictions.
  2. In the header of the Predictions work area, click New.
  3. In the Create a prediction window, select Pega Customer Decision Hub, and then click Next.
  4. In the Prediction name field, enter a name for the prediction.
  5. Specify what you want to predict.For example:

    To predict whether a customer is likely to accept an offer, select the following settings:

    1. In the Outcome list, select Accept.
    2. In the Subject list, select Customer.

    To predict whether a customer who is likely to click a web banner is also likely to accept the corresponding offer and convert, select the following settings:

    1. In the Outcome list, select Click + Conversion.
    2. In the Subject list, select Customer.Note:

      A prediction that calculates the probability of two subsequent actions is called a multistage prediction. To decide which type of prediction is the better choice for you, review the guidelines for single-stage and multistage predictions.

      This type of prediction requires long-term feedback. You can define how long to wait for the customer to respond to your offer by configuring the response time-out in the prediction settings.

    Creating a prediction to predict the probability of two sequential events
    The click and conversion template is selected as the prediction

    To predict an outcome that does not match any of the available templates, select the following settings:

    1. In the Outcome list, select Custom.
    2. In the Outcome name field, enter a name for the outcome, for example, Upsell sensitivity.
    3. In the Subject list, select the subject of the prediction.
  6. If you work with branches and want to save the prediction to a specific branch, select Save to branch, and then select a rule set and a branch.
  7. Review your settings, and perform one of the following actions:
    • If you selected Churn as the outcome that you want to predict, click Create and go to step 14.
    • If you selected other outcomes, start the Prediction wizard by clicking Start wizard.
  8. In the Select data wizard step, choose one of the following options:
    • To create a prediction without historical data, select I do not have historical data.

      In most cases, historical data is not available or necessary. You can continue without it.

    • To create a prediction with historical data, select I have historical data, and then select the data set that contains your historical data.Note:

      Historical data informs the prediction so that it performs better right from the start. To use this option, you need to import your historical data into a data set. Ensure that the data set contains a pyOutcome property for the outcome of each customer interaction, as well as properties that describe the context of each interaction, for example, pyIssue, pyGroup, pyName, pyDirection, and pyChannel. For more information, see Importing data into a data set.

  9. Click Next.
  10. In the Prediction configuration wizard step, review the response labels for the prediction, and then click Next.
  11. In the Select predictors wizard step, select the fields that you want to use as input for the prediction.
    To increase the accuracy of your prediction, select a wide range of fields to use as predictors. Do not include fields that are not suitable as predictors, for example, the Identifier and Date Time fields. For more information, see Best practices for adaptive and predictive model predictors.
  12. Confirm your choice of predictors by clicking Next.
  13. In the Review prediction wizard step, review the prediction settings, and then complete the model creation process by clicking Create.
  14. To change the prediction properties at this stage, in the Prediction window, click Configure, and then make your changes.
  15. Click Save.Result: The prediction is now available in the Predictions workspace. Depending on the settings that you selected, Prediction Studio created an adaptive model or a scorecard as the basis of the prediction.
  16. If you are using parameterized predictors, add them to the adaptive model that is the basis of the prediction.
    For more information, see Adding parameterized predictors. Tip: To open the model that is the basis of the prediction, in the Prediction workspace, on the Models tab, click the name of the corresponding model.
  17. Optional: To customize your prediction, for example, by changing the control group settings or by configuring the response time-out, see Customizing predictions.
  18. Optional: To replace the model that is the basis of the prediction with a different model, see Replacing models in predictions with MLOps.
What to do next: Include the prediction in your application, for example, as part of a decision strategy. For more information, see Defining a Prediction shape.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us