A clean and simple Flask web application for uploading CSV files and displaying churn analysis results.
meg_video.mp4
- File Upload: Drag & drop or browse to upload CSV.
- Explainability: View comprehensive analysis results with:
- Model performance metrics
- Feature importance visualization
- Predictions summary with charts
- AI insights and recommendations
- Clean UI: Modern, responsive design with Bootstrap.
- Interactive Charts: Visual representations using Chart.js
- Customer Churn Prediction Model: Machine learning models to predict customer churn.
- SHAP (SHapley Additive exPlanations): Unified approach to explain model predictions.
- Feature Importance Analysis: Understand which features matter most.
- Interactive Visualizations: Visual explanations of model behavior
- Install dependencies:
pip install -r requirements.txt- Run the application:
python app.py- Open your browser and navigate to
http://localhost:5000
- Upload Page: Select or drag & drop a CSV.
- Analysis Page: View AI predictions and insights based on your data
- Reset: Start over with a new file
├── app.py # Flask application
├── requirements.txt # Python dependencies
├── uploads/ # Uploaded files directory
├── static/
│ ├── style.css # Custom CSS styles
│ └── script.js # JavaScript functionality
└── templates/
├── index.html # File upload page
└── predictions.html # AI predictions dashboard
- Backend: Flask, Pandas
- Frontend: HTML5, CSS3, JavaScript, Bootstrap 5
- Charts: Chart.js
- Icons: Font Awesome
- MLModels: XGBoost , MLP