How arpanchaudhari/customer-churn-prediction works
This is a customer-churn prediction project with a notebook-based analysis and model-training workflow, an individual-customer risk app, and an executive analytics dashboard. The individual workflow collects a customer profile, scores churn risk, explores variable-by-variable scenarios, and keeps recent predictions. The dashboard scores the customer dataset, summarizes risk, and provides an intervention list. The notebook is documented as covering EDA through evaluation, but its implementation was not sampled; its internal stages and links are therefore limited to README-supported relationships.
Main entry points: 01_Full_ML_Pipeline.ipynb ML pipeline notebook · app.py Risk scoring · 1_📊_Executive_Dashboard.py Dataset scoring · Telco-Customer-Churn.csv Telco churn data
Components 19
Model development
- ML pipeline notebook
notebook/01_Full_ML_Pipeline.ipynb - Exploratory analysis
notebook/01_Full_ML_Pipeline.ipynb - Data preprocessing
notebook/01_Full_ML_Pipeline.ipynb - Model training
notebook/01_Full_ML_Pipeline.ipynb - Model evaluation
notebook/01_Full_ML_Pipeline.ipynb
Individual prediction
- Customer profile
notebook/app.py - Risk scoring
notebook/app.py - Risk scenarios
notebook/app.py - Prediction history
notebook/app.py
Portfolio analytics
- Dataset scoring
notebook/pages/1_📊_Executive_Dashboard.py - Customer filters
notebook/pages/1_📊_Executive_Dashboard.py - Risk KPIs
notebook/pages/1_📊_Executive_Dashboard.py - Risk visualizations
notebook/pages/1_📊_Executive_Dashboard.py - Intervention list
notebook/pages/1_📊_Executive_Dashboard.py
Data and model assets
- Telco churn data
data/Telco-Customer-Churn.csv - Trained model
notebook/churn_model.pkl - Feature scaler
notebook/scaler.pkl - Expected features
notebook/expected_columns.pkl
Other components
- Business user
Connections 22
- Business user → Customer profile: enters profile
notebook/app.py - Customer profile → Risk scoring: scores profile
notebook/app.py - Risk scoring → Risk scenarios: varies inputs
notebook/app.py - Risk scoring → Prediction history: records result
notebook/app.py - Trained model → Risk scoring: predicts with
notebook/app.py - Feature scaler → Risk scoring: scales features
notebook/app.py - Expected features → Risk scoring: defines features
notebook/app.py - Business user → Dataset scoring: views dashboard
notebook/pages/1_📊_Executive_Dashboard.py - Telco churn data → Dataset scoring: loads rows
notebook/pages/1_📊_Executive_Dashboard.py - Trained model → Dataset scoring: predicts with
notebook/pages/1_📊_Executive_Dashboard.py - Feature scaler → Dataset scoring: scales features
notebook/pages/1_📊_Executive_Dashboard.py - Expected features → Dataset scoring: aligns features
notebook/pages/1_📊_Executive_Dashboard.py - Dataset scoring → Customer filters: filters customers
notebook/pages/1_📊_Executive_Dashboard.py - Customer filters → Risk KPIs: aggregates risk
notebook/pages/1_📊_Executive_Dashboard.py - Customer filters → Risk visualizations: visualizes risk
notebook/pages/1_📊_Executive_Dashboard.py - Customer filters → Intervention list: selects high risk
notebook/pages/1_📊_Executive_Dashboard.py - Business user → ML pipeline notebook: runs analysis
README.md - Telco churn data → ML pipeline notebook: analyzes history
README.md - ML pipeline notebook → Exploratory analysis: includes EDA
README.md - ML pipeline notebook → Data preprocessing: preprocesses data
README.md - ML pipeline notebook → Model training: trains models
README.md - ML pipeline notebook → Model evaluation: evaluates models
README.md