back to all case studiescase study // predictive analytics
Predictive Analytics•2024

Customer Churn & Retention Intelligence

Predictive subscriber attrition modeling and interactive Power BI executive dashboard

roleLead Data Analyst
duration3 Months
year2024
primary stackPython (Pandas, NumPy, Scikit-learn)
Customer Churn & Retention Intelligence
[01]

the problem

A subscription SaaS service was experiencing an annualized churn rate exceeding 24%, with customer success teams unable to pinpoint why customers cancelled until exit surveys were submitted. The leadership team lacked visibility into leading indicators of churn and needed an automated early-warning framework.

[02]

approach & architecture

Engineered an automated data extraction and cleaning pipeline from PostgreSQL transactional and behavioral logs. Conducted in-depth exploratory data analysis (EDA) across contract types, payment channels, and monthly usage metrics. Trained and validated classification algorithms (Random Forest & XGBoost) to generate churn probability scores, and built a dynamic Power BI report with customer risk tiers for intervention.

system highlights

Cleaned, normalized, and transformed 70k+ row raw customer dataset handling missing values, categorical encoding, and outlier capping.
Engineered high-signal behavioral features: tenure-to-spend ratio, customer support ticket frequency, and 90-day engagement drop-offs.
Achieved an ROC-AUC of 0.88 with XGBoost, prioritizing recall to capture 86% of at-risk customers before contract expiration.
Constructed a multi-page interactive Power BI dashboard with complex DAX measures, what-if retention parameter scenarios, and monthly trend forecasting.
[03]

key features

01

Early-Warning Risk Scoring

Segments the active customer base into High, Medium, and Low risk tiers based on real-time activity and contract age.

02

Driver Attribution Analysis

Feature importance analysis revealed month-to-month contracts and electronic check billing had 3.2x higher churn rates than annual plans.

03

Interactive What-If Scenario Modeling

Power BI parameter sliders allowing finance and marketing leaders to model revenue preservation based on incentive discounts.

04

Automated Data Hygiene & ETL

Standardized Python scripts that validate incoming data schemas and output pre-calculated metrics for downstream reporting.

[04]

technologies

Python (Pandas, NumPy, Scikit-learn)PostgreSQLPower BI & DAXSeaborn & MatplotlibJupyter NotebooksFeature Engineering
[05]

outcomes & metrics

Transformed reactive customer cancellation into a proactive retention engine, equipping decision-makers with quantified customer health scores and actionable intervention playbooks.

✓ outcome

18% reduction in customer churn within 6 months of campaign launch

✓ outcome

$280K+ in annualized recurring revenue saved through proactive renewals

✓ outcome

86% recall rate on identifying at-risk accounts 30 days prior to contract renewal