Engineering · 21 November 2026 · 6 min read
Logistic Regression vs Gradient Boosting vs Simple Rules: What Works When You Have Little Data
When people hear "churn prediction", they picture a large model trained on millions of rows. In reality, most businesses that want to predict churn have a few thousand customers, a few hundred who have left, and data that is messy.
In that situation, the model you choose matters less than most people think. How you test it matters more. Here is how we think about the three options worth comparing, and how to choose between them.

The three contenders
1. Simple rules
A rule is a plain statement: "Flag any customer whose transactions in the last 30 days fell by more than half compared with the previous 90."
Strengths: easy to explain, needs no training data, quick to build from domain knowledge, and it gives you a baseline that every other approach has to beat.
Weaknesses: someone has to pick the thresholds by hand, rules miss combinations of signals, they do not adapt as behaviour changes, and they can produce a lot of false alarms.
2. Logistic regression
This learns a weighted combination of signals (days since last transaction, change in activity, support tickets, late payments) and outputs a probability of churn.
Strengths: it works with small datasets, trains in seconds, and is hard to overfit. Each weight shows the direction and rough size of a signal's effect, so you can say why a customer was flagged.
Weaknesses: it assumes each signal pushes risk in a straight line, it does not find interactions unless you build them as features, and it needs sensible scaling and feature preparation.
3. Gradient boosting
This builds many small decision trees, each one correcting the mistakes of the last. XGBoost, LightGBM and scikit-learn's gradient boosting are common examples.
Strengths: it finds non-linear patterns and interactions automatically (falling usage may matter far more when a ticket is also open), handles mixed data and missing values well, and is often the most accurate when there is enough data.
Weaknesses: it needs more data, overfits easily on small sets if not tuned, is harder to explain (tools like SHAP help but add complexity), and has more moving parts to maintain.
Side by side
Simple rules: the baseline
- Training data: None required.
- Explainability: Highest. The team can see and challenge each threshold.
- Interactions: Only combinations someone explicitly writes.
- Overfitting risk: Low, though poorly chosen thresholds can create false alarms.
- Time to first result: Often hours.
- Best when: You need a fast, transparent baseline or have very few churn examples.
Logistic regression: the practical starting model
- Training data: Relatively little compared with more complex models.
- Explainability: High. Its weights show how each signal contributes to risk.
- Interactions: Must be added deliberately as features.
- Overfitting risk: Usually manageable with sensible feature preparation and validation.
- Time to first result: Often days, including data preparation and review.
- Best when: You have enough labelled churn events to learn useful signal weights and need a model the team can explain.
Gradient boosting: the challenger
- Training data: Typically more examples are needed to justify its complexity.
- Explainability: Lower. Tools such as SHAP can help explain outputs, with added work.
- Interactions: Can learn non-linear patterns and combinations automatically.
- Overfitting risk: Higher on small datasets unless carefully tested and tuned.
- Time to first result: Often days to weeks.
- Best when: You have enough churn events and evidence that complex interactions improve results.
What "little data" really means
The number of customers is not the constraint. The number of churn events is. A model can see a hundred thousand customers, but if only 80 left, it has 80 examples of what it is trying to learn.
As a rough rule of thumb, not a law: with fewer than a few hundred churn events, favour rules and logistic regression. Gradient boosting starts to earn its complexity when you have more events, and when you suspect signals interact in ways you cannot easily write down.
How to compare them fairly
- Split by time, never randomly. Train on older customers and test on newer ones. A random split lets the model peek at the future and flatters every result.
- Use the same features for all three. Otherwise you are comparing feature work, not models.
- Judge by the business question. Accuracy is misleading when only 5% of customers churn. Look at how many real churners land in the top 10% of your ranked list (capture rate), and how much revenue sits in that group.
- Check stability. Test on more than one period. A model that wins on one quarter and loses on the next is not reliable.
- Count the cost of false alarms. Every wrongly flagged customer costs someone a call. If your team can make 50 calls a week, the only thing that matters is how good the top 50 are.
Here is a minimal sketch in Python. Column names are placeholders.
import numpy as np
from sklearn.linear_model import LogisticRegression
from sklearn.ensemble import HistGradientBoostingClassifier
from sklearn.preprocessing import StandardScaler
from sklearn.pipeline import make_pipeline
# Time-based split: older snapshots train, newer ones test
train = df[df["snapshot_date"] < "2026-07-01"]
test = df[df["snapshot_date"] >= "2026-07-01"]
features = ["days_since_last_txn", "activity_change_30d", "tickets_90d", "late_payments_90d"]
y_train, y_test = train["churned_next_60d"], test["churned_next_60d"]
# 1. Rule baseline: a bigger drop in activity means higher risk
rule_score = -test["activity_change_30d"].to_numpy()
# 2. Logistic regression
logit = make_pipeline(StandardScaler(), LogisticRegression(max_iter=1000))
logit.fit(train[features], y_train)
logit_score = logit.predict_proba(test[features])[:, 1]
# 3. Gradient boosting
gb = HistGradientBoostingClassifier(max_depth=3, learning_rate=0.05)
gb.fit(train[features], y_train)
gb_score = gb.predict_proba(test[features])[:, 1]
def capture_rate(scores, labels, top_fraction=0.10):
labels = np.asarray(labels)
top_n = int(len(scores) * top_fraction)
top_idx = np.argsort(-np.asarray(scores))[:top_n]
return labels[top_idx].sum() / labels.sum()
for name, s in [("rule", rule_score), ("logit", logit_score), ("gb", gb_score)]:
print(name, round(capture_rate(s, y_test), 3))
If the rule captures nearly as many churners as the models, ship the rule. You will have saved weeks and gained a system everyone understands.
A practical way to decide
- Start with rules. If a simple rule gets most of the value, you may not need anything more.
- Make logistic regression your default model. It is honest, fast and explainable, and it shows you which signals matter.
- Try gradient boosting as a challenger. Adopt it only if it beats the simpler options on top-decile capture across more than one period, by enough to justify losing some explainability.
- Combine them where it helps. Use a model to rank customers and rules as guardrails, for example never flagging accounts that opened less than two weeks ago.
On small datasets, the gap between these approaches is often smaller than the gap between good and poor features. Time spent on better signals usually pays back more than time spent tuning a more complex model.
Why explainability matters in the enterprise
A churn score nobody understands does not get acted on. An account manager told "this customer is high risk" will ask why. If the answer is "usage is down 60%, two repeated tickets, last two invoices late", they act. If the answer is "the model said so", they do not.
That is why the simplest model that does the job is usually the right one, and why we treat explainability as a feature, not an afterthought.
How we approach it at Resolve
At Resolve, we compare simple rules, logistic regression and gradient boosting on a client's own historical data before recommending anything. The client sets the thresholds for what counts as high-risk and critical, and every flagged customer comes with the reasons behind the flag and a suggested next step.
If you want to see how these approaches perform on your own customer history, request a pilot at makkaninnovation.com/contact.