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. Input variables: # bank client data: 1 - age (numeric) 2 - job : type of job (categorical:housemaid=1;services=2;blue-collar=3;admin.=4;technician=5;retired=6;management=7;unemployed=8;self-employed=9;unknown=10;entrepreneur=11;student=12) 3 - marital : marital status (categorical: divorced=1,married=2,single=3,unknown=4; note: 'divorced' means divorced or widowed) 4 - education (categorical: 'basic.4y'=1,'basic.6y'=2,'basic.9y'=3,'high.school'=4,'illiterate'=5,'professional.course'=6,'university.degree'=7,'unknown'=8) 5 - default: has credit in default? (categorical: 'no'=1,'unknown'=2,'yes'=3) 6 - housing: has housing loan? (categorical: 'no'=1,'unknown'=2,'yes'=3) 7 - loan: has personal loan? (categorical: 'no'=1,'unknown'=2,'yes'=3) # related with the last contact of the current campaign: 8 - contact: contact communication type (categorical: 'cellular','telephone') 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. # other attributes: 9 - campaign: number of contacts performed during this campaign and for this client (numeric, includes last contact) 10 - 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) 11 - previous: number of contacts performed before this campaign and for this client (numeric) 12 - poutcome: outcome of the previous marketing campaign (categorical: 'failure'=1,'nonexistent'=2,'success'=3) Output variable (desired target): y - has the client subscribed a term deposit? (binary: 'yes'=1,'no'=2)