The IDG Customer Churn Predictor App is an interactive Streamlit application designed to predict customer churn based on provided data. This README provides comprehensive instructions on creating, deploying, and using the app.
- Clone Repository: Clone the repository containing the Streamlit app code.
- Install Dependencies: Install the required dependencies using pip.
- Data Setup: Ensure you have a CSV dataset named
Churn Prediction Dataset.csvplaced inside a folder nameddatasetin the project directory. - Configuration: Update the
config.yamlfile with necessary credentials and configuration details.
To run the app locally, execute the following command in the project directory:
streamlit run app.pyThe app will start running locally and can be accessed through a web browser.
- Provides an overview of the app and its purpose.
- Existing Users: Enter your username and password to log in.
- New Users: Create an account by providing a new username and password.
- Displays basic information about the dataset.
- Shows summary statistics of numerical variables.
- Provides the first few rows of the dataset.
- Conducts univariate and bivariate analysis.
- Presents additional analysis using pandas styling.
- Batch Prediction: Upload a CSV dataset containing customer information to predict churn.
- Online Prediction: Input customer details interactively to predict churn.
- Provides visualizations and analytics related to customer churn.
- Includes research questions and key performance indicators.
- Offers insights through various charts and plots.
- Tracks user interactions with the app.
- Displays a history log of actions performed by the user.
- Allows navigating back to previous points in history.
- Support Vector Machine (SVM)
- XGBoost
- Decision Tree Model
- Random Forest
- SVM: Supervised machine learning algorithm used for classification tasks.
- XGBoost: Implementation of gradient boosted decision trees designed for speed and performance.
- Data Preprocessing
- Pipeline Creation
- Model Training
- Evaluation
- User Choice
- Performance Comparison
- Model Serialization
- Model Loading
- Model Tuning
- Model Expansion
- Model Monitoring
-Performed app deployment with Render https://idg-churn-prediction-app.onrender.com
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or create a pull request.
This project is licensed under the Apache 2.0. Feel free to use, modify, and distribute the code for personal and commercial purposes.