Skip to content

Shantanupawar77/Customer_Churn_Prediction

Repository files navigation

Customer Churn Prediction

Overview

This project focuses on predicting customer churn using machine learning techniques. It involves the development of a predictive model trained on a dataset containing various customer attributes and their churn status. The goal is to identify patterns and factors contributing to customer churn, enabling businesses to take proactive measures to retain customers.

Features

  • Dataset: Utilizes a dataset containing 7044 entries and 21 features.
  • Predictive Model: Implements machine learning algorithms such as logistic regression for churn prediction.
  • User Interface: Includes a Flask-based web application with options for manual data entry and CSV file upload.
  • Accuracy Metrics: Evaluates model performance using accuracy, precision, recall, and F1-score.
  • Insights and Recommendations: Provides actionable insights and recommendations based on churn predictions.

Installation

To run the project locally, follow these steps:

  1. Clone the repository: git clone <repository_url>
  2. Navigate to the project directory: cd Customer_Churn_Prediction
  3. Install dependencies: pip install -r requirements.txt
  4. Run the Flask application: python app.py

Usage

  1. Access the web application by visiting the provided URL.
  2. Choose the prediction method: manual entry or CSV file upload.
  3. Fill in the required fields or upload a CSV file containing customer data.
  4. Click the "Predict" button to generate churn predictions.
  5. View the results and recommendations provided by the application.

Dependencies

  • Flask: Web framework for developing the user interface.
  • Pandas: Data manipulation and analysis library.
  • NumPy: Numerical computing library.
  • Scikit-learn: Machine learning toolkit for model training and evaluation.

Contributors

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published