This project focuses on predicting customer responses to bank marketing campaigns using machine learning techniques. The project encompasses data preprocessing, feature engineering, model training, and evaluation to optimize customer response predictions.
-
Clone this repository:
https://github.com/MohamadPirniakan/Bank-Marketing-Analysis.git cd Bank-Marketing-Analysis
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
The project consists of the following key files and directories:
data/
: Contains the bank marketing dataset.notebooks/
: Jupyter notebooks for data analysis, preprocessing, feature engineering, and model training.src/
: Source code files including feature engineering, preprocessing, and model training.requirements.txt
: Contains necessary Python libraries and their versions.
The project leverages various data preprocessing and transformation techniques to prepare the dataset for machine learning. It applies categorical and target encoding, one-hot encoding, and categorization of numeric features. The main models used include Random Forest and Logistic Regression, validated through Grid Search and evaluated using classification metrics like ROC-AUC.
Here is a list of required libraries:
pandas
numpy
matplotlib
seaborn
scikit-learn
category-encoders
tqdm