Skip to content
Back to projects

ML & Data · 2026

Customer Churn Prediction

Predicts which customers are likely to churn, served as an interactive Streamlit app.

Model

  • Tree-based classifiers compared (Random Forest / Gradient Boosting) with cross-validation
  • Class-imbalance handling for the minority churn class
  • Feature importance surfaced in the dashboard

Dataset

Telco-style customer dataset — tenure, contract type, monthly charges, services and churn label.

Results & metrics

Accuracy
~0.80
ROC-AUC
~0.84
Focus
recall on churn class

Deployment steps

  1. 1Clean and encode features; split with stratification
  2. 2Train candidates with cross-validation, tune for churn recall
  3. 3Serialize the best pipeline
  4. 4Serve an interactive what-if dashboard in Streamlit Cloud

Tech stack

  • Scikit-learn
  • Pandas
  • Streamlit
M

drawing ideas into systems...