This article is about guiding you through the creation of aggregated events.
What is an aggregated event?
In this article, we've learned about Aggregations and how to build aggregations.
To use these data points in the model, we want to know what is the optimal value of an aggregation.
Let's take an example: your common sense would tell you that the more a user logs into your app, the more it is likely to convert. But in reality, this is not a linear correlation. There is a threshold you will want to find which corresponds to the optimal value of time a user logs in per day/month/quarter which indicates they are more likely to convert.
- the Aggregation you'll start from: email_number_login_last_30_days.
Let's say we find the optimal value is 6.
Hmm wait, where does this 6 come from? From a frequency analysis you'll create when building the aggregated events (see next steps)!
- the Aggregated event you'll use in the model to assign points to: email_number_login_last_30_days >= 6
Uh wait, why can't I use a linear function in the model like:
score = email_number_login_last_30_days * points?
Precisely because this is not a linear correlation, which means there is a point at which logging in more than 6 days a month does not make a difference in terms of impact on conversion than just logging in 6 days a month. Therefore, no need to score them higher.
How to build an Aggregated event?
- For Pro and Enterprise plan only
- You have an Admin or Architect role in MadKudu
- You know what a Aggregation is
- You have built an Aggregation
- You know what the Event mapping is
Before starting ...
Make sure you have followed this instruction to create the Aggregation.
Step 1: Create an Aggregated event
- Go to the Data Science Studio Springbok https://springbok.madkudu.com/
- Click on Customer Profile
- Click on Aggregated events
- Click on Create aggregated event from the Aggregation you will be using
- Select the Aggregated events to create based on the recommendation of the frequency analysis
- Frequency analysis
The frequency analysis graph helps to identify the optimal number(s) of occurrences which allows distinguishing the people who are more likely to convert than the ones who are less likely to convert, based on the aggregation you’ve selected. The recommendation will be to create aggregated event(s) for those optimal number(s) of occurrences. The optimal number(s) of occurrences have the highest correlation strength factor.
- The strength factor ranges from −1 to +1, where
- negative numbers (-1 < phi < 0) represent a negative relationship
- zero (phi = 0) represents no relationship
- positive numbers (0 < phi < 1) rrepresents a positive relationship
- Frequency analysis
- Click on Save
Step 2: Deploy the Aggregated events
Now you should be back on the Aggregated events list page.
You have just created an aggregated event, which means you have added it to the library of aggregations.
Now to use the aggregated event in your model. Click on Release new aggregations.
Step 3: Use the Aggregated event in the Likelihood to Buy
See how to assign points to events when building a Likelihood to Buy model in this article.
- Email-level aggregated events can only be used in a Lead level LTB (PQL)
- Account-level aggregated events can only be used in an Account level LTB (MQA).