E-Commerce Customer Churn Prediction

Cost-optimized machine learning with 98% ROC-AUC and 60% cost reduction through threshold optimization

Technology Stack

CatBoostXGBoostLightGBMSMOTESHAPStreamlitFastAPIScikit-learn
ML Frameworks
Deep Learning
NLP
Deployment

ROI

151%

Savings

$200K-$500K annually

Accuracy

98.1% ROC-AUC

Key Performance Indicators

Recall
99.3%
Cost Reduction
60% vs default threshold
Customers Saved
70 (from test set)

Business Impact Summary

Return on Investment151%
Cost Savings$200K-$500K annually
Model Accuracy98.1% ROC-AUC
Recall99.3%
Cost Reduction60% vs default threshold
Customers Saved70 (from test set)

Overview

Production-grade churn prediction with 98.1% ROC-AUC and 99.3% recall. Cost-sensitive learning with custom threshold optimization (0.14 vs default 0.5) reduces business costs by 60%. Only 1 churner missed out of 142 in test set.

Live Demo

Live Demo

Interactive Streamlit application

📊

E-Commerce Customer Churn Prediction Demo

Click below to load the interactive demo

This is a live, interactive demo deployed on Streamlit Cloud. You can:

  • •Upload your own data for predictions
  • •Explore model performance metrics
  • •View interactive visualizations
  • •Understand model predictions with explainability

Related Projects

MBA
AOV Increase
20-35%

Market Basket Analytics

Association rule mining and customer segmentation with 105K+ rules generating 20-35% increase in average order value

FP-GrowthAprioriK-MeansRFM Analysis+3 more
RSF
WAPE
13.5%

Retail Sales Forecasting

LightGBM achieving 13.5% WAPE for 16-day forecasting across 54 stores with 56 engineered features

LightGBMXGBoostStreamlitPlotly+2 more