KAHarbi / Purposal_Bank_Marketing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Purposal_Bank_Marketing

Baank Marketing

image

Data Set Information

The data is related with direct marketing campaigns of a Portuguese banking institution. The marketing campaigns were based on phone calls. Often, more than one contact to the same client was required, in order to access if the product (bank term deposit) would be ('yes') or not ('no') subscribed.

Background

In this project, we will use data from the Kaggle The data is related with 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).

Motivation

It would be interesting to see any machine learning techniques or continued data visualizations applied on this data set.

Data Description

Field Name Description
Age (numeric)
Job type of job (categorical: 'admin.', 'blue-collar', 'entrepreneur', 'housemaid', 'management', 'retired', 'self-employed', 'services', 'student', 'technician', 'unemployed', 'unknown')
Marital marital status (categorical: 'divorced', 'married', 'single', 'unknown' ; note: 'divorced' means divorced or widowed)
Education (categorical: 'basic.4y', 'basic.6y', 'basic.9y', 'high.school', 'illiterate', 'professional.course', 'university.degree', 'unknown')
Default has credit in default? (categorical: 'no', 'yes', 'unknown')
Housing has housing loan? (categorical: 'no', 'yes', 'unknown')
Loan has personal loan? (categorical: 'no', 'yes', 'unknown')
Contact contact communication type (categorical: 'cellular','telephone')
Month last contact month of year (categorical: 'jan', 'feb', 'mar', ..., 'nov', 'dec')
Day_of_week last contact day of the week (categorical: 'mon','tue','wed','thu','fri')
Duration last contact duration, in seconds (numeric). Important note: this attribute highly affects the output target (e.g., if duration=0 then y='no'). Yet, the duration is not known before a call is performed. Also, after the end of the call y is obviously known. Thus, this input should only be included for benchmark purposes and should be discarded if the intention is to have a realistic predictive model.
Campaign number of contacts performed during this campaign and for this client (numeric, includes last contact)
Pdays number of days that passed by after the client was last contacted from a previous campaign (numeric; 999 means client was not previously contacted)
Previous number of contacts performed before this campaign and for this client (numeric)
Poutcome outcome of the previous marketing campaign (categorical: 'failure','nonexistent','success')
Emp.var.rate employment variation rate - quarterly indicator (numeric)
Cons.price.idx consumer price index - monthly indicator (numeric)
Cons.conf.idx consumer confidence index - monthly indicator (numeric)
Euribor3m euribor 3 month rate - daily indicator (numeric)
Nr.employed number of employees - quarterly indicator (numeric)
y has the client subscribed a term deposit? (binary: 'yes', 'no')
  • Number of rows = 41188 rows
  • Number of columns = 21 columns

tools

Technologies

  • Python
  • Jupyter Notebook
  • PowerPoint for presentation

Libraries

  • Pandas
  • NumPy
  • Seaborn
  • Matplotlib
  • Plotly
  • Sklearn

About