Skip to content

This repository contains a complete, runnable example showing how Customer Success teams can use Logistic Regression to predict churn probability and act early.

License

Notifications You must be signed in to change notification settings

eagleeyethinker/churn_logreg_customer_success_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customer Churn Prediction (Logistic Regression)

This repository contains a complete, runnable example showing how Customer Success teams can use Logistic Regression to predict churn probability and act early.

Why this matters

  • Outputs probability, not just labels
  • Easy to explain to business leaders
  • Maps cleanly to CSM playbooks and thresholds

Run

pip install -r requirements.txt
python logreg_churn_end_to_end.py

Output

  • Model quality metrics (ROC AUC, PR AUC)
  • Example churn probabilities
  • Recommended CSM actions
  • Saved production-ready pipeline

About

This repository contains a complete, runnable example showing how Customer Success teams can use Logistic Regression to predict churn probability and act early.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages