This project was developed for Task 2 of the Machine Learning Internship at Future Interns. The system identifies customers likely to stop using a service, allowing businesses to take proactive retention measures.
The versions below are optimized for 2026 deployment environments, specifically addressing library deprecations and Streamlit Cloud compatibility.
- UI: Streamlit (v1.52.2)
- Model: FastAI Tabular Learner (v2.8.6)
- Interpretation: SHAP (v0.49.1)
- Data Handling: Pandas (v2.3.3) & NumPy (v2.0.2)
- Environment Fixes: Added
ipythonforfastprogresssupport on Linux servers. - Training Environment: Kaggle
streamlit/app.py: The main Streamlit web application.streamlit/churn_model.pkl: The exported FastAI model (uses relative paths for cloud hosting).requirements.txt: List of dependencies for cloud deployment.notebooks/: Contains the original Kaggle training notebook (.ipynb).data/: Sample dataset used for training and testing.
The model was trained on the Telco Customer Churn dataset.
- Type: Deep Learning (Tabular Learner).
- Interpretability: Uses SHAP to explain feature importance and prediction drivers.
- Key Features: Contract type, Tenure, Monthly Charges, and Internet Service.
-
Clone the repository:
git clone https://github.com/AnoMi-1/FUTURE_ML_02.git cd FUTURE_ML_02 -
Install dependencies: pip install -r requirements.txt
-
Run the application: streamlit run streamlit/app.py