The data is related to 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 (or not) subscribed. The classification goal is to predict if the client will subscribe a term deposit (variable deposit).
data( bank )
bank dataset, as a data frame, contains
4521 rows (customers) and
17 columns (variables/features). The
17 variables are:
Bank client data:
job: type of job; categorical: "admin.", "unknown", "unemployed", "management", "housemaid", "entrepreneur", "student", "blue-collar, "self-employed", "retired", "technician", "services".
marital: marital status; categorical: "married", "divorced", "single"; note: "divorced" means divorced or widowed.
education: categorical: "secondary", "primary", "tertiary", "unknown".
default: has credit in default?; binary: "yes","no".
balance: average yearly balance, in euros; numeric.
housing: has housing loan? binary: "yes", "no".
loan: has personal loan? binary: "yes", "no".
Related with the last contact of the current campaign:
contact: contact: contact communication type; categorical: "unknown","telephone","cellular".
day: last contact day of the month; numeric.
month: last contact month of year; categorical: "jan", "feb", "mar", ..., "nov", "dec".
duration: last contact duration, in seconds; numeric.
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, -1 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: "success", "failure", "unknown", "other".
deposit: Indicator of whether the client subscribed a term deposit; binary: "yes" or "no".
This dataset can be downloaded from the UCI machine learning repository:
Moro, S., Laureano, R. and Cortez, P. (2011) Using Data Mining for Bank Direct Marketing: An Application of the CRISP-DM Methodology. In P. Novais et al. (Eds.), Proceedings of the European Simulation and Modelling Conference.
data( bank ) str( bank )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.