Business context.
A churn model must support a business decision, not only rank customers. In this portfolio simulation, I explored customer behavior, compared predictive models, and selected a decision threshold under a minimum precision requirement to help prioritize potential retention outreach.
Analysis approach.
- Used Python and exploratory data analysis to understand customer characteristics and churn patterns. Negative feedback emerged as the strongest differentiator between the churn-risk and loyal-customer groups.
- Compared candidate models with Scikit-Learn and selected Random Forest as the final model.
- Tuned the decision threshold with out-of-fold predictions and a business constraint of churn precision ≥ 40%, selecting a threshold of 0.56.
- Evaluated the final model on a holdout test set: churn recall 76.5%, churn precision 61.9%, and ROC-AUC 0.834.
- Deployed an interactive Streamlit prediction app and provided a Metabase dashboard for customer-data exploration and analytical insight.
Conclusion.
The project connects customer analysis, predictive modeling, constrained threshold selection, and deployment. It demonstrates a retention-prioritization workflow, the model metrics do not establish that a live retention campaign reduced churn.