Skip to content

thed700/churn-portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Neural-Churn & LTV Architect

End-to-End FinTech Customer Churn Prediction & Lifetime Value System

Live Demo React License


Problem Statement

A mid-sized FinTech company faces 15.2% monthly churn, putting $2.4M in annual revenue at risk. This project goes beyond simple churn prediction β€” it calculates Customer Lifetime Value (CLV) per segment and outputs a prioritized Retention Budget Allocation framework for the business.


Live Demo

πŸ”— thed700.github.io/churn-portfolio


Project Architecture

Synthetic Data Gen β†’ Feature Engineering β†’ EDA β†’ XGBoost + Tuning β†’ SHAP β†’ Business Report


Tech Stack

Layer Tools
Data Generation Python, Faker, NumPy (Lognormal, Zipf, Poisson distributions)
Data Cleaning KNN Imputer, IQR Capping, RobustScaler
Feature Engineering Ticket-to-Tenure Ratio, Engagement Score, CLV Proxy
ML Model XGBoost (scale_pos_weight for class imbalance)
Hyperparameter Tuning RandomizedSearchCV + StratifiedKFold (5-fold)
Explainability SHAP (beeswarm, waterfall, dependence plots)
Visualization Plotly, Seaborn
Frontend React 19, CSS-in-JS
Deployment GitHub Pages, gh-pages

Key Results

Metric Value
ROC-AUC β‰₯ 0.87
AUC-PR (imbalance-aware) β‰₯ 0.61
Recall @ threshold 0.5 β‰₯ 0.72
Model Precision @ 0.7 81%
Projected ROI 39.7Γ— on intervention spend

Top Churn Drivers (SHAP)

  1. ticket_tenure_ratio β€” complaints in early tenure are 3Γ— more predictive than late-tenure.
  2. engagement_score β€” drop-off visible 8 weeks before actual churn.
  3. fee_complaints β€” 68% of users who complained churned within 30 days without outreach.

Retention Intervention Framework

Segment Trigger Action Expected ROI
High CLV + At-Risk churn_prob > 0.70 Personal call + fee waiver $1,840 CLV preserved
Frustrated New Users ticket_tenure_ratio > 0.8 Onboarding specialist LTV uplift
Disengaged Free Users engagement < P25 Re-engagement email 5% β†’ $240 LTV

Project Structure

churn-portfolio/
β”œβ”€β”€ src/
β”‚   └── App.js          # Full interactive portfolio (React)
β”œβ”€β”€ public/
β”‚   └── index.html
β”œβ”€β”€ package.json
└── README.md

Author

Akmal β€” Junior Data Analyst
πŸ“ Uzbekistan | πŸŽ“ UWED (International Economics, 2026)
πŸ”— GitHub: thed700

About

πŸš€ End-to-End Neural Churn & LTV Architect: A high-impact FinTech data science project featuring synthetic data generation, advanced ML (XGBoost), SHAP explainability, and business ROI optimization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors