Skip to main content

Configuring an adaptive model

Archived

3 Tasks

30 mins

Pega Customer Decision Hub 8.4
Visible to: All users
Beginner Pega Customer Decision Hub 8.4 English
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded.

Scenario

BankCo, a retail bank, has decided to launch two new credit card offers, Classic and Gold cards, to attract new customers. Initially, the offers occur only on the inbound call center channel. Typically, the call center agents have only one chance to promote a marketing offer. The bank wants to promote the offer in which the customer is most likely interested. As these are new offers, there is no historical information to develop traditional propensity models. Also, there is very limited time, and the bank wants to go live with the new offers. The bank wants to use adaptive analytics to determine which card to offer to each customer.

Use the following credentials to log in to the exercise system:

Role Username Password
Data Scientist DataScientist rules

Your assignment consists of the following tasks:

Task 1: Create an adaptive model

Create a new adaptive model definition in Prediction Studio.

Task 2: Use an adaptive model in a strategy

Use the model definition in a decision strategy, which selects the offer in which the customer is most likely interested.

Task 3: Confirm your work

Unit test the strategy to verify that the system creates the models and the models output the propensity value for each of the offers.

Challenge Walkthrough

Detailed Tasks

1 Create an adaptive model

  1. Log in as a Data Scientist with user name DataScientist and password rules.
  2. In the navigation pane on the left, click Intelligence > Prediction Studio > Models.
  3. In the upper right, click New > Adaptive model.
  4. In the Create adaptive model dialog box, enter the following information:
    1. Name: Card Response
    2. Business Issue: Sales
    3. Positive outcome: Accepted
    4. Negative outcome: Rejected
    5. Context: Use default context (Customer)
    New model
  5. Click Create.
  6. On the Predictors tab, in the Add field list, select Add multiple fields.
    Fields
  7. In the Add predictors dialog box, click Current page (Customer).
  8. On the right, select the Name check box to select all predictors.
    Add predictors
  9. Click Submit.
  10. On the Outcomes tab, check the outcomes.
    1. Positive outcome: Accepted
    2. Negative outcome: Rejected
  11. On the Settings tab, set the model update frequency parameter (Update model after every) to 100.
  12. Save the adaptive model configuration.
Note: On the Monitor tab, you do not see any adaptive models. Why? The adaptive models are created once the decision strategy is executed (and there is a demand for a given model).
  1. In the lower left, click Back to Customer Decision Hub.

2 Use an adaptive model in a strategy

  1. From the navigation pane on the left, click Intelligence > Strategies to view the list of strategies.
  2. Search for and double-click PrioritizeCreditCards to open the strategy.
  3. Check out the strategy.
  4. Double-click the canvas to reposition the strategy.
  5. On the strategy canvas, right-click and select Decision Analytics > Adaptive model to add the component to the canvas.
    Components
  6. Connect the Set Property component to the Adaptive Model component.
    Connect
  7. Right-click the Adaptive Model component, and then select Properties to configure the component with the following information.
    1. Adaptive Model: CardResponse
    2. Name: Card Response
    Properties
  8. On the strategy canvas, right-click and select Arbitration > Prioritize to add a prioritization component.
    Prioritize
  9. Right-click the Prioritize component, and then select Properties to configure the component with the following information:
    1. Name: Prioritize by Propensity.
    2. Expression: .pyPropensity.
    3. Highest first: checked.
    4. OUTPUT: Top 3.
    pyPropensity
  10. Connect the Adaptive Model component to the Prioritize component.
  11. Connect the Prioritize component to the Results.
    Strategy

3 Confirm your work

  1. On the right, click the arrow to open the Test run pane.
    Arrow
  2. Click Save & run.
  3. Scroll down, and then verify that the Propensity value is 0.5.
Note: Do you know why the value is 0.5?
  1. On the strategy canvas, right-click the Adaptive Model component, and then select Open Adaptive Model to open the Card Response adaptive model definition.
  2. Click the Monitor tab.
  3. On the Monitor tab, click Refresh data.
Note: You should now see two adaptive models. Why?


Available in the following mission:

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice