Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tushar2704/bank-german-customer-segmentation

This project aims to revolutionize the way banks market to their customers by leveraging machine learning techniques to segment customers based on their account history, credit scores, and demographics.
https://github.com/tushar2704/bank-german-customer-segmentation

artificial-intelligence banking clustering customer-segmentation data-science machine-learning python streamlit-tushar2704 tushar2704

Last synced: 19 days ago
JSON representation

This project aims to revolutionize the way banks market to their customers by leveraging machine learning techniques to segment customers based on their account history, credit scores, and demographics.

Awesome Lists containing this project

README

        

# Bank German Customer Segmentation & Classification Machine Learning Model as Flask API
![Python](https://img.shields.io/badge/Python-3776AB.svg?style=for-the-badge&logo=Python&logoColor=white)
![Pandas](https://img.shields.io/badge/pandas-%23150458.svg?style=for-the-badge&logo=pandas&logoColor=white)
![PyTorch](https://img.shields.io/badge/PyTorch-%23EE4C2C.svg?style=for-the-badge&logo=PyTorch&logoColor=white)
![TensorFlow](https://img.shields.io/badge/TensorFlow-%23FF6F00.svg?style=for-the-badge&logo=TensorFlow&logoColor=white)
![Microsoft Excel](https://img.shields.io/badge/Microsoft_Excel-217346?style=for-the-badge&logo=microsoft-excel&logoColor=white)
![Canva](https://img.shields.io/badge/Canva-%2300C4CC.svg?style=for-the-badge&logo=Canva&logoColor=white)
![Visual Studio Code](https://img.shields.io/badge/Visual%20Studio%20Code-0078d7.svg?style=for-the-badge&logo=visual-studio-code&logoColor=white)
![Markdown](https://img.shields.io/badge/markdown-%23000000.svg?style=for-the-badge&logo=markdown&logoColor=white)
![Microsoft Office](https://img.shields.io/badge/Microsoft_Office-D83B01?style=for-the-badge&logo=microsoft-office&logoColor=white)
![Microsoft Word](https://img.shields.io/badge/Microsoft_Word-2B579A?style=for-the-badge&logo=microsoft-word&logoColor=white)
![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)
![Windows Terminal](https://img.shields.io/badge/Windows%20Terminal-%234D4D4D.svg?style=for-the-badge&logo=windows-terminal&logoColor=white)

Welcome to the Bank Customer Segmentation project! This project aims to revolutionize the way banks market to their customers by leveraging machine learning techniques to segment customers based on their account history, credit scores, and demographics. By gaining insights into distinct customer groups, banks can tailor their marketing and customer acquisition strategies for optimal results.

## Project Overview

In this project, we build a machine learning model using algorithms like K-Means Clustering, Hierarchical Clustering, and Gaussian Mixture Models to segment bank customers using the Bank Customer Segmentation dataset. This allows us to uncover meaningful patterns in customer behavior and preferences, leading to data-driven decisions for marketing strategies.

## Getting Started

Follow these steps to get started with the project:

1. **Clone the Repository:** Clone this repository to your local machine using the following command:
```
git clone https://github.com/tushar2704/Bank-German-Customer-Segmentation.git
```

2. **Install Dependencies:** Install the required dependencies by running:
```
pip install -r requirements.txt
```

3. **Dataset:** Download the Bank Customer Segmentation dataset and place it in the `data` directory.

4. **Data Preprocessing:** Use the provided Jupyter notebooks to preprocess the dataset, handle missing values, and transform features for analysis.

5. **Algorithm Implementation:** Implement the machine learning algorithms like K-Means Clustering, Hierarchical Clustering, and Gaussian Mixture Models using the notebooks in the `notebooks` directory.

6. **Segment Profiling:** Analyze the characteristics of each segment to derive insights. Visualizations and statistics can be generated using the tools provided in the notebooks.

7. **Strategy Formulation:** Based on the insights gained from segment profiling, develop personalized marketing and customer acquisition strategies for each segment.

# Classification ML Model as Flask API on German Credit Risk Data

1. First create the ML model by running `python create_model.py`.
2. Then, run `python app.py` to start the server.

The url to access the app will be provided at the console output.

## Project Structure

The project repository is organized as follows:

```

├── LICENSE
├── README.md <- README .
├── notebooks <- Folder containing the final reports/results of this project.
│ │
│   └── bank_german_customer_segmentation.py <- Final notebook for the project.
├── reports <- Folder containing the final reports/results of this project.
│ │
│   └── Pizza_Sales_Report.pdf <- Final analysis report in PDF.
│  
├── src <- Source for this project.
│ │
│   └── data <- Datasets used and collected for this project.
| └── model <- Model.

```

## License

This project is licensed under the [MIT License](LICENSE).
## Author
- ©2023 Tushar Aggarwal. All rights reserved
- [LinkedIn](https://www.linkedin.com/in/tusharaggarwalinseec/)
- [Medium](https://medium.com/@tushar_aggarwal)
- [Tushar-Aggarwal.com](https://www.tushar-aggarwal.com/)
- [New Kaggle](https://www.kaggle.com/tagg27)

## Contact me!
If you have any questions, suggestions, or just want to say hello, you can reach out to us at [Tushar Aggarwal](mailto:[email protected]). We would love to hear from you!