Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

luke-pekala/churn-classifier

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Module J — Model Evaluation

Telco Customer Churn Classifier with Full Evaluation Suite

What it does

  • Downloads Telco Churn dataset (~7 000 rows) and trains a Random Forest
  • 5-fold stratified cross-validation (F1 + ROC-AUC)
  • Interactive Streamlit dashboard: confusion matrix, ROC curve, PR curve, feature importance, threshold analysis, live threshold tuner

Quick start

uv venv --python 3.12
uv sync --all-groups
streamlit run app.py

Run tests

uv run pytest

Key metrics (typical)

Metric Value
CV F1 ~0.62
CV ROC-AUC ~0.85
Test ROC-AUC ~0.86

About

A customer churn classifier with full evaluation suite — F1, ROC-AUC, cross-validation and hyperparameter tuning. Module J of the Python AI Roadmap.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.