Skip to content

Commit b319c01

Browse files
authored
Merge pull request #7268 from segmentio/predictions-model-monitoring
Predictions Model Monitoring GA
2 parents d26b0c9 + 43adbd4 commit b319c01

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed

src/unify/Traits/predictions/using-predictions.md

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,44 @@ redirect_from:
77

88
## Working with Predictions in Segment
99

10-
Segment creates Predictions as Computed Traits, with scores saved to user profiles as a percentage cohort. For example, `0.8` on a user's profile indicates that the user is in the the cohort's 80th percentile, or the top 20%.
10+
Predictions are stored as [computed traits](/docs/unify/Traits/computed-traits/) in user profiles, with scores represented as percentage cohorts. For example, a score of `0.8` indicates the user is in the 80th percentile, or the top 20% of the cohort.
1111

12-
Once you've selected a cohort, you can use Predictions in concert with other Segment features:
12+
After selecting a cohort, use Predictions with the following Segment features:
1313

14-
- [Audiences](/docs/engage/audiences/), which you can create with predictions as a base. As part of Engage, Segment also offers prebuilt [Suggested Predictive Audiences](/docs/unify/traits/predictions/suggested-predictive-audiences/).
14+
- [Audiences](/docs/engage/audiences/), build new audiences using Predictions as a base. Segment also provides prebuilt [Suggested Predictive Audiences](/docs/unify/traits/predictions/suggested-predictive-audiences/) as part of Engage..
1515
- [Journeys](/docs/engage/journeys/); use Predictions in Journeys to trigger [Engage marketing campaigns](/docs/engage/campaigns/) when users enter a high-percentage cohort, or send promotional material if a customer shows interest and has a high propensity to buy.
1616
- [Destinations](/docs/connections/destinations/); send your Predictions downstream to [Warehouses](/docs/connections/storage/warehouses/), support systems, and ad platforms.
1717

1818
### Prediction tab
1919

20-
Once Segment has generated your prediction, you can access it in your Trait's **Prediction** tab. The Prediction tab gives you actionable insight into your prediction.
20+
You can access generated Predictions in the **Prediction** tab of your Trait. The Prediction tab gives you actionable insight into your prediction.
2121

2222
![The Explore your prediction section of the Computed Trait Prediction tab](../../images/explore_prediction.png)
2323

2424
The **Explore your prediction** section of the Prediction tab visualizes prediction data and lets you create Audiences to target. An interactive chart displays a percentile cohort score that indicates the likelihood of users in each group to convert on your chosen goal. You can choose the top 20%, bottom 80%, or create custom ranges for specific use cases.
2525

2626
You can then create an Audience from the group you've selected, letting you send efficient, targeted marketing campaigns within Journeys. You can also send your prediction data to downstream destinations.
27-
27+
28+
### Model monitoring
29+
30+
Predictions rank your customers by their likelihood to perform a specific conversion event, from most to least likely.
31+
32+
For each custom prediction, Segment monitors the percentile cohort where customers were ranked when they performed the predicted conversion event. After around 7 days, Segment creates a graph data visualization, allowing you to evaluate the prediction’s accuracy based on real workspace data.
33+
34+
![Bar chart showing conversion history across percentile cohorts. The top 10% cohort has the highest number of conversions, followed by the 81-90% cohort, with decreasing conversions as cohorts move lower in the percentile range.](../../images/model_monitoring.png)
35+
36+
For example, suppose you're predicting the likelihood of customers completing an `order_completed` event. The graph shows that:
37+
38+
- Customers in the 91–100% cohort performed the event about 6,700 times.
39+
- Customers in the 81–90% cohort performed the event about 3,900 times.
40+
- Customers in the 71–80% cohort performed the event about 3,000 times.
41+
42+
This pattern shows that the prediction was extremely accurate in identifying customers most likely to convert. Ideally, most graphs will show a similar trend, where the highest-ranked cohorts have the most conversion activity.
43+
44+
However, this pattern can change depending on how you use Predictions. For example, if you run a marketing campaign targeting the bottom 10% cohort, you might see an increase in conversions for that group instead.
45+
46+
Like any AI or machine learning tool, Predictions may not always be perfect. Start small, test your predictions, and refine your approach as needed. Model monitoring makes it easier to measure and improve the accuracy of your predictions.
47+
2848
#### Model statistics
2949

3050
The Predictions tab's **Understand your prediction** section provides insights into the performance of the underlying predictive model. This information helps you understand the data points that contribute to the prediction results.
@@ -33,7 +53,7 @@ The Predictions tab's **Understand your prediction** section provides insights i
3353

3454
The Understand your prediction dashboard displays the following model metrics:
3555

36-
- **AUC**, or Area under [the ROC curve](https://en.wikipedia.org/wiki/Receiver_operating_characteristic){:target="_blank"}; AUC lands between 0 and 1, where 1 is a perfect future prediction, and 0 represents the opposite. Higher AUC indicates better predictions.
56+
- **AUC**, or Area under [the ROC curve](https://en.wikipedia.org/wiki/Receiver_operating_characteristic){:target="_blank"}; AUC values range from 0 to 1, with 1 indicating a perfect prediction and 0 indicating the opposite. Higher AUC indicates better predictions.
3757
- **Lift Quality**, which measures the effectiveness of a predictive model. Segment calculates lift quality as the ratio between the results obtained with and without the predictive model. Higher lift quality indicates better predictions.
3858
- **Log Loss**; the more a predicted probability diverges from the actual value, the higher the log-loss value will be. Lower log loss indicates better predictions.
3959
- **Top contributing events**; this graph visually describes the events factored into the model, as well as the associated weights used to create the prediction.
@@ -72,7 +92,7 @@ Predictions may not be as beneficial in the following situations:
7292

7393
## FAQs
7494

75-
#### What type of machine learning model do you use?
95+
#### What type of machine learning model does Segment use?
7696

7797
Segment uses a binary classification model that uses decision trees.
7898

@@ -92,7 +112,7 @@ These data science statistics measure the effectiveness of Segment's predictions
92112

93113
The Prediction Quality Score factors AUC, log loss, and lift quality to determine whether Segment recommends using the prediction. A model can have a score of Poor, Fair, Good, or Excellent.
94114

95-
#### How do you store trait values?
115+
#### How does Segment store trait values?
96116

97117
The created trait value represents the user's percentile cohort. This value will refresh when we re score the customers based on your refresh cadence. If you see `0.85` on a user's profile, this means the user is in the 85th percentile, or the top 15% for the prediction.
98118

src/unify/images/model_monitoring.png

126 KB
Loading

0 commit comments

Comments
 (0)