This project analyzes customer churn for a banking institution. Using a dataset of customer demographics and account information, the goal is to uncover trends, visualize customer behavior, and support data-driven decision-making to reduce churn rates.
app.py
β Streamlit dashboard application for interactive data exploration.bank_churning_analysis.ipynb
β Jupyter Notebook with detailed exploratory data analysis and statistical insights.summary_report.pdf
β Executive summary report outlining key findings and recommendations.requirements.txt
β Python package dependencies..gitignore
β Git configuration to ignore unnecessary files.
-
Exploratory Data Analysis (EDA):
Comprehensive analysis of customer demographics, account activity, and churn distribution. -
Visualization:
- Customer distribution by country.
- Demographics (age, gender, income) visualizations.
- Churn patterns and risk segmentation.
-
Dashboard Application:
A user-friendly Streamlit dashboard to interactively explore insights and monitor churn risk indicators. -
Prediction and Customer Classification:
- Sklearn library was used to label-encode, standardize, split the dataset into train and test sets.
- Classifying and assessing the classification report.
- Clustering visualization using seaborn and matplotlib.
If you haven't deployed the app yet, you can still run it locally by following the instructions below.
- Python (Pandas, NumPy, Matplotlib, Seaborn)
- Streamlit
- Scikit-learn
- Jupyter Notebook
-
Clone this repository:
git clone https://github.com/your-username/your-repo-name.git cd your-repo-name
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Run the Streamlit app:
streamlit run app.py
- Data cleaning and preprocessing for accurate analysis.
- Visual insights on customer demographics and account behavior.
- Business-driven summary report with actionable insights.
- Interactive web app for real-time data exploration.
This project is open-source and available under the MIT License.
Fehintolu Samuel