The data is related to direct marketing campaigns (phone calls) of a Portuguese banking institution. The classification goal is to predict if the client will subscribe a term deposit (variable y). From Kaggle.
Kaggle source: https://www.kaggle.com/datasets/henriqueyamahata/bank-marketing/data
Source: https://archive.ics.uci.edu/ml/datasets/bank+marketing
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- Python 3.8 or higher
- Jupyter Notebook
- Git
You can install Python and Jupyter Notebook via Anaconda distribution. Here is the download link: https://www.anaconda.com/products/distribution
You can download and install Git from here: https://git-scm.com/downloads
A step by step series of examples that tell you how to get a development environment running:
- Clone the repository to your local machine:
git clone https://github.com/hemababy/Bank-Marketing.git
- Change the working directory to the project directory:
cd Bank-Marketing
- Create a virtual environment:
conda create --name myenv
- Activate the virtual environment:
conda activate myenv
- Install the required packages:
pip install -r requirements.txt
- Start Jupyter Notebook:
jupyter notebook
- Open the Jupyter Notebook file
Bank_Marketing.ipynb
and run the cells.
This project is a Jupyter notebook that can be run cell by cell. Here's how to use it:
-
Open the
bank-marketing.ipynb
file in Jupyter Notebook. -
Run each cell sequentially from top to bottom. You can do this by clicking on a cell and then clicking the 'Run' button in the toolbar, or by pressing
Shift + Enter
. -
The outputs of each cell, whether they are text, tables, or plots, will be displayed directly below the cell.
-
If you want to modify the code, you can edit the cells directly and then re-run them to see the updated output.
Please note that some cells may depend on the results of previous cells. If you skip a cell or run the cells out of order, you may encounter errors.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Please make sure to update tests as appropriate.
This project is licensed under the MIT License. See the LICENSE.MD file for details.
If you use this project in your research, please cite it as instructed in the CITATION.cff file.
- Hemalatha Sekar - Initial work - Hemalatha Sekar
- Thanks to Kaggle for providing the dataset.
- Thanks to the UCI Machine Learning Repository for hosting the dataset.