This project predicts whether a customer will churn using machine learning. It is an end-to-end project with data preprocessing, model training, and a Streamlit web application.
Customer-Churn-Prediction/ ├── app.py ├── train_model.py ├── models/ │ ├── model.pkl │ ├── scaler.pkl │ └── encoder.pkl ├── data/ │ └── customer_churn.csv ├── requirements.txt ├── README.md ├── .gitignore
The dataset used is the Telco Customer Churn dataset.
Random Forest Classifier with SMOTE for class imbalance.
- Python
- Pandas
- NumPy
- Scikit-learn
- Streamlit
- Matplotlib
- Seaborn
- Imbalanced-learn (SMOTE)
- Install dependencies:
pip install -r requirements.txt- Run the Streamlit app:
streamlit run app.pyThe application predicts whether a customer is likely to churn or not.
Pranav Chauhan