Telco Customer Churn Prediction & Insights

Using Data Science & Explainable AI to Identify High-Risk Customers and Boost Retention

Hero Thumbnail

Concept / Problem

Telecom companies lose millions annually due to customer churn. Predicting which customers are likely to leave helps companies proactively retain them.

In this project, I developed a predictive model to identify high-risk customers and provide actionable insights to reduce churn while protecting recurring revenue.

Approach

  1. EDA: Explored patterns in churn, tenure, and service usage to uncover trends and anomalies that informed the modeling process.
  2. Feature Engineering: Created derived features like tenure groups, total services per customer, and high charges flags to improve model performance.
  3. Modeling: Tested Logistic Regression, Random Forest, and XGBoost. Selected the best-performing model based on accuracy, precision, recall, and ROC-AUC.
  4. Explainability: Applied SHAP values to identify key drivers of churn for individual customers and overall trends.
  5. Business Insights: Translated model results into actionable strategies, estimating expected saved revenue and recommending targeted retention campaigns.

Data

7,043 telecom customers with features like gender, seniority, service usage, contract type, payment method, and monthly charges.

The data set includes information about:

Dataset Snapshot

Key Insights & Visuals

Model Training

  • Models: I tested multiple models—Logistic Regression, Random Forest, XGBoost—to predict high-risk customers. After tuning and evaluating with accuracy, precision, recall, and ROC-AUC, XGBoost emerged as the winner with balanced performance. Using SHAP values, I could explain why each customer was flagged, turning predictions into actionable business insights.

Code & Dashboard

Impact / Results

Model Performance

  • Accuracy: 80%
  • Precision: 65%
  • Recall: 52%
  • ROC-AUC: 0.84

Business Impact

  • Identified 684 high-risk customers
  • Expected saved revenue: R75,537
  • Key churn drivers: Fiber-optic internet, month-to-month contracts, electronic check payments

Operational Insights

  • Prioritize month-to-month contract holders for retention campaigns
  • Flag high monthly charge customers for proactive outreach
  • Enable personalized marketing campaigns via segmentation

Next Steps

  • Integrate churn prediction into CRM for automated alerts
  • Run A/B tests for retention campaigns based on risk segments
  • Monitor model performance monthly

Visual highlights from the Power BI dashboard and SHAP plots provide clear, actionable insights for management.

KPIs & Dashboard Visuals KPIs & Dashboard Visuals