Skip to content

A self-initiated project exploring churn prediction using logistic regression. Built with synthetic data to simulate real-world telecom customer behavior

License

Notifications You must be signed in to change notification settings

CodeNinjaLab/churn_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Š Client Churn Prediction

This project focuses on predicting customer churn using a synthetic dataset and a logistic regression model. The goal is to identify clients who are likely to leave a service based on their usage patterns and profile data.

πŸš€ Features

The dataset includes the following features:

  • tenure: Time with the company (in months)
  • monthly_charges: Monthly billing amount
  • total_charges: Total amount billed to date
  • num_support_calls: Number of customer support calls
  • uses_internet: Binary flag indicating internet usage (0 = No, 1 = Yes)
  • contract_type: Type of contract
    • 0 = Month-to-month
    • 1 = One-year
    • 2 = Two-year

🧠 Model

The script trains a Logistic Regression model and evaluates its performance using:

  • Accuracy
  • Confusion matrix

The trained model is saved as churn_model.pkl.

πŸ›  How to Run

Ensure you have the required dependencies installed (see below), then run the script:

python churn_model.py

About

A self-initiated project exploring churn prediction using logistic regression. Built with synthetic data to simulate real-world telecom customer behavior

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published