Skip to content

1.A machine learning project predicting customer churn using Random Forest and Python. 2. Predicting customer churn with Python, Pandas, and Scikit-learn using historical customer data.

Notifications You must be signed in to change notification settings

veereshuppar18/Customer-Churn-Analysis-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”ฅ Customer Churn Analysis

๐Ÿ“‹ Project Overview

This project aims to predict customer churn โ€” identifying customers who are likely to leave a company โ€” using machine learning techniques. The dataset includes historical customer information, and the goal is to build a model that helps businesses improve customer retention.

โš™๏ธ Features

  • Data cleaning and preprocessing
  • Feature engineering and selection
  • Scaling of features using StandardScaler
  • Model building using Random Forest Classifier
  • Model evaluation with accuracy, precision, recall, and AUC-ROC

๐Ÿ› ๏ธ Technologies Used

  • Python
  • Pandas
  • NumPy
  • Scikit-learn
  • Matplotlib / Seaborn (for visualization)

โ–ถ๏ธ How to Run

  1. Clone the repository
    git clone https://github.com/yourusername/customer-churn-analysis.git
  2. Install required libraries
    pip install -r requirements.txt
  3. Run the Jupyter notebook or Python scripts to explore data and train the model

๐Ÿ“Š Results

  • The Random Forest Classifier achieved an accuracy of 91% on the test dataset.
  • Precision and recall scores indicate the model performs well in correctly identifying churned customers and minimizing false alarms.
  • The AUC-ROC score was 0.92, showing good model discrimination between customers who churn and those who stay.
  • Feature importance analysis highlighted key factors influencing churn, such as tenure, monthly charges, and contract type.
  • The model helps the business proactively identify high-risk customers to improve retention strategies.

About

1.A machine learning project predicting customer churn using Random Forest and Python. 2. Predicting customer churn with Python, Pandas, and Scikit-learn using historical customer data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published