Exporting historical data
2 Tasks
15 mins
Scenario
U+ Bank has implemented Pega Customer Decision Hub™ to display a personalized credit card offer to eligible customers on their website. As a data scientist, you want to export the raw data used by the Web Click Through Rate adaptive model to optimize the click through rate of the web banners that contain the credit card offers.
Use the following credentials to log in to the exercise system:
Role | User name | Password |
---|---|---|
Data scientist | DataScientist | rules |
Your assignment consists of the following tasks:
Task 1: Confirm the recording of historical data
Confirm the settings of the Web Click Through Rate Customer adaptive model to record the historical data generated by the model.
Task 2: Trigger the creation of customer interaction records
On the U+ Bank website, log in multiple times and generate a negative response by ignoring the banner, and a positive response by clicking the offer.
Task 3: Examine the JSON file
Examine the first record in the folder, and determine who is the customer, what is the treatment the customer received, and what is the outcome of the interaction.
Challenge Walkthrough
Detailed Tasks
1 Confirm the recording of historical data
- On the exercise system landing page, click Launch Pega Infinity™ to log in Customer Decision Hub.
- Log in as a data scientist:
- In the User name field, enter DataScientist.
- In the Password field, enter rules.
- In the navigation pane on the left, click Intelligence > Prediction Studio.
- On the Predict Web Propensity tile, click Open prediction to open the prediction.
- On the Models tab, in the Propensity to Click section, click Web_Click_through_Rate_Customer to open the model.
- On the Setting tab, in the Recording historical data section, confirm that the Recording historical data checkbox to set the data recording is active.
Note: A web banner typically has many negative responses, so a low sampling percentage is appropriate for these items. For demonstration purposes, the sample percentage for NoResponse is set to 100%.
2 Trigger the creation of customer interaction records
- On the exercise system landing page, in the upper-left corner, open the Application Switcher and click the U+ Bank icon to open the website.
- In the upper-right corner, log in as customer Troy.
- Ignore the offer, and then log out.
- Log in as customer Barbara.
- On the banner, click Learn more to register a positive response.
Confirm your work
- On the Exercise System landing page, in the upper-left corner, open the Application Switcher and then click the Filebrowser icon to open the repository.
- Log in to the repository:
- In the User name field, enter pega-filerepo.
- In the Password field, enter pega-filerepo.
- Navigate to the ADM > Rule-Decision-AdaptiveModel > Data-Decision-Request-Customer-CDH > Web_Click_Through_Rate_Customer folder, and then open one of the json files.
Tip: The export of the data occurs every 15 minutes. Therefore, it may take some time before the files are created in the repository.
- Question – In the first record, who is the customer, what is the treatment the customer received, and what is the outcome of the interaction?
- The customer ID is recorded as the Decision_SubjectID property, the treatment is recorded as the Context_Treatment, and the outcome is recorded as the Decision_Outcome property.
This Challenge is to practice what you learned in the following Module:
Available in the following mission:
Want to help us improve this content?