Skip to content

Sayantanidalui/Customer-Churn-Analysis-and-Predictive-Modelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📊 Customer Churn Analysis and Predictive Modeling

📌 Overview

This project analyzes customer churn patterns and builds a predictive model to identify customers likely to leave the company.


🔍 Key Insights

  • Overall Churn Rate: 26.5%
  • New customers (low tenure) churn more.
  • Month-to-month contract customers have the highest churn.
  • Customers with higher monthly charges are more likely to churn.
  • Customers without dependents and partner churn more.
  • Lack of tech support and online security increases churn.
  • Customers using electronic check payment method churn more.

🤖 Predictive Modeling

Model Used: Logistic Regression

Initial Model Performance:

  • Recall (Churn): 0.47
  • F1 Score: 0.52

After Handling Class Imbalance (class_weight='balanced'):

  • Accuracy score: 0.74
  • Recall (Churn): 0.79
  • F1 Score: 0.62

The improvement significantly increased the model’s ability to detect at-risk customers.


VISUALIZATION

Screenshot 2026-02-18 185813 Screenshot 2026-02-18 185832 Screenshot 2026-02-18 185938

🛠 Tools & Technologies

  • Python
  • Pandas
  • NumPy
  • Matplotlib
  • Seaborn
  • Scikit-learn
  • Jupyter Notebook

💡 Conclusion

This project demonstrates how data analysis and predictive modeling can help businesses identify high-risk customers and design targeted retention strategies.

About

Data-driven customer churn analysis and predictive modeling using Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors