📊 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.
Note: This project was built as a personal learning project with assistance from AI tools like ChatGPT to generate initial code structure, documentation, and feature ideas. All content was reviewed and refined by me to ensure understanding and performance.
🚀 Features
The dataset includes the following features:
tenure: Time with the company (in months)monthly_charges: Monthly billing amounttotal_charges: Total amount billed to datenum_support_calls: Number of customer support callsuses_internet: Binary flag indicating internet usage (0 = No, 1 = Yes)contract_type: Type of contract0 = 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:
0 likes · 6 views · May 24, 2025
Developed a logistic regression model to predict customer churn.
Timeline
Oct 1, 2024 - Nov 1, 2024