Skip to content

"ChurnMaster is an advanced machine learning tool designed to predict customer churn by analyzing behavioral patterns and usage data to help businesses enhance customer retention strategies.

Notifications You must be signed in to change notification settings

SteveUseful/churnmaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Churn Prediction Application

Welcome to the Churn Prediction Application repository. This Flask-based web application is designed to predict customer churn using a machine learning model trained on customer data.

Overview

The Churn Prediction Application assists businesses in understanding and predicting customer behavior, especially the likelihood of customers discontinuing their use of a service. The application processes customer data through a web form and provides a churn prediction along with the associated probability.

Features

  • Churn Prediction Form: A user-friendly web form for inputting customer data.
  • Prediction Results: Displays the churn prediction and probability after processing the input data.
  • Machine Learning Model: Leverages a pre-trained model to make predictions based on input data.

Installation

To set up the application locally:

  1. Clone the repository:

git clone https://github.com/SteveUseful/churnmaster.git

  1. Navigate to the project directory:

cd churnmaster

  1. Install the required dependencies (Python and pip should be installed):

pip install -r requirements.txt

  1. Run the Flask application:

python app.py

Usage

Once the application runs, access it by navigating to http://127.0.0.1:5000 in your web browser. Fill out the churn prediction form with relevant customer data and submit it to receive a prediction.

Code Structure

  • app.py: Main Flask application file with routes and prediction logic.
  • best_model2.pkl: Pre-trained machine learning model for predictions.
  • preprocessor.pkl: Preprocessing pipeline for input data.
  • templates/: HTML templates for the web application.
  • index2.html: HTML template for the churn prediction form.
  • static/: Static files such as CSS and JavaScript (if applicable).

Contributing

Contributions to improve the application are welcome. Please follow the standard GitHub pull request process to submit your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any queries or further assistance, please contact me on GitHub!

Acknowledgments

Thanks to all the contributors who have helped develop this application, and special thanks to the open-source community for providing the tools and libraries used in this project.

My GitHub Stats

!GitHub stats

Weekly Development Breakdown

Python       7 hrs 30 mins   ██████████████████░░░░░░░   72.00 %
SQL          1 hr 30 mins    ███░░░░░░░░░░░░░░░░░░░░░░   14.50 %
Other        1 hr            ███░░░░░░░░░░░░░░░░░░░░░░   9.50 %

Feel free to reach out if you have any questions or need assistance with your projects!

About

"ChurnMaster is an advanced machine learning tool designed to predict customer churn by analyzing behavioral patterns and usage data to help businesses enhance customer retention strategies.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published