WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

This is a Machine Learning + Flask Web App that predicts whether a customer is likely to churn and suggests a discount policy based on churn probability.

Notifications You must be signed in to change notification settings

JaweriaAsif745/churn-prediction-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💜 ChurnCure – Customer Churn Prediction Web App

Python Flask Scikit-learn

Predict whether a customer will churn and get actionable retention insights with ChurnCure!


🚀 Features

  • Predict Churn: Instantly see if a customer is likely to leave.

  • Churn Probability: Know the risk as a percentage.

  • Suggested Discount: Retain high-risk customers with recommended discounts.

  • Color-coded Results:

    • 🔴 Churn → Red
    • 🟢 No Churn → Green
  • Interactive Frontend: Easy-to-use web interface.

  • Supports Multiple Services: Phone, Internet, Streaming TV/Movies, and more.


🎨 Demo

Form Image: image

Result Image: image


🛠 Built With

  • Backend: Python, Flask
  • Machine Learning: Scikit-learn, Pandas, NumPy, Joblib
  • Frontend: HTML, CSS, JavaScript
  • Deployment Ready: Compatible with platforms like Render

⚡ How to Run Locally

  1. Clone the repo:
git clone https://github.com/JaweriaAsif745/churn-prediction-web.git
  1. Navigate to backend and install dependencies:
cd churn-prediction-web/backend
pip install -r requirements.txt
  1. Run the Flask app:
python app.py
  1. Open in browser:
http://127.0.0.1:5000

📝 Notes

  • Project not yet deployed online.
  • Ensure churn_model.pkl exists in the models folder.
  • Currently uses local Flask server; environment variables can be added for API keys or secret configs.

📂 Project Structure

backend/  ─ Flask app 
frontend/ ─ HTML, CSS, JS
models/   ─ Trained ML model
reports/  ─ Model evaluation & charts
requirements.txt

🌟 Future Features

  • Online deployment with cloud service (Render/Heroku).
  • User authentication to manage multiple predictions.
  • Export prediction results to CSV or PDF.
  • Integrate email notifications for high-risk churn customers.

📞 Contact


About

This is a Machine Learning + Flask Web App that predicts whether a customer is likely to churn and suggests a discount policy based on churn probability.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published