bank: Bank marketing data set

bankR Documentation

Bank marketing data set

Description

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).

Usage

 data( bank ) 

Format

The bank dataset, as a data frame, contains 4521 rows (customers) and 17 columns (variables/features). The 17 variables are:

Bank client data:

  • age: numeric.

  • 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.

Other attributes:

  • 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".

Target variable:

  • deposit: Indicator of whether the client subscribed a term deposit; binary: "yes" or "no".

Details

This dataset can be downloaded from the UCI machine learning repository:

http://archive.ics.uci.edu/ml/datasets/Bank+Marketing

References

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.

See Also

adult, risk, churn, churnTel, advertising, marketing, insurance, cereal, housePrice, house

Examples

data( bank )

str( bank )

liver documentation built on Nov. 2, 2023, 5:29 p.m.