Home / Insights / AI and Machine Learning
AI and Machine Learning
Churn Prediction for Subscription Businesses: Features, Models and the Actions That Follow
A churn model is only worth building if someone will act differently because of its output. This guide walks subscription leaders through defining churn, building features, choosing and validating models, and wiring predictions into retention actions you can measure.
TopicsAI and Machine Learning
Key takeaways
- Define churn precisely, per business model, before touching data: voluntary versus involuntary, the observation window and the prediction horizon all change what the model learns.
- Behavioural change features (usage trending down, support friction, billing events) usually carry more signal than static attributes such as plan or company size.
- Start with a rules baseline and a well-regularised logistic regression or gradient-boosted trees; judge them on precision at the capacity your team can actually contact, not accuracy.
- Calibrated probabilities matter as soon as you combine risk with customer value or decide budgets, so test calibration separately from ranking quality.
- The model is not the outcome. Run retention actions as controlled experiments with a hold-out group, or you will never know whether the programme saved anyone.
On this page
- What exactly are you predicting?
- Which features carry churn signal?
- Which models should you compare, and how do you judge them?
- Do you need calibrated probabilities and explanations?
- How do you turn scores into retention actions?
- What are the privacy obligations, risks and running costs?
- Churn prediction readiness checklist
- Frequently asked questions
- Sources and methodology
Most subscription businesses already know their churn rate. Far fewer know, early enough to act, which customers are about to leave and what would change their minds. That gap is where churn prediction sits. Done well, it gives a customer success or retention team a short, ranked list each week and a reason for each name on it.
This article is for founders, CTOs and product or operations leads at SaaS, subscription commerce, media and membership businesses who are deciding whether to build churn prediction and how. It covers how to define churn so the model learns the right thing, which features tend to carry signal, how to choose and validate models, how to turn scores into actions, and what to watch for in privacy and running costs. It reflects the way we approach predictive work in our machine learning development practice: agree the decision first, beat a simple baseline, then put the model into a pipeline that someone owns.
What exactly are you predicting?
The single most common reason churn projects disappoint is a vague target. “Will this customer churn?” is not yet a question a model can answer. You need to pin down four things.
1. Which kind of churn
- Voluntary churn: the customer cancels or does not renew. This is what retention teams can influence through product, service and offers.
- Involuntary churn: the subscription lapses because a payment fails. This is usually better handled with billing fixes (retry schedules, card updater services, dunning emails) than with a predictive model.
- Silent churn or disengagement: the customer still pays but has stopped using the product. In contract-based B2B SaaS this is often the earliest warning you get.
Mixing these into one label teaches the model a blurred pattern. Build separate targets, or at least exclude involuntary churn from a model meant to drive customer success outreach.
2. Contractual or non-contractual
In a monthly consumer subscription, churn is an explicit event you can see. In annual B2B contracts, the decision is made weeks before renewal and the visible event arrives late. In non-contractual businesses (pay-as-you-go, marketplaces) there is no cancellation at all, so you define churn as inactivity beyond a threshold, which you should set from your own data on how long inactive customers typically stay away.
3. Observation window and prediction horizon
Decide the snapshot date, how much history the model may look back on (for example, the previous 90 days), and how far ahead it predicts (for example, churn in the next 30 days). The horizon must leave enough time to act. A prediction that a customer will cancel tomorrow is accurate and useless.
4. The decision the score will drive
Write down who will use the output and what they will do: a customer success manager calls the top 40 accounts each week; a lifecycle marketing tool sends a re-engagement sequence; a pricing team offers a downgrade path instead of a cancellation. The capacity of that action (40 calls, not 4,000) shapes the metric you optimise later.
Action: before any modelling, produce a one-page churn definition signed off by the commercial owner: churn type, window, horizon, exclusions and the intended action.
Which features carry churn signal?
Features are where most of the predictive value lives. Algorithms matter less than whether you have captured the behaviour that precedes a cancellation. The most useful features tend to describe change and friction, not static attributes.
| Feature family | Examples | Why it helps | Typical source |
|---|---|---|---|
| Usage level and trend | Logins, active seats, key actions per week; change versus the previous 4 weeks | Declining engagement is often the earliest signal | Product analytics, event logs |
| Adoption depth | Number of core features used; integrations connected; seats activated versus purchased | Shallow adoption makes leaving cheap | Application database |
| Support and service friction | Ticket volume, reopened tickets, time to resolution, negative survey responses | Unresolved pain predicts cancellation | Helpdesk, survey tools |
| Billing and commercial events | Failed payments, downgrades, discount expiry, renewal date proximity, price changes | Commercial moments trigger re-evaluation | Billing system, CRM |
| Relationship signals | Champion left the account, fewer admins, no executive contact in 6 months | B2B renewals depend on people | CRM, email metadata |
| Static attributes | Plan, tenure, region, acquisition channel, company size | Useful context, rarely sufficient alone | CRM, sign-up data |
Feature engineering habits that pay off
- Ratios and deltas over raw counts. “Seats active divided by seats purchased” and “usage this month versus three-month average” generalise better across customers of different sizes.
- Recency features. Days since last login, last key action, last support contact.
- Point-in-time correctness. Every feature must be computed only from data available at the snapshot date. A field that is updated when a customer cancels (such as an account status or a “reason” field) will leak the answer into training.
Leakage deserves emphasis, and so does privacy in your training extracts; our guide to test data management without personal information covers how to keep analysts away from raw customer records. The scikit-learn documentation on common pitfalls defines data leakage as using information at training time that would not be available at prediction time, which produces optimistic evaluation and poor production performance. In churn work the usual culprits are cancellation-related fields, features aggregated over a window that overlaps the prediction horizon, and preprocessing fitted on the whole dataset before splitting.
Action: list candidate features in a shared table with source, refresh frequency and a “known at snapshot?” column. Anything you cannot answer yes to stays out.
Which models should you compare, and how do you judge them?
For tabular subscription data, the shortlist is usually short. What matters more is a fair comparison against a baseline and an evaluation metric that matches the decision.
| Approach | Strengths | Limitations | When to choose it |
|---|---|---|---|
| Rules baseline (e.g. usage down 50% and renewal within 60 days) | Transparent, fast to ship, sets the bar | Misses combinations; thresholds drift | Always build first; sometimes it is enough |
| Logistic regression with engineered features | Interpretable coefficients, stable, often well calibrated | Needs careful feature design for non-linear effects | Smaller datasets, regulated settings, first production model |
| Gradient-boosted trees (XGBoost, LightGBM) | Strong on tabular data, handles interactions and missing values | Less transparent; probabilities may need calibration | Enough history and labelled churn events; most mature programmes |
| Survival models (time-to-churn) | Predict when, not just whether; handle customers who have not churned yet | More complex to explain and evaluate | Contracts with variable tenure; planning by month |
Evaluate for the decision, not for accuracy
Churn is a minority class in most periods, which makes accuracy misleading: a model that predicts “nobody churns” can score highly. Google’s Machine Learning Crash Course notes that accuracy is usually a poor metric for imbalanced datasets and describes downsampling and upweighting as ways to give the model enough minority examples to learn from. In practice we report:
- Precision and recall at your contact capacity: of the top 40 accounts flagged each week, how many actually churned, and what share of all churners did those 40 include?
- Lift over the baseline: how much better than the rules or than random targeting?
- Ranking quality (ROC AUC or PR AUC) as a secondary, model-comparison metric.
- Calibration, covered in the next section.
Validate the way you will deploy
Use time-based splits: train on earlier snapshots, test on later ones. Random splits let the model see the future and flatter results. Keep a final hold-out period that nobody touches until the end, and rerun the same evaluation set on every retrain, as we describe in testing AI features with evaluation sets and regression checks.
Action: agree the primary metric (for example, precision in the top 40 per week) with the retention owner before training starts, and record the baseline result in the same table as every model you try.
Do you need calibrated probabilities and explanations?
Ranking customers is enough if all you do is call the top of the list. As soon as you combine churn risk with customer value, set budgets for incentives or forecast revenue, the score needs to behave like a real probability.
Calibration
The scikit-learn guide to probability calibration explains that a well-calibrated classifier’s outputs can be read as confidence levels: among customers given a probability near 0.8, about 80% should turn out positive. It also notes that logistic regression is often well calibrated by default, while tree ensembles such as random forests tend to produce distorted probabilities. Two practical points from that guide matter for churn:
- Fit the calibrator on data not used to train the model, otherwise it inherits the model’s overconfidence.
- Sigmoid (Platt) calibration suits smaller samples and preserves ranking; isotonic calibration is more flexible but can overfit when data is limited.
Explanations
A customer success manager will not act on “risk 0.72” alone. They need to know why. SHAP, introduced by Lundberg and Lee in A Unified Approach to Interpreting Model Predictions, assigns each feature a contribution to an individual prediction, which lets you show “active seats down 40%”, “two reopened tickets” and “renewal in 45 days” as the top drivers for a given account. The same explainability trade-offs arise in other scoring systems, such as automated property valuation models. Treat these as explanations of the model, not proof of cause: a feature that predicts churn is not necessarily the lever that prevents it.
Action: ship each prediction with its top three drivers translated into plain language, and add a reliability curve to the model’s monitoring report.
How do you turn scores into retention actions?
The return on a churn model comes entirely from what happens next. Design the action layer as carefully as the model.
Match the play to risk and value
| Low customer value | High customer value | |
|---|---|---|
| High churn risk | Automated, low-cost plays: in-app guidance, re-engagement emails, self-serve downgrade or pause options | Human outreach: account review call, success plan, executive sponsor contact, targeted offer if justified |
| Low churn risk | Standard lifecycle communications | Expansion and advocacy conversations; protect, do not over-contact |
Use the drivers to choose the play: adoption drivers point to onboarding or training, friction drivers to service recovery, commercial drivers to a pricing or plan conversation, and relationship drivers to re-establishing contacts.
Measure with a hold-out group
The question the board will ask is not “how accurate is the model?” but “how many customers did we keep because of it?”. Answer it with an experiment: randomly hold back a share of flagged customers from the intervention and compare retention between treated and held-out groups. Without that, a good model and a useless programme look identical, because high-risk customers you contacted may have stayed anyway or left anyway.
Over time, the experiment data opens a further step: uplift modelling, which targets customers whose behaviour is most likely to change because of the action, rather than those most likely to leave. That needs a reasonable volume of randomised outcomes, so treat it as a second-phase goal.
Step-by-step: from score to measured outcome
- Generate weekly scores in a batch job and write them, with drivers, into the CRM or customer success tool the team already uses.
- Route accounts by the risk-value matrix to owners or automated journeys.
- Randomly assign a fixed share of flagged accounts to a no-action control group.
- Log every action taken and its date against the account.
- After the horizon passes, compare churn in treated and control groups and report the difference with its uncertainty.
- Feed outcomes back into the training data and review which plays worked for which drivers.
Action: do not launch outreach without a control group, even a small one; it is the only way to prove the programme’s value.
What are the privacy obligations, risks and running costs?
Privacy and profiling
Predicting a person’s likely future behaviour from their personal data is profiling under UK and EU data protection law. The UK Information Commissioner’s Office guidance on automated decision-making and profiling says organisations must identify a lawful basis, tell people how their data is used, inform them of their right to object to profiling, collect only the data needed and keep a clear retention policy. Stricter Article 22 rules apply to solely automated decisions with legal or similarly significant effects. A model that prioritises outreach calls is unlikely to reach that bar; one that automatically changes prices or refuses service may come closer, so take advice for those designs.
For consumer subscriptions in particular, review your privacy notice, honour marketing objections in the action layer, and avoid features that could act as proxies for sensitive characteristics.
Model risks
- Drift. Pricing changes, new features and seasonal patterns shift behaviour. Monitor input distributions and realised precision each month and retrain on a schedule or when performance drops.
- Feedback loops. Successful interventions change the labels: customers you saved no longer look like churners. Track interventions as a feature or exclude treated accounts when retraining.
- Adoption. If the scores do not appear in the tools people already use, they will be ignored.
What drives cost
Costs are dominated by data work rather than algorithms: joining product events, billing and CRM records with point-in-time correctness, then keeping the pipeline running. The main cost drivers are the number of source systems, data quality, whether you need near-real-time scoring (weekly batch is usually enough), integration with the CRM or messaging tools, and the monitoring and retraining you commit to. Budget for ownership after launch, not just the build.
Action: complete a short data protection impact screening before go-live and name an owner for monthly model monitoring.
Churn prediction readiness checklist
Use this before you commit budget, and again before launch.
Before building
- Churn definition signed off: type, observation window, horizon, exclusions.
- Named action owner and weekly contact capacity agreed.
- At least several periods of history with enough churn events per period to learn from.
- Product usage, billing and CRM data can be joined by a stable customer identifier.
- Rules baseline built and its precision at capacity measured.
Before launch
- Time-based validation on a hold-out period shows clear lift over the baseline.
- Leakage review completed for every feature.
- Calibration checked if probabilities feed value or budget decisions.
- Top drivers shown in plain language next to each score.
- Scores delivered into the CRM or success tool, not a separate dashboard.
- Control group design and success measure agreed.
- Privacy notice, objection handling and retention policy reviewed.
After launch
- Monthly report: realised precision, calibration, input drift, intervention results.
- Retraining trigger and schedule documented.
- Quarterly review of which plays work for which drivers.
If data is thin, a rules baseline plus a control group is a legitimate first release.
Frequently asked questions
How much data do we need for churn prediction?
There is no fixed number, but you need enough churn events in each time period for a time-based test to be meaningful, plus consistent usage and billing history for the same customers. If you only have a handful of cancellations a month, start with a rules baseline and invest in instrumentation while the history builds.
Should we buy a customer success platform’s churn score or build our own?
Built-in health scores are a sensible starting point and quick to adopt. Build your own when you need features the platform cannot see (for example, product events in your own database), control over the definition of churn, or measured lift over the vendor score. Many teams run both and compare them on the same hold-out period.
How accurate should a churn model be before we use it?
Judge it on precision and recall at the number of accounts your team can actually contact, and on lift over a simple baseline. Raw accuracy is misleading because most customers do not churn in any given period.
How often should churn scores be refreshed?
Weekly batch scoring suits most B2B and many consumer subscriptions, because retention actions are planned weekly. Near-real-time scoring is worth the extra cost only when an immediate trigger, such as a cancellation page visit, can be acted on in the moment.
Is churn prediction allowed under GDPR?
Generally yes, with a lawful basis, transparency, data minimisation and respect for the right to object. The ICO guidance on profiling sets out these duties. Solely automated decisions with legal or similarly significant effects face stricter rules, so take advice if the model will act on customers without human involvement.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- scikit-learn: Common pitfalls and recommended practices (data leakage) — accessed 9 November 2026. Definition of data leakage and the rule to fit preprocessing only on training data.
- Google for Developers: Machine Learning Crash Course, Imbalanced datasets — accessed 9 November 2026. Why accuracy misleads on imbalanced data; downsampling and upweighting.
- scikit-learn: Probability calibration — accessed 9 November 2026. Meaning of calibrated probabilities, model-specific calibration behaviour, sigmoid versus isotonic, held-out calibration data.
- Lundberg and Lee: A Unified Approach to Interpreting Model Predictions (arXiv, 2017) — accessed 9 November 2026. SHAP feature attributions for explaining individual predictions.
- ICO: Rights related to automated decision-making including profiling — accessed 9 November 2026. Profiling definition and organisations’ duties; Article 22 restrictions.
Related reading
Continue your research
Is your subscription data ready for a churn model that the retention team will actually use?
We can review your churn definition, data sources and baseline, then outline a model and measurement plan sized to your team’s capacity.
