Skip to content

Predicting churn with a model for each customer

A churn model starts with a clear definition of cancellation and ends with a tested action. For DPG Media, we identified usage patterns linked to fewer cancellations.

We identified patterns linked to a lower likelihood of cancellation among digital subscribers to two DPG Media brands

We analysed product usage with Python, SQL, dbt and machine learning. “Working with DSL enabled us to turn our data into actionable steps, resulting in targeted and effective campaigns and activations.” Mascha Wijker, Communication Manager

Read the case study

Who is likely to cancel, and can we spot it in time to act?

You only see cancellations in the report after they’ve happened. Each week, a churn model estimates each customer’s likelihood of cancelling and shows the signals behind it, so your retention or customer service team can still call, email or adjust the offer.

Book a call

A churn model gives you a probability, a reason and a time to intervene for each customer

Talk to us about customers who cancel

A definition that fits your goal

For DPG Media, subscribers who returned shortly after cancelling were not counted as churned customers. This prevented temporary cancellations made to get an extra discount from distorting the results.

A fixed prediction window

The model predicts whether someone will cancel within a fixed period after the measurement date, using only data from before that date.

Signals you can explain

Usage, length of the customer relationship and subscription type all contribute to each customer’s score. For every score, we show which signals carried the most weight.

Measuring the effect of the action

Some customers with a high score do not receive the action. This lets you see whether calls, emails or discounts really reduce cancellations.

Define churn before building the model, then measure the impact of your actions

  1. Define churn

    What counts as churn, what counts as a temporary pause, and how far ahead should the prediction look?

  2. Model and explanation

    We build the model using usage, subscription and contact data, test it against a later period and show the signals for each customer.

  3. Action and monitoring

    Scores go to the CRM or campaign tool. A control group measures the impact; we retrain the model if behaviour changes.

Do you have enough cancellation history and usage data for a churn model?

Find out in a conversation

A good fit if

Customers have a subscription or contract they can cancel, you have records for a substantial number of customers who have cancelled, and a team is ready to act on a score for each customer.

Not a good fit if

You have a small number of customers whom you know personally, cancellations are not recorded with dates, or no one can act on the scores. In that case, a churn analysis or dashboard is a better first step.

What determines the scope

How many sources contain usage, subscription and contact data; whether customer IDs match across them; how often the scores are updated; where the scores are used; and whether you want to measure the effect of your actions.

Can you assign customers a cancellation score?

A score for each customer constitutes profiling: according to the EDPB, the automated analysis of personal data to evaluate personal aspects. Your legal adviser or data protection officer (DPO) should assess how to explain and manage this.

Churn analysis, a simple scoring model or machine learning: which is right for your customer cancellations?

Churn analysis

Choose this if you first want to understand why customers leave. It involves analysing groups of customers, as described in our blog post on reducing churn.

A simple scoring model

Choose this if explainability matters and you already know which signals to look for, for example with logistic regression. Our advice: start here. It gives you a benchmark for any more complex model.

Machine learning

Choose this if you have plenty of usage data and the relationships are not straightforward, for example with gradient boosting. Read more about machine learning.

We analysed subscriber data from two news brands down to usage patterns

Data Science Lab has worked in data and AI since 2016. Based in Amsterdam, we are a Databricks and Microsoft partner. For DPG Media, we combined subscriber data using dbt and Snowflake and analysed usage.

Book an introductory meeting

Our first conversation starts with what counts as a cancellation for your organisation

Stef Stoelwinder

Stef Stoelwinder

Business Development

Stef is your point of contact. In our first conversation, we’ll discuss what counts as a cancellation for your organisation and what customer data you have.

Which customers who cancelled would we have liked to spot sooner?

Describe your subscription or contract, what counts as a cancellation and where your customer data is stored. We’ll reply by email or arrange an initial meeting.

Enter a valid email address.

Let us know how we can help you.

Frequently asked questions

Churn is the number of customers who stop using your product or service. Churn prediction means using a model to calculate each customer’s likelihood of cancelling in a future period. You can then identify customers likely to leave before that churn appears in your figures. It is one of the AI applications we build.

If you first want to understand what your customers are worth and how they can be grouped, read about customer analysis using data.

It depends on your goal. In our analysis for DPG Media, we wanted to understand the behaviour behind churn. So the rules were fairly strict: subscribers who returned after a short time did not count as churned customers, because many cancel temporarily to get an additional discount. If you are measuring revenue or monthly customer losses, you would include them.

Also decide whether a failed payment counts as a cancellation. That is a different problem from a customer choosing to leave. Read the blog post on reducing churn.

The window is the period in which you predict cancellations, starting from a fixed point in time. The model can only use data from before that point. If the input includes a cancellation email or a call to the cancellation line, the model may look good, but it is not predicting anything you did not already know.

Choose the window based on the action: a retention call needs more lead time than an email with an offer.

Common features include usage and changes in usage, length of the customer relationship, subscription type, contact with customer service and payments. For DPG Media, we selected factors based on domain knowledge and a literature review, and segmented customers by subscription type, length of the relationship and activity.

Different factors turned out to affect churn risk in each segment. A model that ignores those differences misses signals.

For each customer, we show which features push the score up or down the most, for example using SHAP values: a method that calculates each feature’s contribution to an individual prediction. That way, the retention team member can see that app usage has fallen, rather than just seeing a high score.

Bear in mind that a feature associated with cancellation is not necessarily its cause. You need to test separately whether acting on it works.

With a control group: a randomly selected portion of customers with a high score does not receive the action. The difference in cancellations between the two groups is the effect of the action, not the model.

Not every customer with a high likelihood of leaving can be persuaded to stay; some will cancel regardless, while others would have stayed anyway. Uplift modelling predicts whose decision the action will change. That first requires a few rounds with control groups.

By continually comparing scores with outcomes. A price change, a new product or a different cancellation process changes the behaviour the model was trained on. When that happens, you retrain the model and first test it against recent cancellations.

At DPG Media, we added the data monthly, using dbt and Snowflake for repeatable transformations. You can read how we monitor models in production under MLOps.

If you have a handful of customers you know personally, cancellations are not recorded with dates, or nobody can act on a score. In those cases, a one-off churn analysis or a dashboard offers more insight with less work.

A model is worthwhile only if there are enough cancellations to learn from and a team that will work through the list every week. See also the DPG Media case study.