ID3 Algorithm - R Programming

friends_friends
HW07SupportFiles.zip

HW07 Support Files/.Rhistory

data <- read.table(url, fileEncoding="UTF-8", sep=",") str(iris) library(ggplot2) ggplot(data = iris, aes(x = Sepal.Length, y = Sepal.Width, col = Species)) + geom_point() ggplot(data = iris, aes(x = Petal.Length, y = Petal.Width, col = Species)) + geom_point() library(GGally) ggpairs(iris) error <- c() for (i in 1:15) { knn.fit <- knn(train = iris_train[,1:4], test = iris_test[,1:4], cl = as.factor(iris_train$Species), k = i) error[i] = 1- mean(knn.fit == iris_test$Species) } head(iris) iris_2 <- iris[-5] head(iris_2) iris_3 <- as.data.frame(scale(iris_2)) head(iris_2) head(iris_3) sapply(iris_2) sapply(iris_2,mean) sapply(iris_3,mean) sapply(iris_3,sd) sapply(iris_2,sd) library(Nbclust) library(NBclust) library(NbClust) install.packages(NbClust) install.packages("NbClust") library(NbClust) wssplot(iris_3, nc=30, seed=1234) help(wssplot) ??wssplot wssplot <- function(data, nc=15, seed=1234){ wss <- (nrow(data)-1)*sum(apply(data,2,var)) for (i in 2:nc){ set.seed(seed) wss[i] <- sum(kmeans(data, centers=i)$withinss)} plot(1:nc, wss, type="b", xlab="Number of Clusters", ylab="Within groups sum of squares")} wssplot(iris_3, nc=30, seed=1234) ??NbClust w1 < kmeans(iris_3, 5) w1 <- kmeans(iris_3, 5) plot(w1) w1 wssplot <- function(data, nc=15, seed=1234){ wss <- (nrow(data)-1)*sum(apply(data,2,var)) for (i in 2:nc){ set.seed(seed) wss[i] <- sum(kmeans(data, centers=i)$withinss)} plot(1:nc, wss, type="b", xlab="Number of Clusters", ylab="Within groups sum of squares")} wssplot(iris_3,nc=30,seed=1234) wssplot(iris_3,nc=30,seed=1234) iris_kmeans<-kmeans(iris_3,7) iris_kmeans$centers iris_kmeans$size iris_kmeans iris$clstr<-iris_kmeans$cluster iris table(iris$Species,iris$clstr) set.seed(20) irisCluster <- kmeans(iris[, 3:4], 3, nstart = 20) irisCluster set.seed(20) irisCluster2 <- kmeans(iris_3, 3) irisCluster2 set.seed(20) irisCluster3 <- kmeans(iris[, 3:4], 3, nstart = 20) irisCluster3 ?table set.seed(20) irisCluster2 <- kmeans(iris_3, 3, nstart=3) irisCluster2 set.seed(20) irisCluster2 <- kmeans(iris_3, 3, nstart=20) irisCluster2 set.seed(20) irisCluster2 <- kmeans(iris_3, 3, nstart=20) irisCluster2 set.seed(20) irisCluster3 <- kmeans(iris[, 3:4], 3, nstart = 20) irisCluster3 install.packages(c("arules", "arulesViz")) # appears on console library('arules') library('arulesViz') data(Groceries) summary(Groceries) # indicates 9835 rows Groceries@itemInfo[1:10,] apply(Groceries@data[,10:20],2,function(r) paste(Groceries@itemInfo[r,"labels"],collapse=", ")) apply(Groceries@data[,10:20],2,function(r) paste(Groceries@itemInfo[r,"labels"],collapse=", ")) paste(Groceries@itemInfo[r,"labels"],collapse=", ")) apply(Groceries@data[,10:20],2,function(r) paste(Groceries@itemInfo[r,"labels"],collapse=", ")) library(tidyverse) mpg ggplot(data = mpg) + geom_point(mapping = aes(x = displ, y = hwy)) ggplot(data = mpg) str(mpg) table(mpg) summary(mpg) ggplot(data = mpg) + geom_point(mapping = aes(x = hwy, y = cyl)) ggplot(data = mpg) + geom_point(mapping = aes(x = cyl, y = hwy)) ggplot(data = mpg) + geom_point(mapping = aes(x = hwy, y = cyl)) clear() clr() demo() library(tidyverse) tidyverse_update() install.packages(c("broom", "haven", "httr", "jsonlite", "readr", "readxl")) library(tidyverse) library(dplyr) install.packages(c("nycflights13", "gapminder", "Lahman")) library(tidyverse) ggplot(data = mpg) + geom_point(mapping = aes(x = displ, y = hwy)) my_variable <- 12 my_variable my_variable <- 10 my_varıable my_variable <- 10 my_variable <- 10 my_varıable my_variable <- 10 my_varıable my_variable library(tidyverse) as_tibble(iris) iris mtcars as_tibble(mtcars) df <- data.frame(abc = 1, xyz = "a") df$x df[, "xyz"] df[, c("abc", "xyz")] df as_tibble(abc=1, xyz="a") df2 <- tibble(abc=1, xyz="a") dfw df2 table1 table2 table3 table4a table4b income_input = as.data.frame( read.csv("c:/data/income.csv") ) income_input[1:10,] income_input = as.data.frame( read.csv("/Users/alirshah/Desktop/Training/UC/RProg/rstudiofiles/income.csv") ) income_input[1:10,] summary(income_input) library(lattice) splom(~income_input[c(2:5)], groups=NULL, data=income_input, axis.line.tck = 0, axis.text.alpha = 0) library(GGally) ?ggally ggpairs(income_input) splom(~income_input[c(2:5)], groups=NULL, data=income_input, axis.line.tck = 0, axis.text.alpha = 0) results <- lm(Income~Age + Education + Gender, income_input) summary(results) results2 <- lm(Income ~ Age + Education, income_input) summary(results2) results3 <- lm(Income~Age + Education, + Alabama, + Alaska, + Arizona, . . . + WestVirginia, + Wisconsin, income_input) with(results2, { plot(fitted.values, residuals,ylim=c(-40,40) ) points(c(min(fitted.values),max(fitted.values)), c(0,0), type = "l")}) hist(results2$residuals, main="") hist(results2$residuals, main="") qqnorm(results2$residuals, ylab="Residuals", main="") qqline(results2$residuals) # compute confidence intevals for the model parameters confint(results2, level = .95) # compute a confidence interval on the expected income of a person Age <- 41 Education <- 12 new_pt <- data.frame(Age, Education) conf_int_pt <- predict(results2, new_pt, level=.95, interval="confidence") conf_int_pt # compute a prediction interval on the income of the same person pred_int_pt <- predict(results2, new_pt, level=.95, interval="prediction") pred_int_pt library(tidyverse) mpg ggplot(data = mpg) + geom_point(mapping = aes(x = displ, y = hwy)) ?ggplot ggplot(data = mpg) table(mpg) str(mpg) ggplot(data = mpg) + geom_point(mapping = aes(x = displ, y = hwy, color = class)) x <- 3 * 4 x iris as.tibble(iris) pairs(iris[1:4], main = "Anderson's Iris Data -- 3 species", pch = 21, bg = c("red", "green3", "blue")[unclass(iris$Species)] ) # Generate random log normal income data income = rlnorm(5000, meanlog=log(40000), sdlog=log(5)) # Part I: Create the density plot plot(density(log10(income), adjust=0.5), main="Distribution of Account Values (log10 scale)") # Add rug to the density plot rug(log10(income)) # Part II: Make the histogram # Create "log-like bins" breaks = c(0, 1000, 5000, 10000, 50000, 100000, 5e5, 1e6, 2e7) # Create bins and label the data bins = cut(income, breaks, include.lowest=T, labels = c("< 1K", "1-5K", "5-10K", "10-50K", "50-100K", "100-500K", "500K-1M", "> 1M")) # Plot the bins plot(bins, main = "Distribution of Account Values", xlab = "Account value ($ USD)", ylab = "Number of Accounts", col="blue") data(Groceries) Groceries install.packages('arules') install.packages('arulesViz') library('arules') library('arulesViz') data(Groceries) Groceries summary(Groceries) class(Groceries) # display the first 20 grocery labels Groceries@itemInfo[1:20,] # display the 10th to 20th transactions apply(Groceries@data[,10:20], 2, function(r) paste(Groceries@itemInfo[r,"labels"], collapse=", ") ) # frequent 1-itemsets itemsets <- apriori(Groceries, parameter=list(minlen=1, maxlen=1, support=0.02, target="frequent itemsets")) summary(itemsets) inspect(head(sort(itemsets, by = "support"), 10)) # frequent 2-itemsets itemsets <- apriori(Groceries, parameter=list(minlen=2, maxlen=2, support=0.02, target="frequent itemsets")) summary(itemsets) inspect(head(sort(itemsets, by ="support"),10)) # frequent 3-itemsets itemsets <- apriori(Groceries, parameter=list(minlen=3, maxlen=3, support=0.02, target="frequent itemsets")) inspect(sort(itemsets, by ="support")) # frequent 4-itemsets itemsets <- apriori(Groceries, parameter=list(minlen=4, maxlen=4, support=0.02, target="frequent itemsets")) inspect(sort(itemsets, by ="support")) # run Apriori without setting the maxlen parameter itemsets <- apriori(Groceries, parameter=list(minlen=1, support=0.02, target="frequent itemsets")) rules <- apriori(Groceries, parameter=list(support=0.001, confidence=0.6, target = "rules")) summary(rules) plot(rules) plot(rules@quality) # displays rules with top lift scores inspect(head(sort(rules, by="lift"), 10)) confidentRules <- rules[quality(rules)$confidence > 0.9] confidentRules plot(confidentRules, method="matrix", measure=c("lift", "confidence"), control=list(reorder=TRUE)) plot(confidentRules, method="matrix", measure=c("lift", "confidence"), control=list(reorder=TRUE)) plot(highLiftRules, method="graph", control=list(type="items")) highLiftRules <- head(sort(rules, by="lift"), 5) plot(highLiftRules, method="graph", control=list(type="items")) rules <- apriori(Groceries, parameter=list(support=0.001, confidence=0.6, target = "rules")) summary(rules) plot(rules) plot(rules@quality) # displays rules with top lift scores inspect(head(sort(rules, by="lift"), 10)) confidentRules <- rules[quality(rules)$confidence > 0.9] confidentRules plot(confidentRules, method="matrix", measure=c("lift", "confidence"), control=list(reorder=TRUE)) # select the 5 rules with the highest lift highLiftRules <- head(sort(rules, by="lift"), 5) plot(highLiftRules, method="graph", control=list(type="items")) data("Groceries") string(Groceries) str(Groceries) Groceries as.tibble(Groceries) mydata <- read.csv("https://stats.idre.ucla.edu/stat/data/binary.csv") mydata$rank <- factor(mydata$rank) mylogit <- glm(admit ~ gre + gpa + rank, data = mydata, family = "binomial") summary(mylogit) install.packages("rpart.plot") # install package rpart.plot library("rpart") library("rpart.plot") banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") setwd("~/Desktop/Training/UC/ITS 836 Big Data Analytics/ITS836 Spring 2019/Week07/HW07 Support Files") banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") View(banktrain) drops<-c("age", "balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] summary(banktrain) fit <- rpart(subscribed ~ job + marital + education + default + housing + loan + contact + poutcome, method="class", data=banktrain, control=rpart.control(minsplit=1), parms=list(split='information')) summary(fit) # Plot the tree rpart.plot(fit, type=4, extra=2, clip.right.labs=FALSE, varlen=0, faclen=3) # Entropy of coin flips x <- sort(runif(1000)) y <- data.frame(x=x, y=-x*log2(x)-(1-x)*log2(1-x)) plot(y, type="l", xlab="P(X=1)", ylab=expression("H"["X"])) grid() # include a numeric variable "duration" into the model fit <- rpart(subscribed ~ job + marital + education + default + housing + loan + contact + duration + poutcome, method="class", data=banktrain, control=rpart.control(minsplit=1), parms=list(split='information')) summary(fit) # Plot the tree rpart.plot(fit, type=4, extra=2, clip.right.labs=FALSE, varlen=0, faclen=3) newdata <- data.frame(job="retired", marital="married", education="secondary", default="no", housing="yes", loan="no", contact = "cellular", duration = 598, poutcome="unknown") newdata predict(fit,newdata=newdata,type=c("class")) library("rpart") # load libraries library("rpart.plot") # Read the data play_decision <- read.table("DTdata.csv", header=TRUE, sep=",") play_decision summary(play_decision) # build the decision tree fit <- rpart(Play ~ Outlook + Temperature + Humidity + Wind, method="class", data=play_decision, control=rpart.control(minsplit=1), parms=list(split='information')) summary(fit) ?rpart.plot rpart.plot(fit, type=4, extra=1) rpart.plot(fit, type=4, extra=1) rpart.plot(fit, type=4, extra=2, clip.right.labs=FALSE, varlen=0, faclen=0) newdata <- data.frame(Outlook="rainy", Temperature="mild", Humidity="high", Wind=FALSE) newdata predict(fit,newdata=newdata,type="prob") predict(fit,newdata=newdata,type="class") banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") # install some packages install.packages("ROCR") library(ROCR) banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") drops <- c("balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] # testing set banktest <- read.table("bank-sample-test.csv",header=TRUE,sep=",") banktest <- banktest [,!(names(banktest) %in% drops)] # build the na?ve Bayes classifier nb_model <- naiveBayes(subscribed~., data=banktrain) # perform on the testing set nb_prediction <- predict(nb_model, # remove column "subscribed" banktest[,-ncol(banktest)], type='raw') score <- nb_prediction[, c("yes")] actual_class <- banktest$subscribed == 'yes' pred <- prediction(score, actual_class) perf <- performance(pred, "tpr", "fpr") plot(perf, lwd=2, xlab="False Positive Rate (FPR)", ylab="True Positive Rate (TPR)") abline(a=0, b=1, col="gray50", lty=3) ## corresponding AUC score auc <- performance(pred, "auc") auc <- unlist(slot(auc, "y.values")) auc auc <- performance(pred, "auc") library("rpart") library("rpart.plot") banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") ## drop a few columns to simplify the model drops<-c("balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] summary(banktrain) ## testing set # banktest <- read.table("bank-sample-test.csv",header=TRUE,sep=",") # banktest <- banktest [,!(names(banktest) %in% drops)] # summary(banktest) ## manually compute the conditional probabilities maritalCounts <- table(banktrain[,c("subscribed", "marital")]) maritalCounts <- maritalCounts/rowSums(maritalCounts) maritalCounts maritalCounts["yes","divorced"] jobCounts <- table(banktrain[,c("subscribed", "job")]) jobCounts <- jobCounts/rowSums(jobCounts) jobCounts install.packages("e1071") # install package e1071 library(e1071) # load the library sample <- read.table("sample1.csv",header=TRUE,sep=",") print(sample) # read the data into a table from the file sample <- read.table("sample1.csv",header=TRUE,sep=",") # define the data frames for the NB classifier traindata <- as.data.frame(sample[1:14,]) testdata <- as.data.frame(sample[15,]) traindata testdata dir() sample <- read.table("sample1.csv",header=TRUE,sep=",") print(sample) # read the data into a table from the file sample <- read.table("sample1.csv",header=TRUE,sep=",") # define the data frames for the NB classifier traindata <- as.data.frame(sample[1:14,]) testdata <- as.data.frame(sample[15,]) traindata testdata tprior <- table(traindata$Enrolls) tprior tprior <- tprior/sum(tprior) tprior ageCounts <- table(traindata[,c("Enrolls", "Age")]) ageCounts ageCounts <- ageCounts/rowSums(ageCounts) ageCounts incomeCounts <- table(traindata[,c("Enrolls", "Income")]) incomeCounts <- incomeCounts/rowSums(incomeCounts) incomeCounts jsCounts <- table(traindata[,c("Enrolls", "JobSatisfaction")]) jsCounts <- jsCounts/rowSums(jsCounts) jsCounts desireCounts <- table(traindata[,c("Enrolls", "Desire")]) desireCounts <- desireCounts/rowSums(desireCounts) desireCounts prob_yes <- ageCounts["Yes",testdata[,c("Age")]]* incomeCounts["Yes",testdata[,c("Income")]]* jsCounts["Yes",testdata[,c("JobSatisfaction")]]* desireCounts["Yes",testdata[,c("Desire")]]* tprior["Yes"] prob_no <- ageCounts["No",testdata[,c("Age")]]* incomeCounts["No",testdata[,c("Income")]]* jsCounts["No",testdata[,c("JobSatisfaction")]]* desireCounts["No",testdata[,c("Desire")]]* tprior["No"] prob_yes prob_no max(prob_yes,prob_no) model <- naiveBayes(Enrolls ~ Age+Income+JobSatisfaction+Desire, traindata) # display model model # predict with testdata results <- predict (model,testdata) # display results results # use the NB classifier with Laplace smoothing model1 = naiveBayes(Enrolls ~., traindata, laplace=.01) # display model model1 # predict with testdata results1 <- predict (model1,testdata) # display results results1 banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") # drop a few columns drops <- c("balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] # testing set banktest <- read.table("bank-sample-test.csv",header=TRUE,sep=",") banktest <- banktest [,!(names(banktest) %in% drops)] # build the na?ve Bayes classifier nb_model <- naiveBayes(subscribed~., data=banktrain) # perform on the testing set nb_prediction <- predict(nb_model, # remove column "subscribed" banktest[,-ncol(banktest)], type='raw') score <- nb_prediction[, c("yes")] actual_class <- banktest$subscribed == 'yes' pred <- prediction(score, actual_class) perf <- performance(pred, "tpr", "fpr") plot(perf, lwd=2, xlab="False Positive Rate (FPR)", ylab="True Positive Rate (TPR)") abline(a=0, b=1, col="gray50", lty=3) ## corresponding AUC score auc <- performance(pred, "auc") auc <- unlist(slot(auc, "y.values")) auc

HW07 Support Files/bank-sample-test.csv

age job marital education default balance housing loan contact day month duration campaign pdays previous poutcome subscribed
52 blue-collar married secondary no 557 no no unknown 8 may 111 3 -1 0 unknown no
49 blue-collar married secondary no 1264 no no cellular 8 aug 140 3 -1 0 unknown no
45 blue-collar married unknown no 248 yes no unknown 6 may 88 5 -1 0 unknown no
48 self-employed married tertiary no 929 no no cellular 29 jan 223 1 -1 0 unknown no
35 technician married secondary no 0 no no cellular 14 jul 460 3 -1 0 unknown no
33 services married secondary no 450 yes no unknown 4 jun 121 4 -1 0 unknown no
55 technician married unknown no 240 yes no cellular 2 aug 108 3 277 1 success yes
37 technician single tertiary no 6889 yes no cellular 17 apr 108 2 147 1 failure no
56 blue-collar married secondary no 876 yes no telephone 18 may 93 2 -1 0 unknown no
43 management married tertiary no 544 yes no unknown 27 jun 154 6 -1 0 unknown no
84 retired married tertiary no 4761 no no telephone 9 sep 1405 1 92 3 failure yes
21 student single primary no 423 no no telephone 18 jan 287 5 285 5 success yes
36 technician single secondary no 1407 no no cellular 2 mar 328 1 109 3 other no
38 management married tertiary no 3228 no no cellular 27 aug 123 8 -1 0 unknown no
28 self-employed single tertiary no 805 no no cellular 26 may 69 1 99 1 success no
53 management married tertiary no -670 no yes cellular 11 jul 86 2 -1 0 unknown no
47 technician married primary no 145 yes no unknown 7 may 157 6 -1 0 unknown no
35 services divorced secondary no 0 yes yes cellular 12 may 95 4 357 1 failure no
34 management single tertiary no 1 yes no cellular 24 jul 76 1 -1 0 unknown no
34 management married tertiary no 832 no no cellular 8 aug 229 4 -1 0 unknown no
31 blue-collar married secondary no 1495 yes yes unknown 23 may 159 3 -1 0 unknown no
40 admin. married tertiary no 0 yes no cellular 15 jul 125 3 -1 0 unknown no
32 technician divorced secondary no 0 yes no cellular 6 may 94 1 -1 0 unknown no
32 technician single secondary no 4110 yes no unknown 26 may 232 3 -1 0 unknown no
55 management married tertiary no 0 no no unknown 29 may 206 2 -1 0 unknown no
32 technician single secondary no 4069 yes no cellular 25 jul 273 1 -1 0 unknown no
35 services single secondary no 257 yes no unknown 2 jun 518 1 -1 0 unknown no
46 blue-collar married primary no 1823 no no unknown 18 jun 135 3 -1 0 unknown no
57 admin. married primary no 202 yes no cellular 20 apr 207 1 346 2 failure no
48 services married secondary no 124 no yes cellular 9 jul 294 1 -1 0 unknown no
42 blue-collar married secondary no 3168 yes no cellular 8 apr 764 2 -1 0 unknown no
29 admin. divorced secondary no 2 no yes cellular 29 jan 220 1 -1 0 unknown no
37 blue-collar single primary no 554 yes no cellular 30 jul 74 3 -1 0 unknown no
36 services married secondary no 0 yes no cellular 30 jul 54 12 -1 0 unknown no
50 entrepreneur married tertiary no 5420 yes no cellular 17 nov 73 1 -1 0 unknown no
41 unemployed divorced secondary no 1281 no no cellular 31 jul 45 3 -1 0 unknown no
42 technician single tertiary no 166 no no cellular 12 aug 226 4 -1 0 unknown no
41 admin. married unknown no 488 no no cellular 21 nov 174 1 -1 0 unknown no
53 housemaid married primary no 3166 no no unknown 20 jun 14 12 -1 0 unknown no
55 blue-collar married primary no 145 no no telephone 2 feb 59 3 5 2 other no
33 technician married secondary no 221 yes no cellular 13 may 669 1 355 4 failure yes
59 entrepreneur married tertiary no 712 yes no unknown 11 jun 109 1 -1 0 unknown no
49 blue-collar married primary no 3659 yes no unknown 7 may 160 1 -1 0 unknown no
52 technician married secondary no 1373 no no cellular 27 oct 157 1 -1 0 unknown no
40 services single secondary no 464 yes yes unknown 19 may 183 7 -1 0 unknown no
33 technician single secondary no 161 no no cellular 25 aug 66 9 -1 0 unknown no
60 management married secondary no 0 no no telephone 22 feb 230 2 126 6 failure no
52 management divorced secondary no -607 yes no cellular 13 may 449 6 -1 0 unknown no
36 management married unknown no -35 yes yes unknown 21 may 17 2 -1 0 unknown no
48 services divorced secondary no 361 no no cellular 17 nov 287 1 -1 0 unknown no
79 retired married secondary no 2661 no no cellular 10 nov 254 5 -1 0 unknown yes
41 technician married secondary no 493 yes no unknown 16 may 130 3 -1 0 unknown no
40 blue-collar married primary no 2495 yes no cellular 12 may 135 2 354 3 other no
54 blue-collar married secondary no -135 yes no cellular 14 may 152 3 370 2 failure no
35 blue-collar single secondary no 398 yes no cellular 20 apr 198 1 -1 0 unknown no
55 management single tertiary no 1097 no no telephone 18 aug 199 2 -1 0 unknown no
32 management single tertiary no 509 no yes cellular 19 nov 208 2 -1 0 unknown no
38 admin. married tertiary no 1988 no no cellular 27 mar 164 2 130 2 failure yes
31 services married secondary no -214 yes no unknown 27 may 198 1 -1 0 unknown no
40 admin. single unknown no 419 yes no unknown 6 may 112 3 -1 0 unknown no
59 retired married tertiary no 1637 no yes cellular 18 jul 225 7 -1 0 unknown no
56 admin. married secondary no 382 no no cellular 20 apr 275 1 -1 0 unknown no
34 admin. married secondary no 395 yes no cellular 14 apr 258 8 -1 0 unknown no
36 admin. single secondary no 0 no no unknown 20 may 37 1 -1 0 unknown no
27 management single tertiary no 1840 no no cellular 1 jun 220 1 28 8 other yes
36 management married tertiary no 2609 yes no unknown 30 may 141 9 -1 0 unknown no
34 management single secondary no 31 yes no unknown 20 may 20 14 -1 0 unknown no
58 retired married primary no 235 yes no unknown 5 may 167 1 -1 0 unknown no
33 blue-collar married tertiary no 6138 yes no cellular 19 nov 384 1 183 1 failure no
38 technician single tertiary no 25 yes no cellular 1 jun 232 2 -1 0 unknown yes
51 services married primary no 314 yes yes telephone 8 may 713 3 -1 0 unknown no
52 management divorced tertiary no 147 no no cellular 30 jul 90 4 -1 0 unknown no
48 self-employed married tertiary no 0 no no cellular 29 jan 1249 3 -1 0 unknown yes
32 management married tertiary no 91 no no cellular 18 may 126 2 356 2 failure no
48 management married secondary no 161 yes no unknown 5 may 224 3 -1 0 unknown no
25 unemployed single primary no 129 no no cellular 12 apr 176 3 -1 0 unknown yes
76 housemaid married primary no 1483 no no cellular 2 aug 90 4 -1 0 unknown no
30 blue-collar married secondary no 1780 yes no unknown 28 may 116 12 -1 0 unknown no
52 management married tertiary no 2635 no no cellular 6 sep 313 1 108 8 success no
27 technician married secondary no 2460 yes no cellular 15 may 600 2 -1 0 unknown no
54 blue-collar married secondary no 983 no no cellular 25 aug 54 6 -1 0 unknown no
49 entrepreneur married secondary no 1160 yes no unknown 14 may 153 1 -1 0 unknown no
43 admin. married secondary no 817 yes yes cellular 21 nov 51 1 -1 0 unknown no
38 services married secondary no 4392 no no cellular 31 jul 32 2 -1 0 unknown no
54 blue-collar married primary no 175 no yes cellular 8 jul 1027 1 -1 0 unknown no
42 blue-collar married unknown no 0 no no unknown 26 may 270 2 -1 0 unknown no
36 technician married secondary no 4587 no no unknown 26 may 271 4 -1 0 unknown no
52 management married secondary no 264 no no cellular 20 aug 68 8 -1 0 unknown no
52 unemployed married secondary no 0 no no unknown 16 jun 18 7 -1 0 unknown no
34 admin. married secondary no -191 yes no cellular 17 jul 156 6 -1 0 unknown no
24 blue-collar married secondary no 9 yes no unknown 27 may 292 7 -1 0 unknown no
41 blue-collar married primary no 849 yes no unknown 15 may 72 1 -1 0 unknown no
38 services married secondary no 706 no no cellular 18 nov 206 2 -1 0 unknown no
60 retired married secondary no 1141 no yes cellular 8 jul 211 2 -1 0 unknown no
53 blue-collar married secondary no 483 yes no cellular 3 feb 288 3 -1 0 unknown no
20 blue-collar single secondary no 423 yes no cellular 16 apr 498 1 -1 0 unknown yes
35 blue-collar married primary no 0 yes no cellular 8 may 265 1 290 2 failure no
26 admin. married secondary no 8 yes yes cellular 24 jul 46 1 -1 0 unknown no
30 blue-collar divorced primary no -258 yes no cellular 18 may 18 2 -1 0 unknown no
27 admin. married primary no 395 yes no cellular 20 apr 122 2 -1 0 unknown no

__MACOSX/HW07 Support Files/._bank-sample-test.csv

HW07 Support Files/.DS_Store

__MACOSX/HW07 Support Files/._.DS_Store

HW07 Support Files/section_7_3.R

####################################################### # section 7.3 Diagnostics of Classifiers ####################################################### # install some packages install.packages("ROCR") library(ROCR) ## Read the data setwd("c:/data/") # training set banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") # drop a few columns drops <- c("balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] # testing set banktest <- read.table("bank-sample-test.csv",header=TRUE,sep=",") banktest <- banktest [,!(names(banktest) %in% drops)] # build the naïve Bayes classifier nb_model <- naiveBayes(subscribed~., data=banktrain) # perform on the testing set nb_prediction <- predict(nb_model, # remove column "subscribed" banktest[,-ncol(banktest)], type='raw') score <- nb_prediction[, c("yes")] actual_class <- banktest$subscribed == 'yes' pred <- prediction(score, actual_class) perf <- performance(pred, "tpr", "fpr") plot(perf, lwd=2, xlab="False Positive Rate (FPR)", ylab="True Positive Rate (TPR)") abline(a=0, b=1, col="gray50", lty=3) ## corresponding AUC score auc <- performance(pred, "auc") auc <- unlist(slot(auc, "y.values")) auc

__MACOSX/HW07 Support Files/._section_7_3.R

HW07 Support Files/sample1.csv

Age Income JobSatisfaction Desire Enrolls
<=30 High No Fair No
<=30 High No Excellent No
31 to 40 High No Fair Yes
>40 Medium No Fair Yes
>40 Low Yes Fair Yes
>40 Low Yes Excellent No
31 to 40 Low Yes Excellent Yes
<=30 Medium No Fair No
<=30 Low Yes Fair Yes
>40 Medium Yes Fair Yes
<=30 Medium Yes Excellent Yes
31 to 40 Medium No Excellent Yes
31 to 40 High Yes Fair Yes
>40 Medium No Excellent No
<=30 Medium Yes Fair

__MACOSX/HW07 Support Files/._sample1.csv

HW07 Support Files/section_7_2.R

####################################################### # section 7.2 Naïve Bayes ####################################################### # install some packages install.packages("rpart.plot") ########################################## # section 7.2.2 Naïve Bayes Classifier ########################################## library("rpart") library("rpart.plot") ## Read the data setwd("c:/data/") banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") ## drop a few columns to simplify the model drops<-c("balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] summary(banktrain) ## testing set # banktest <- read.table("bank-sample-test.csv",header=TRUE,sep=",") # banktest <- banktest [,!(names(banktest) %in% drops)] # summary(banktest) ## manually compute the conditional probabilities maritalCounts <- table(banktrain[,c("subscribed", "marital")]) maritalCounts <- maritalCounts/rowSums(maritalCounts) maritalCounts maritalCounts["yes","divorced"] jobCounts <- table(banktrain[,c("subscribed", "job")]) jobCounts <- jobCounts/rowSums(jobCounts) jobCounts educationCounts <- table(banktrain[,c("subscribed", "education")]) educationCounts <- educationCounts/rowSums(educationCounts) educationCounts defaultCounts <- table(banktrain[,c("subscribed", "default")]) defaultCounts <- defaultCounts/rowSums(defaultCounts) defaultCounts housingCounts <- table(banktrain[,c("subscribed", "housing")]) housingCounts <- housingCounts/rowSums(housingCounts) housingCounts loanCounts <- table(banktrain[,c("subscribed", "loan")]) loanCounts <- loanCounts/rowSums(loanCounts) loanCounts contactCounts <- table(banktrain[,c("subscribed", "contact")]) contactCounts <- contactCounts/rowSums(contactCounts) contactCounts poutcomeCounts <- table(banktrain[,c("subscribed", "poutcome")]) poutcomeCounts <- poutcomeCounts/rowSums(poutcomeCounts) poutcomeCounts ########################################## # section 7.2.5 Naïve Bayes in R ########################################## install.packages("e1071") # install package e1071 library(e1071) # load the library sample <- read.table("sample1.csv",header=TRUE,sep=",") print(sample) # read the data into a table from the file sample <- read.table("sample1.csv",header=TRUE,sep=",") # define the data frames for the NB classifier traindata <- as.data.frame(sample[1:14,]) testdata <- as.data.frame(sample[15,]) traindata testdata tprior <- table(traindata$Enrolls) tprior tprior <- tprior/sum(tprior) tprior ageCounts <- table(traindata[,c("Enrolls", "Age")]) ageCounts ageCounts <- ageCounts/rowSums(ageCounts) ageCounts incomeCounts <- table(traindata[,c("Enrolls", "Income")]) incomeCounts <- incomeCounts/rowSums(incomeCounts) incomeCounts jsCounts <- table(traindata[,c("Enrolls", "JobSatisfaction")]) jsCounts <- jsCounts/rowSums(jsCounts) jsCounts desireCounts <- table(traindata[,c("Enrolls", "Desire")]) desireCounts <- desireCounts/rowSums(desireCounts) desireCounts prob_yes <- ageCounts["Yes",testdata[,c("Age")]]* incomeCounts["Yes",testdata[,c("Income")]]* jsCounts["Yes",testdata[,c("JobSatisfaction")]]* desireCounts["Yes",testdata[,c("Desire")]]* tprior["Yes"] prob_no <- ageCounts["No",testdata[,c("Age")]]* incomeCounts["No",testdata[,c("Income")]]* jsCounts["No",testdata[,c("JobSatisfaction")]]* desireCounts["No",testdata[,c("Desire")]]* tprior["No"] prob_yes prob_no max(prob_yes,prob_no) model <- naiveBayes(Enrolls ~ Age+Income+JobSatisfaction+Desire, traindata) # display model model # predict with testdata results <- predict (model,testdata) # display results results # use the NB classifier with Laplace smoothing model1 = naiveBayes(Enrolls ~., traindata, laplace=.01) # display model model1 # predict with testdata results1 <- predict (model1,testdata) # display results results1

__MACOSX/HW07 Support Files/._section_7_2.R

HW07 Support Files/bank-sample.csv

age job marital education default balance housing loan contact day month duration campaign pdays previous poutcome subscribed
31 management single tertiary no 0 yes no cellular 15 apr 185 2 -1 0 unknown no
45 entrepreneur married tertiary no 1752 yes yes cellular 20 nov 56 2 -1 0 unknown no
46 services divorced secondary no 4329 no no cellular 21 nov 534 2 -1 0 unknown yes
35 management married tertiary no 1108 yes no cellular 17 nov 52 1 -1 0 unknown no
39 management married secondary no 1410 yes no unknown 23 may 55 1 -1 0 unknown no
31 management single tertiary no 499 yes no unknown 9 jun 122 2 -1 0 unknown no
34 entrepreneur married tertiary no 0 yes no cellular 6 may 611 1 183 1 failure yes
39 admin. married secondary no 26233 no no cellular 2 oct 462 1 -1 0 unknown no
38 blue-collar married secondary no 8444 yes no cellular 17 apr 39 2 324 1 other no
50 management married tertiary yes 72 no no cellular 22 aug 171 13 -1 0 unknown no
58 blue-collar married secondary no 1075 yes no cellular 18 may 42 1 -1 0 unknown no
36 management divorced secondary no 47 no no unknown 19 jun 159 1 -1 0 unknown no
35 blue-collar married secondary no 635 yes no cellular 13 may 265 2 -1 0 unknown no
72 retired married secondary no 17739 no no cellular 11 sep 135 4 -1 0 unknown no
31 management single tertiary no 999 yes no cellular 13 apr 187 5 -1 0 unknown no
57 retired married secondary yes 32 yes no cellular 15 may 476 3 -1 0 unknown no
35 unemployed married secondary no 315 yes no telephone 19 nov 70 1 -1 0 unknown no
43 management divorced tertiary no 38 yes no cellular 25 jul 197 6 -1 0 unknown no
51 management married tertiary no 257 yes no cellular 8 may 129 2 -1 0 unknown no
34 blue-collar married secondary no 0 yes no unknown 30 jun 780 3 -1 0 unknown no
30 management divorced tertiary no 415 yes yes cellular 6 may 984 1 343 4 failure yes
47 blue-collar divorced secondary no 1480 yes no cellular 15 may 144 1 365 1 failure no
37 blue-collar single secondary no 90 yes no cellular 17 apr 416 1 340 5 failure no
39 admin. single secondary no 35 no no unknown 11 jun 242 1 -1 0 unknown no
37 blue-collar married secondary no 723 yes no cellular 18 nov 119 1 110 2 failure no
34 blue-collar single secondary no 297 yes no unknown 9 may 407 4 -1 0 unknown no
53 housemaid married secondary no 1103 no no cellular 22 jul 274 6 -1 0 unknown no
40 technician married tertiary no 162 no no cellular 7 aug 256 3 -1 0 unknown no
52 admin. married primary no 576 yes no cellular 5 may 139 1 286 1 failure no
48 entrepreneur single tertiary no 318 yes no cellular 5 feb 1017 4 -1 0 unknown yes
36 management married tertiary no 0 yes no cellular 8 may 308 3 -1 0 unknown yes
37 services married secondary no 217 yes no cellular 11 may 152 1 -1 0 unknown no
35 management married tertiary no 244 yes no cellular 11 may 155 2 173 1 failure no
33 technician single secondary no 647 yes yes cellular 4 feb 124 1 273 1 other no
36 entrepreneur single secondary no 157 yes no unknown 8 may 41 1 -1 0 unknown no
55 admin. married secondary no 859 no no telephone 8 jul 153 1 -1 0 unknown no
33 technician married secondary no 4 yes yes unknown 18 jun 625 2 -1 0 unknown yes
53 management married tertiary no 232 yes no telephone 29 jan 32 1 -1 0 unknown no
44 technician married secondary yes 16486 yes yes cellular 19 nov 275 3 -1 0 unknown no
23 blue-collar single secondary yes -207 yes no unknown 3 jun 277 1 -1 0 unknown no
53 management married tertiary no 800 no no cellular 18 nov 90 1 -1 0 unknown no
42 technician married secondary no 1018 no no cellular 18 aug 280 2 -1 0 unknown no
54 management married secondary no -133 yes no cellular 17 apr 76 1 343 2 failure no
37 management single tertiary no 509 yes no cellular 6 may 133 1 -1 0 unknown no
50 admin. married secondary no 4855 no no cellular 5 aug 720 2 -1 0 unknown yes
80 retired married primary no 1021 no no telephone 26 feb 37 1 -1 0 unknown no
41 management married secondary no 218 yes no unknown 16 may 247 1 -1 0 unknown no
36 unemployed single tertiary no 1316 yes no unknown 30 may 265 2 -1 0 unknown no
38 management married unknown no 1257 no no cellular 21 nov 64 6 -1 0 unknown no
82 retired married primary no 8603 no no cellular 7 jul 429 1 -1 0 unknown yes
33 management married tertiary no 1 yes yes cellular 21 jul 551 8 -1 0 unknown no
34 blue-collar single primary no 0 yes yes cellular 21 jul 100 2 -1 0 unknown no
56 blue-collar single secondary no 6483 yes no cellular 16 apr 125 2 -1 0 unknown no
34 services married secondary no 586 yes yes unknown 8 may 224 2 -1 0 unknown no
21 student single secondary no 99 yes no unknown 13 may 49 1 -1 0 unknown no
58 blue-collar married secondary no 3027 yes no cellular 27 oct 120 1 186 1 success no
53 services married secondary no 1364 no no cellular 17 nov 508 1 115 1 failure no
30 management single tertiary no 420 no no cellular 25 aug 618 3 -1 0 unknown no
57 admin. divorced primary no 628 yes yes unknown 14 may 191 1 -1 0 unknown no
50 housemaid married tertiary no 5260 yes no cellular 24 jul 51 2 -1 0 unknown no
45 blue-collar married secondary no 9680 no no cellular 7 aug 89 4 -1 0 unknown no
58 technician single tertiary no 388 no no cellular 19 nov 96 1 -1 0 unknown no
40 self-employed single tertiary no 1693 yes no cellular 17 nov 353 1 -1 0 unknown no
57 services married secondary no 1301 yes no cellular 29 jul 63 2 -1 0 unknown no
30 student single secondary no 3096 no no cellular 2 aug 226 3 188 1 failure no
36 unemployed single tertiary no 9019 yes no unknown 11 jun 952 3 -1 0 unknown no
54 services married secondary no 0 no no unknown 19 jun 220 1 -1 0 unknown no
37 management married tertiary no 238 no no cellular 3 feb 185 1 92 1 success yes
60 blue-collar married primary no 193 yes no telephone 12 may 89 2 -1 0 unknown no
35 technician married secondary no 1 no no cellular 2 feb 215 2 -1 0 unknown no
24 technician single secondary no 84 yes no unknown 27 may 570 1 -1 0 unknown no
48 management married unknown no 54 yes no unknown 16 may 293 7 -1 0 unknown no
52 admin. divorced secondary no 1135 yes no cellular 14 may 248 1 -1 0 unknown no
42 services single secondary yes 58 no no cellular 3 feb 428 1 -1 0 unknown no
31 technician single tertiary no 1214 no no cellular 3 feb 39 1 -1 0 unknown no
53 blue-collar married primary no 1138 yes no cellular 6 aug 375 2 -1 0 unknown no
53 technician married secondary no 2818 yes no cellular 16 jul 350 7 -1 0 unknown no
48 self-employed divorced secondary yes 7 no no unknown 20 jun 633 2 -1 0 unknown no
60 admin. married secondary no 4348 yes no cellular 1 oct 131 2 98 12 other no
45 blue-collar married primary no 572 no no telephone 5 feb 13 6 -1 0 unknown no
47 management married tertiary no 3663 no no cellular 29 oct 424 2 213 3 success yes
29 blue-collar married primary no 236 yes no unknown 14 may 554 1 -1 0 unknown no
33 management married tertiary no 1412 yes no unknown 19 aug 480 1 -1 0 unknown yes
34 management single primary no 212 no no unknown 27 may 88 1 -1 0 unknown no
40 management single tertiary no 0 no no cellular 26 aug 58 7 -1 0 unknown no
41 blue-collar married unknown no 2361 no no cellular 14 may 91 1 -1 0 unknown no
46 technician married secondary no 2149 yes no cellular 15 apr 282 2 -1 0 unknown yes
38 blue-collar married primary no 1495 yes no unknown 2 jun 74 3 -1 0 unknown no
46 management divorced secondary no 270 no no unknown 12 jun 125 1 -1 0 unknown no
32 blue-collar married primary no 3136 yes no cellular 19 nov 820 1 -1 0 unknown yes
24 blue-collar married secondary no -389 yes yes unknown 4 jun 1242 1 -1 0 unknown yes
34 management married tertiary no 714 yes no cellular 21 nov 328 4 113 27 failure no
46 technician married secondary no 349 yes yes unknown 5 may 127 1 -1 0 unknown no
40 services divorced secondary no 1062 yes no cellular 15 apr 389 2 299 4 failure no
28 technician single secondary no 440 no yes cellular 5 feb 177 2 -1 0 unknown no
33 blue-collar single primary no 60 yes no cellular 14 may 74 1 290 2 failure no
32 self-employed single tertiary no 386 yes no cellular 18 nov 482 1 -1 0 unknown yes
24 blue-collar married secondary no 32 no no unknown 13 may 264 3 -1 0 unknown no
26 management single tertiary no 199 yes no cellular 7 may 413 1 -1 0 unknown no
29 services married tertiary no 0 no yes cellular 7 jul 158 1 -1 0 unknown no
43 blue-collar divorced secondary no -91 yes yes cellular 7 may 92 3 167 4 other no
33 unemployed single tertiary no 4874 no no telephone 22 feb 363 2 -1 0 unknown no
34 management single tertiary no 454 no no cellular 14 aug 76 3 -1 0 unknown no
45 technician married secondary no 1410 no no cellular 11 aug 71 2 -1 0 unknown no
58 technician married secondary no 786 yes no unknown 7 may 165 3 -1 0 unknown no
54 blue-collar married primary no 950 yes no unknown 15 may 285 2 -1 0 unknown no
30 management single secondary no 18 yes no cellular 17 nov 294 1 -1 0 unknown no
44 blue-collar divorced secondary no 427 yes no cellular 18 jul 151 1 -1 0 unknown no
43 blue-collar married secondary no 1127 yes no cellular 17 apr 126 3 345 2 other no
26 blue-collar married primary no 399 yes no cellular 22 jul 1288 2 -1 0 unknown no
31 management single tertiary no 4331 yes no cellular 22 jul 318 1 -1 0 unknown no
49 management married tertiary yes -24 no no cellular 18 nov 132 3 -1 0 unknown no
60 self-employed married tertiary no 3 no no cellular 18 aug 80 2 -1 0 unknown no
46 blue-collar single secondary no 338 yes no cellular 20 apr 178 4 -1 0 unknown no
34 technician married unknown no 863 no no cellular 21 nov 360 2 -1 0 unknown no
38 technician married secondary no 750 yes no unknown 27 may 265 2 -1 0 unknown no
26 blue-collar single secondary no 3145 no no cellular 28 dec 1141 1 209 1 other yes
41 blue-collar married primary no 620 no no cellular 28 jan 314 1 -1 0 unknown no
25 technician single tertiary no 1231 no no cellular 31 aug 271 2 -1 0 unknown yes
32 blue-collar single primary no 180 yes no cellular 13 may 804 1 -1 0 unknown no
35 services married secondary no 1053 yes no unknown 16 may 25 1 -1 0 unknown no
30 management divorced secondary no 37 no no unknown 12 may 262 2 -1 0 unknown no
42 blue-collar married secondary no 3 yes no cellular 12 may 118 1 -1 0 unknown no
36 blue-collar single secondary no 0 yes no cellular 5 feb 569 2 -1 0 unknown no
27 blue-collar single primary no 5 yes no cellular 18 may 182 1 -1 0 unknown no
29 services married secondary no -597 no no cellular 7 jul 500 2 -1 0 unknown no
56 management divorced tertiary no 94 no no unknown 4 jul 121 1 -1 0 unknown no
30 services single secondary no 342 yes no unknown 7 may 206 2 -1 0 unknown no
30 management single tertiary no 604 no yes cellular 2 feb 475 1 -1 0 unknown no
40 unemployed married secondary no 1077 yes yes cellular 17 nov 148 2 -1 0 unknown no
33 blue-collar married primary no 324 yes no cellular 13 may 217 2 -1 0 unknown no
31 technician single secondary no 0 no no cellular 29 aug 157 2 -1 0 unknown no
26 technician single secondary no 941 no yes cellular 25 jul 784 1 -1 0 unknown yes
51 technician married secondary no 500 yes no cellular 20 nov 26 6 -1 0 unknown no
39 admin. married secondary no 1221 no no unknown 12 jun 97 1 -1 0 unknown no
31 unemployed single tertiary no 381 yes no cellular 9 feb 42 2 -1 0 unknown no
38 blue-collar single secondary no 519 yes yes unknown 18 jun 13 14 -1 0 unknown no
36 blue-collar single tertiary no 1346 no no cellular 7 jul 74 7 -1 0 unknown no
47 blue-collar married primary no -301 yes no cellular 5 may 277 1 -1 0 unknown no
45 admin. married secondary no 0 yes no cellular 8 jul 376 1 -1 0 unknown no
75 retired married primary no 5491 no no telephone 28 jul 258 6 -1 0 unknown no
39 services divorced secondary no 892 yes no cellular 20 nov 34 1 171 1 failure no
22 student single unknown no 549 no no cellular 2 sep 154 1 -1 0 unknown no
30 technician single secondary no 73 no yes cellular 26 aug 43 2 -1 0 unknown no
57 management married tertiary no 3431 yes no unknown 16 may 73 1 -1 0 unknown no
56 housemaid married primary no 657 no no unknown 16 jun 211 2 -1 0 unknown no
39 blue-collar married secondary no 481 no no cellular 4 feb 38 8 -1 0 unknown no
44 services married secondary no -236 yes no cellular 18 nov 218 2 113 7 success no
33 self-employed married secondary no 409 no no cellular 8 sep 165 1 97 4 success yes
40 blue-collar married secondary no 3131 yes no cellular 24 jul 401 1 -1 0 unknown no
35 housemaid married secondary no 495 no no cellular 14 aug 414 4 -1 0 unknown no
48 management married tertiary no 1600 no no cellular 18 nov 448 1 -1 0 unknown no
41 entrepreneur married secondary no 2480 yes no unknown 11 jun 394 2 -1 0 unknown no
25 technician married tertiary no 914 yes no cellular 12 may 185 2 -1 0 unknown no
48 blue-collar divorced secondary no 4597 yes no cellular 10 jul 285 1 -1 0 unknown no
54 technician married secondary no -258 yes no cellular 5 may 65 3 342 1 other no
50 housemaid married primary no 85 no no cellular 21 nov 714 1 -1 0 unknown no
38 services single secondary no 1315 no no unknown 20 jun 23 12 -1 0 unknown no
40 management married tertiary no 2168 yes yes cellular 19 nov 530 1 -1 0 unknown no
39 blue-collar married primary no 0 no no unknown 6 jun 178 1 -1 0 unknown no
30 blue-collar married secondary no 0 yes no unknown 26 may 30 1 -1 0 unknown no
29 technician single secondary no 594 no no cellular 25 may 128 1 -1 0 unknown no
60 management married tertiary no 11 no no unknown 18 jun 802 3 -1 0 unknown no
40 blue-collar married secondary no 755 no no cellular 23 jul 145 1 -1 0 unknown no
44 technician married secondary no 331 yes no cellular 20 aug 256 4 -1 0 unknown no
32 housemaid married primary no 1349 yes no cellular 7 aug 132 2 -1 0 unknown no
28 admin. single tertiary no 336 no no cellular 26 may 135 1 -1 0 unknown no
27 blue-collar married secondary no 61 yes no unknown 19 jun 1012 1 -1 0 unknown yes
43 blue-collar married primary no 18 yes no cellular 14 may 131 2 370 3 other no
51 management married tertiary no 25856 no no cellular 14 aug 129 2 -1 0 unknown no
29 self-employed single tertiary no 1457 yes no cellular 7 apr 89 1 314 1 other no
40 blue-collar married primary no 332 yes no cellular 12 may 339 2 369 3 failure no
49 admin. married secondary no 1697 yes no cellular 19 nov 236 1 -1 0 unknown no
31 blue-collar single secondary no 616 yes no telephone 12 may 185 3 -1 0 unknown no
52 management divorced primary no 92 no yes cellular 16 jul 469 7 -1 0 unknown no
51 admin. married secondary no 101 no no cellular 7 aug 217 3 -1 0 unknown no
51 entrepreneur married tertiary no 6659 yes yes unknown 15 may 203 1 -1 0 unknown no
32 admin. single secondary no 781 no no cellular 20 nov 305 1 -1 0 unknown no
56 retired married secondary no 0 no yes cellular 7 aug 110 4 -1 0 unknown no
54 blue-collar divorced primary no 138 yes no unknown 4 jun 173 10 -1 0 unknown no
47 technician divorced tertiary no 477 yes no telephone 7 may 973 1 366 1 failure no
44 blue-collar married secondary no 476 no no cellular 14 jul 173 6 -1 0 unknown no
53 blue-collar married secondary no 5700 yes no unknown 14 may 97 1 -1 0 unknown no
29 management single tertiary no 2439 no no cellular 2 feb 263 2 -1 0 unknown no
38 technician married secondary no 1 yes no cellular 21 nov 57 5 199 1 success no
25 student single tertiary no 538 yes no cellular 20 apr 226 1 -1 0 unknown no
47 housemaid divorced secondary no 1565 no no cellular 5 feb 253 1 -1 0 unknown no
31 blue-collar married primary no 576 yes yes unknown 3 jun 230 3 -1 0 unknown no
59 retired married primary no 249 no no cellular 13 aug 432 5 -1 0 unknown no
24 admin. single secondary no 1019 yes no unknown 19 may 99 26 -1 0 unknown no
26 admin. married secondary no 714 yes no unknown 28 may 183 1 -1 0 unknown no
36 technician married secondary no 2473 no no cellular 28 aug 965 4 -1 0 unknown yes
31 student single unknown no 2347 no no cellular 18 dec 180 2 -1 0 unknown no
32 blue-collar single secondary no 6337 yes no cellular 19 nov 126 2 -1 0 unknown no
46 management single tertiary no 2154 yes no cellular 21 jul 87 4 -1 0 unknown no
29 management single secondary no 584 yes no unknown 16 jun 541 19 -1 0 unknown no
42 blue-collar married primary yes 398 yes no unknown 16 may 251 4 -1 0 unknown no
57 services married secondary no 2476 yes no cellular 7 aug 239 1 459 1 success no
28 blue-collar single unknown no 913 yes no unknown 27 may 580 2 -1 0 unknown no
32 blue-collar married secondary no 419 yes no unknown 30 may 56 2 -1 0 unknown no
39 admin. single secondary no 782 yes no cellular 5 may 542 4 47 11 other no
25 student married secondary no 37 no no unknown 24 jul 11 1 -1 0 unknown no
25 technician single secondary no -80 yes yes unknown 3 jun 89 1 -1 0 unknown no
34 admin. married secondary no 444 yes no cellular 11 jul 173 2 -1 0 unknown no
50 admin. single primary no 1367 no no telephone 30 jul 270 2 -1 0 unknown no
31 management married tertiary no 6980 no no cellular 12 aug 157 2 -1 0 unknown no
27 technician single secondary no 0 yes no cellular 6 may 176 1 -1 0 unknown no
55 blue-collar divorced primary no 39 yes no unknown 13 may 343 1 -1 0 unknown no
51 unemployed married secondary no 760 yes no unknown 14 may 411 1 -1 0 unknown no
43 technician divorced tertiary no 123 no no unknown 14 may 279 2 -1 0 unknown no
38 self-employed single secondary no 1146 yes no unknown 21 may 91 2 -1 0 unknown no
41 admin. married tertiary no 5426 yes no unknown 14 may 149 2 -1 0 unknown no
40 self-employed married secondary yes 2 no no cellular 27 aug 158 3 -1 0 unknown no
43 services married secondary no 0 yes no unknown 14 may 260 3 -1 0 unknown no
42 blue-collar married primary no 555 yes no unknown 8 may 249 2 -1 0 unknown no
34 entrepreneur married tertiary no 4343 no no unknown 9 jun 85 4 -1 0 unknown no
37 management married primary no 1404 yes no cellular 2 feb 97 1 -1 0 unknown no
34 technician married secondary no 1569 no no cellular 11 aug 149 2 -1 0 unknown no
47 technician married secondary no -18 yes no telephone 21 jul 105 2 -1 0 unknown no
33 management single tertiary no 2465 no no cellular 16 nov 139 2 95 1 success no
40 unknown married tertiary no 119 no no cellular 19 aug 258 2 -1 0 unknown no
50 blue-collar married primary no 811 no no unknown 11 jun 103 3 -1 0 unknown no
40 blue-collar divorced primary yes 0 yes no telephone 21 nov 333 3 -1 0 unknown no
46 technician married secondary no 78 no no cellular 20 aug 172 2 -1 0 unknown no
38 management divorced tertiary no 547 yes no unknown 14 may 137 4 -1 0 unknown no
55 management divorced tertiary no -612 no no cellular 26 aug 131 2 -1 0 unknown no
46 self-employed divorced tertiary no 926 yes no cellular 19 nov 168 2 153 1 other no
48 blue-collar married primary no 219 yes no unknown 29 may 109 4 -1 0 unknown no
43 admin. married secondary no 1159 yes no cellular 14 apr 114 2 -1 0 unknown no
44 management married tertiary no 647 no no unknown 16 jun 226 2 -1 0 unknown no
34 management divorced tertiary no 0 no no cellular 21 aug 123 2 -1 0 unknown no
38 admin. single secondary no 221 yes no cellular 4 feb 93 2 274 2 failure no
54 technician married secondary no 65 no no cellular 24 feb 87 1 91 3 failure no
40 technician married tertiary no 2946 no no unknown 9 jun 78 2 -1 0 unknown no
39 management married secondary no 13578 yes no cellular 21 nov 185 2 -1 0 unknown no
32 management single tertiary no 4638 no no cellular 29 jan 180 1 -1 0 unknown no
33 technician single secondary no 20 yes no cellular 7 aug 131 2 -1 0 unknown no
55 blue-collar divorced primary no 0 no no unknown 19 jun 120 1 -1 0 unknown no
43 blue-collar married secondary no 607 yes no unknown 26 may 172 2 -1 0 unknown no
46 management married secondary no 766 yes no unknown 16 jul 6 1 -1 0 unknown no
52 management married tertiary no 193 no no cellular 4 aug 145 1 -1 0 unknown no
26 management single tertiary no 2786 no no cellular 23 mar 415 1 -1 0 unknown yes
60 retired married primary no 155 no no cellular 25 aug 115 7 -1 0 unknown no
27 blue-collar single secondary no 87 no no telephone 10 jul 245 1 -1 0 unknown no
29 management single tertiary no 5980 yes no unknown 28 may 317 1 -1 0 unknown no
31 blue-collar single secondary no 5607 no no cellular 20 nov 183 2 184 1 failure no
40 admin. married secondary yes -279 yes no unknown 28 may 143 2 -1 0 unknown no
41 technician single secondary no 2300 no no cellular 8 aug 160 6 -1 0 unknown no
46 services divorced secondary no 124 yes yes cellular 12 may 81 4 -1 0 unknown no
37 blue-collar married secondary no 4321 no no cellular 8 sep 421 2 95 1 success no
29 blue-collar single secondary no -37 yes no unknown 4 jun 182 1 -1 0 unknown no
39 technician married tertiary no 4373 yes no cellular 13 aug 78 6 -1 0 unknown no
39 blue-collar married secondary no 298 yes no unknown 20 may 216 1 -1 0 unknown no
39 technician married tertiary no 123 yes no unknown 30 may 127 1 -1 0 unknown no
52 management married tertiary no 0 no no cellular 12 aug 106 2 -1 0 unknown no
56 management married tertiary no 3120 yes no cellular 7 aug 666 2 -1 0 unknown no
50 technician married unknown no -287 yes no cellular 8 may 92 1 347 1 failure no
33 blue-collar married secondary no -409 yes no unknown 3 jun 235 3 -1 0 unknown no
49 management married tertiary no 0 no no telephone 17 oct 223 1 -1 0 unknown yes
28 management single tertiary no 282 yes no unknown 26 jun 301 4 -1 0 unknown no
47 self-employed married secondary no 523 no no unknown 20 jul 7 1 -1 0 unknown no
28 self-employed single tertiary no 5215 no no cellular 2 jun 673 1 -1 0 unknown no
36 management married tertiary no 86 yes no cellular 3 sep 104 1 380 3 failure no
47 technician married secondary no -75 yes no cellular 4 feb 57 1 247 1 other no
57 technician married secondary no 16063 yes no unknown 30 may 352 3 -1 0 unknown no
34 blue-collar married secondary no 315 no no cellular 4 may 76 4 89 3 success no
29 blue-collar single secondary no 770 yes no cellular 17 apr 341 1 -1 0 unknown no
56 entrepreneur married tertiary no 16125 no no telephone 21 nov 167 1 -1 0 unknown no
23 services married secondary no 0 yes yes unknown 26 may 90 5 -1 0 unknown no
55 unemployed married tertiary no 383 no no unknown 6 may 343 3 -1 0 unknown no
40 unemployed single secondary no 6 no no unknown 9 jun 134 3 -1 0 unknown no
49 admin. married secondary no 1629 no no cellular 31 jul 57 2 -1 0 unknown no
30 self-employed married tertiary no 2666 no no cellular 5 aug 475 2 93 4 success yes
44 entrepreneur married secondary no 242 no yes cellular 21 jul 100 4 -1 0 unknown no
27 blue-collar single tertiary no 1372 no no cellular 21 jul 230 1 -1 0 unknown no
32 blue-collar married primary no 104 yes no cellular 25 jul 211 3 -1 0 unknown no
46 self-employed single secondary no 1029 no no cellular 17 nov 108 2 -1 0 unknown no
42 self-employed married tertiary no -1781 yes yes cellular 7 aug 197 2 -1 0 unknown no
30 management single tertiary no 167 no no cellular 30 jan 320 2 -1 0 unknown no
34 management single tertiary no 212 no no cellular 25 mar 278 8 -1 0 unknown yes
60 housemaid married tertiary no 443 no no unknown 5 jun 60 1 -1 0 unknown no
33 management married tertiary no 113 yes no unknown 5 jun 101 11 -1 0 unknown no
25 blue-collar single secondary no 2007 no no cellular 12 jan 265 2 -1 0 unknown yes
31 blue-collar married secondary no 64 yes no cellular 18 jul 302 3 -1 0 unknown no
40 blue-collar married primary no 418 no no cellular 2 feb 84 2 -1 0 unknown no
80 housemaid married secondary no 499 no no telephone 13 apr 224 2 393 4 failure no
33 management single tertiary no 973 no no cellular 29 jan 762 1 -1 0 unknown no
50 technician married primary no -315 no yes cellular 8 jul 173 1 -1 0 unknown no
49 retired single primary no 505 no no unknown 9 jun 35 1 -1 0 unknown no
61 retired married secondary no 2011 no no cellular 22 jun 292 1 578 2 failure no
29 technician married tertiary no -246 yes no unknown 6 jun 311 3 -1 0 unknown no
56 self-employed married tertiary no 349 yes no telephone 4 may 186 4 -1 0 unknown no
55 management married secondary no 964 no no cellular 3 feb 66 3 -1 0 unknown no
50 management married tertiary no 85 no yes cellular 1 jun 141 1 -1 0 unknown no
49 management married tertiary no 350 no no cellular 12 aug 238 6 -1 0 unknown no
40 technician married secondary no 169 yes no cellular 18 aug 43 4 -1 0 unknown no
34 technician married secondary no 1026 no no cellular 12 nov 319 1 100 6 failure no
43 entrepreneur married tertiary no 11532 yes no telephone 25 jul 58 1 -1 0 unknown no
44 management divorced tertiary no 0 yes yes cellular 19 nov 128 1 -1 0 unknown no
45 management married unknown no 9051 yes no unknown 19 may 124 63 -1 0 unknown no
49 blue-collar married secondary no 1039 yes no cellular 14 may 156 2 178 1 failure no
57 management married secondary no 1502 no no telephone 17 nov 340 2 109 11 failure no
35 services single secondary no 1227 yes yes unknown 28 may 283 3 -1 0 unknown no
35 technician divorced secondary no 69 yes no unknown 8 may 461 3 -1 0 unknown no
30 services married primary no 1015 yes no cellular 30 jul 11 8 -1 0 unknown no
48 management married tertiary no 13501 no no unknown 19 jun 63 2 -1 0 unknown no
60 retired married secondary no 89 no no cellular 30 apr 156 2 -1 0 unknown no
49 blue-collar married secondary no 863 yes yes telephone 8 may 101 1 -1 0 unknown no
46 technician divorced secondary no -154 yes no cellular 17 jul 158 1 -1 0 unknown no
37 admin. married secondary no 0 yes no cellular 22 jul 185 1 -1 0 unknown no
32 admin. single secondary no 562 yes no unknown 28 may 116 6 -1 0 unknown no
41 services married unknown no 230 yes no cellular 9 feb 155 3 -1 0 unknown no
57 management married tertiary no 1172 yes no cellular 20 nov 72 1 -1 0 unknown no
36 technician married secondary no -158 yes no cellular 28 aug 1037 7 -1 0 unknown no
30 self-employed single secondary no 299 yes no unknown 16 may 679 17 -1 0 unknown no
26 admin. single secondary no 94 no no cellular 29 jan 171 1 -1 0 unknown no
59 management married secondary no 1321 no no unknown 9 jun 3881 3 -1 0 unknown yes
30 technician divorced tertiary no -317 yes no unknown 7 may 381 2 -1 0 unknown no
30 admin. married secondary no 373 yes no cellular 30 jan 353 2 228 4 other no
32 management single tertiary no 3289 no no cellular 8 oct 375 2 179 2 failure no
30 management married tertiary no 5204 yes no cellular 19 nov 117 1 -1 0 unknown no
33 management single tertiary no 336 no no cellular 14 aug 220 2 -1 0 unknown no
40 management single primary no 1527 no yes cellular 20 nov 317 2 -1 0 unknown no
40 technician single unknown no 3652 yes no unknown 14 may 1028 2 -1 0 unknown yes
56 management single tertiary no 4542 no no unknown 12 may 148 2 -1 0 unknown no
39 technician married secondary no 7137 yes no unknown 27 may 151 7 -1 0 unknown no
49 entrepreneur divorced primary yes -736 no no cellular 31 jul 305 6 -1 0 unknown no
53 self-employed married tertiary no 730 yes no unknown 2 nov 18 1 368 2 failure no
39 technician married secondary no 425 yes no cellular 6 aug 562 3 -1 0 unknown no
52 entrepreneur married primary no 657 no no telephone 7 dec 91 2 217 1 other no
41 blue-collar divorced primary no 285 yes no cellular 20 apr 1272 2 -1 0 unknown yes
37 admin. single secondary no 569 yes yes unknown 6 may 126 2 -1 0 unknown no
30 management single tertiary no 635 yes no unknown 4 jun 29 2 -1 0 unknown no
36 management married tertiary no 11675 yes no cellular 20 nov 48 1 -1 0 unknown no
33 blue-collar single primary no 0 no no telephone 9 jul 83 1 -1 0 unknown no
70 retired divorced primary no 482 no no telephone 14 jul 413 1 181 3 success yes
60 unemployed married primary no 0 no no cellular 22 jul 1193 1 412 1 other yes
28 technician single tertiary no 387 yes no cellular 28 jan 455 1 -1 0 unknown no
43 self-employed married tertiary no 3003 no no cellular 8 aug 358 3 -1 0 unknown no
52 services married secondary no 497 yes no telephone 15 jul 265 5 -1 0 unknown no
48 management divorced tertiary no 1144 yes no cellular 17 nov 78 1 -1 0 unknown no
51 admin. married primary no 943 yes no unknown 29 may 620 1 -1 0 unknown no
35 technician single tertiary no 7546 yes no cellular 28 dec 137 1 122 3 failure no
41 technician married secondary no 11 yes no telephone 1 sep 150 1 -1 0 unknown no
27 technician married secondary no 2460 yes no cellular 15 may 600 2 -1 0 unknown no
42 entrepreneur married primary no 198 yes no unknown 8 may 314 1 -1 0 unknown no
34 blue-collar married secondary no -211 yes no cellular 29 jan 135 2 184 5 failure no
36 technician single tertiary no 251 yes no cellular 8 may 91 4 -1 0 unknown no
50 blue-collar married primary no 82 no no telephone 5 apr 456 1 -1 0 unknown yes
53 admin. divorced secondary no -112 no no unknown 19 jun 394 1 -1 0 unknown no
51 housemaid divorced tertiary no 1613 no no cellular 4 aug 870 1 -1 0 unknown yes
40 management divorced tertiary no 858 no no cellular 26 oct 202 2 -1 0 unknown yes
40 blue-collar married secondary no -438 no no cellular 11 may 1017 1 -1 0 unknown yes
36 management married tertiary no 2161 no no cellular 8 sep 708 2 183 5 success yes
30 management single tertiary no 275 yes no cellular 20 apr 52 2 -1 0 unknown no
28 admin. married secondary no 22171 yes no unknown 28 may 85 3 -1 0 unknown no
35 management single tertiary no 0 no yes cellular 11 jul 71 3 -1 0 unknown no
27 services married unknown no -209 yes yes cellular 29 jan 128 1 -1 0 unknown no
52 management married tertiary no 11650 yes no cellular 17 nov 48 1 -1 0 unknown no
35 management single tertiary no 2306 no no cellular 18 aug 86 7 -1 0 unknown no
41 admin. divorced secondary no 1967 yes no cellular 18 may 115 1 341 1 failure no
58 blue-collar married secondary no 1894 no no cellular 11 aug 153 6 -1 0 unknown no
32 management single secondary no 301 yes no cellular 16 apr 383 3 345 1 failure no
54 admin. divorced secondary no 7089 no no telephone 17 nov 40 1 -1 0 unknown no
49 blue-collar married secondary no 1854 yes no unknown 19 may 173 5 -1 0 unknown no
58 management married secondary no 1112 yes no telephone 20 apr 21 3 -1 0 unknown no
27 student single unknown no 468 no no cellular 4 feb 270 2 -1 0 unknown no
27 admin. married tertiary no 73 no no cellular 10 feb 159 1 -1 0 unknown yes
33 technician single secondary no 1746 yes no unknown 26 may 152 2 -1 0 unknown no
45 self-employed married secondary no -30 yes yes unknown 6 jun 165 2 -1 0 unknown no
40 technician married secondary no 351 no yes cellular 7 jul 139 1 -1 0 unknown no
52 technician married secondary no -1 no yes cellular 31 jul 166 1 -1 0 unknown no
45 technician married tertiary no 31630 no no cellular 30 apr 209 1 -1 0 unknown no
57 retired married secondary no 975 no no cellular 16 jul 166 1 -1 0 unknown no
30 blue-collar married secondary no 0 yes yes cellular 10 jul 1399 1 -1 0 unknown yes
35 management single tertiary no 3137 yes no unknown 23 may 72 3 -1 0 unknown no
32 technician single tertiary no 418 no yes cellular 14 jul 138 3 -1 0 unknown no
46 admin. single unknown no 2273 no no cellular 14 jul 187 3 -1 0 unknown no
53 unemployed divorced secondary no 0 no no unknown 20 jun 101 2 -1 0 unknown no
32 blue-collar single primary no 3595 yes no cellular 21 nov 171 2 -1 0 unknown no
37 admin. single tertiary no 2317 yes no cellular 20 apr 114 1 152 2 failure no
45 blue-collar married unknown no 909 yes no cellular 30 jan 166 1 262 1 other no
47 management married tertiary no 682 no no cellular 18 aug 638 6 -1 0 unknown yes
54 management divorced tertiary no 205 no no cellular 21 aug 182 6 -1 0 unknown no
41 technician married tertiary no -210 yes yes unknown 23 may 210 1 -1 0 unknown no
30 services single secondary no 21 yes no unknown 7 may 104 2 -1 0 unknown no
50 technician divorced tertiary no 173 no yes unknown 5 may 98 1 -1 0 unknown no
39 technician single secondary no 0 no no cellular 20 aug 332 4 -1 0 unknown no
28 services single secondary no 290 yes no cellular 18 may 128 1 -1 0 unknown no
25 technician single secondary no 0 no yes cellular 8 jul 634 1 -1 0 unknown yes
56 technician married secondary no 4063 no yes telephone 28 jul 31 4 -1 0 unknown no
30 services married secondary yes -846 yes no unknown 13 may 117 1 -1 0 unknown no
48 blue-collar married primary no 643 yes no cellular 11 may 66 4 173 7 other no
41 technician married secondary no 248 no no cellular 20 aug 156 2 -1 0 unknown no
30 unemployed single tertiary no 463 no no cellular 22 aug 374 4 -1 0 unknown no
41 blue-collar married secondary no -194 no yes cellular 10 jul 307 1 -1 0 unknown no
29 management married tertiary no 55 yes no cellular 10 jul 235 1 -1 0 unknown no
69 retired married secondary no 745 no no telephone 9 sep 595 1 -1 0 unknown no
48 blue-collar married secondary no 157 yes no unknown 6 may 73 1 -1 0 unknown no
31 unemployed married secondary no 57 yes yes unknown 23 may 104 5 -1 0 unknown no
39 admin. single secondary no 163 yes no cellular 30 jan 107 2 -1 0 unknown no
36 technician divorced secondary no 556 yes no cellular 18 nov 154 3 189 1 failure no
20 student single secondary no 291 no no telephone 11 may 172 5 371 5 failure no
26 services divorced secondary no 1600 yes yes unknown 30 may 288 3 -1 0 unknown no
30 blue-collar single secondary no 6900 no no cellular 21 nov 816 1 -1 0 unknown no
26 management single primary no 71 no no unknown 17 jun 390 2 -1 0 unknown no
28 management single tertiary no 5474 no no cellular 28 jul 486 5 -1 0 unknown yes
28 blue-collar married primary no 115 yes no unknown 28 may 78 4 -1 0 unknown no
48 blue-collar married unknown no 279 yes no telephone 14 jul 211 3 -1 0 unknown no
37 technician single unknown no 7245 no no cellular 20 nov 143 6 -1 0 unknown no
34 blue-collar married secondary no 2137 no no unknown 9 may 245 4 -1 0 unknown no
55 management married tertiary no 685 yes no unknown 5 may 174 3 -1 0 unknown no
44 admin. divorced secondary no 161 yes no unknown 7 may 89 2 -1 0 unknown no
70 retired married secondary no 2064 no no cellular 22 oct 334 1 -1 0 unknown no
41 unemployed married secondary no 2081 yes no cellular 3 feb 53 3 -1 0 unknown no
29 management single tertiary no 536 no no cellular 29 jan 418 2 -1 0 unknown no
35 management single tertiary no 1750 yes no cellular 22 oct 422 1 175 4 success no
32 student single tertiary no 922 no no cellular 18 oct 338 2 -1 0 unknown no
36 unemployed single primary no 1729 no no cellular 21 nov 341 1 -1 0 unknown no
60 retired married secondary no 1339 no yes cellular 22 jul 137 1 -1 0 unknown no
32 blue-collar single secondary no 400 no no cellular 4 may 268 3 -1 0 unknown yes
29 student single secondary no 1925 no no cellular 21 oct 150 3 149 5 success yes
56 entrepreneur divorced tertiary no 3846 no no cellular 31 jul 86 7 -1 0 unknown no
41 management married tertiary no 8553 yes no cellular 12 aug 304 12 -1 0 unknown no
33 admin. single secondary no 32 no no cellular 11 jul 43 1 -1 0 unknown no
51 management single tertiary no 417 yes no unknown 9 may 18 1 -1 0 unknown no
28 blue-collar married primary no 0 no no unknown 14 may 17 24 -1 0 unknown no
55 entrepreneur divorced tertiary no 903 yes no telephone 14 may 536 3 -1 0 unknown no
26 blue-collar single secondary no 2007 no no cellular 13 jul 272 3 182 2 success yes
36 management married tertiary no 8564 yes no unknown 23 may 125 1 -1 0 unknown no
38 technician married tertiary no 2453 yes yes cellular 18 nov 108 1 -1 0 unknown no
31 technician single tertiary no 26 no no cellular 21 aug 419 4 -1 0 unknown no
46 services married secondary no 198 no yes unknown 5 jun 49 1 -1 0 unknown no
26 self-employed single tertiary no 1078 no no cellular 30 apr 99 2 -1 0 unknown no
28 services single secondary no 94 yes no cellular 16 apr 300 1 -1 0 unknown no
50 services married secondary no 206 yes no unknown 6 may 154 1 -1 0 unknown no
60 technician divorced secondary no 615 yes no cellular 29 jan 130 1 -1 0 unknown no
40 management married tertiary no -117 yes no cellular 17 jul 770 2 -1 0 unknown no
32 unemployed married primary no 309 yes no telephone 13 may 185 1 370 3 failure no
54 blue-collar married secondary no 0 no yes cellular 16 jul 156 1 -1 0 unknown no
28 services single secondary no 2954 yes no unknown 28 may 149 2 -1 0 unknown no
40 blue-collar married secondary no 123 yes no cellular 2 feb 247 1 241 3 failure no
40 self-employed single tertiary no 41 no no telephone 29 aug 104 2 -1 0 unknown no
59 unemployed married primary no 0 no no cellular 30 jan 3025 2 -1 0 unknown no
24 blue-collar single primary no 758 yes no unknown 15 may 129 1 -1 0 unknown no
35 management married tertiary no 178 no no cellular 14 aug 76 2 -1 0 unknown no
43 management married tertiary no 1993 no no cellular 19 nov 37 1 174 1 failure no
43 admin. married tertiary no 1924 yes no unknown 7 may 244 7 -1 0 unknown no
50 entrepreneur divorced tertiary no 223 no no cellular 7 jul 264 5 -1 0 unknown no
38 admin. married secondary no -295 no no cellular 14 jul 356 3 -1 0 unknown no
30 blue-collar divorced primary no 53 yes no cellular 18 may 116 1 -1 0 unknown no
44 technician married secondary no 533 yes no cellular 18 nov 127 1 110 2 failure no
56 admin. married unknown no 681 no no cellular 13 aug 900 2 -1 0 unknown no
35 admin. single secondary no 6554 no no cellular 29 jul 226 1 -1 0 unknown no
48 blue-collar married secondary no 1143 yes no cellular 20 aug 93 3 -1 0 unknown no
29 blue-collar married secondary no -49 yes yes cellular 21 jul 210 1 -1 0 unknown no
50 management married secondary no 2910 no no telephone 29 jul 790 1 -1 0 unknown no
46 management married tertiary no 583 yes no unknown 30 may 135 3 -1 0 unknown no
29 admin. single secondary no 460 yes no cellular 18 may 191 2 357 6 success no
39 blue-collar divorced secondary no 36 yes no unknown 12 may 109 2 -1 0 unknown no
31 admin. single secondary no 43 no no unknown 1 jul 484 1 -1 0 unknown no
43 housemaid divorced tertiary no 42 yes no cellular 19 aug 696 2 -1 0 unknown no
45 blue-collar married primary no 751 no no cellular 28 aug 151 4 -1 0 unknown no
57 services divorced secondary no 4664 no no cellular 30 jul 103 1 -1 0 unknown no
32 management married tertiary no 4761 yes no cellular 5 may 159 2 350 2 failure no
38 services married secondary no 311 no yes cellular 25 jul 114 12 -1 0 unknown no
48 blue-collar married unknown no 2201 yes no unknown 29 may 364 2 -1 0 unknown no
45 management married tertiary no 1034 no yes cellular 24 jul 1820 4 -1 0 unknown no
41 blue-collar married secondary no 13 yes no cellular 6 may 106 1 -1 0 unknown no
33 blue-collar single secondary no 2202 yes no cellular 20 apr 372 2 -1 0 unknown no
39 admin. single secondary no 2749 yes no cellular 8 may 104 1 170 1 failure no
45 blue-collar married secondary no 240 no no cellular 18 aug 181 7 -1 0 unknown no
40 blue-collar married secondary no 755 no no cellular 17 nov 408 1 117 1 failure no
36 admin. married secondary no 2278 yes no cellular 15 may 200 3 298 1 failure no
42 management single tertiary no 145 no no cellular 26 aug 174 2 -1 0 unknown no
51 entrepreneur married tertiary no 83 no no cellular 20 apr 267 2 -1 0 unknown yes
51 admin. married secondary no 241 no no cellular 7 dec 308 2 -1 0 unknown yes
21 student single secondary no 794 no no cellular 5 jun 191 1 -1 0 unknown yes
34 management married tertiary no 3301 yes no cellular 17 jun 485 2 227 4 failure yes
28 blue-collar single secondary no -46 yes no cellular 1 jun 154 2 91 12 success yes
36 technician married secondary no -342 yes no cellular 28 jul 170 3 -1 0 unknown no
25 student single unknown no 839 no no cellular 15 mar 109 1 181 2 other no
59 housemaid married tertiary no 0 no yes cellular 29 jul 376 2 -1 0 unknown no
58 retired married primary no 0 no no cellular 11 aug 566 2 -1 0 unknown no
35 technician married secondary no 712 yes no unknown 27 may 266 4 -1 0 unknown no
35 blue-collar married secondary no 153 yes no cellular 18 nov 645 2 -1 0 unknown no
34 blue-collar married primary no -398 yes no cellular 27 feb 47 8 -1 0 unknown no
49 management married primary no 267 yes no unknown 16 may 198 5 -1 0 unknown no
51 housemaid married primary no 1337 no no telephone 30 jul 74 6 -1 0 unknown no
38 admin. married primary no 464 no yes unknown 11 jun 86 2 -1 0 unknown no
55 admin. divorced secondary no 166 no no unknown 20 jun 84 4 -1 0 unknown no
55 unemployed married primary no 1212 no no cellular 31 aug 241 1 92 1 failure no
37 management married tertiary no 1265 no yes unknown 4 jul 101 1 -1 0 unknown no
49 blue-collar divorced primary no 24 yes no cellular 11 may 701 1 362 1 success yes
37 management married tertiary no 5065 no no cellular 27 aug 23 19 -1 0 unknown no
29 blue-collar single secondary no 0 yes no cellular 5 feb 16 9 253 1 failure no
31 entrepreneur married tertiary no 1216 no no cellular 8 aug 150 4 -1 0 unknown no
27 management single tertiary no 385 no yes cellular 31 jul 52 7 -1 0 unknown no
50 blue-collar married unknown no 2284 yes no telephone 31 jul 1088 17 -1 0 unknown yes
35 admin. married secondary no 34 yes no cellular 13 may 249 2 365 3 failure no
35 technician married secondary no 19 yes no unknown 9 may 130 2 -1 0 unknown no
52 management married tertiary no 809 no no cellular 4 aug 121 1 -1 0 unknown no
43 blue-collar single primary no 0 no no unknown 9 may 71 3 -1 0 unknown no
27 student single secondary no 81 yes no unknown 8 may 238 1 -1 0 unknown no
31 management married tertiary no 491 yes no cellular 20 apr 15 1 326 1 other no
32 blue-collar single secondary no 476 yes yes unknown 19 may 503 2 -1 0 unknown no
49 technician married tertiary no 523 yes no cellular 2 jun 712 1 60 3 failure yes
26 blue-collar married primary no 40 no yes cellular 28 jul 49 3 -1 0 unknown no
38 housemaid single primary no 199 yes no cellular 12 may 1203 1 306 1 failure yes
39 admin. married secondary no 598 yes no unknown 15 may 444 1 -1 0 unknown no
60 housemaid divorced secondary no 2063 no no cellular 21 aug 54 5 86 3 failure no
32 management single tertiary no 1836 no no cellular 27 aug 96 9 -1 0 unknown no
34 services single secondary no 0 yes no unknown 5 may 142 1 -1 0 unknown no
34 management married tertiary no 1657 yes no cellular 18 may 566 2 356 4 failure no
36 technician married tertiary no 202 no no cellular 1 oct 237 1 122 2 failure no
52 housemaid married secondary no 14363 no no unknown 5 jun 132 1 -1 0 unknown no
30 blue-collar single secondary no 161 no yes telephone 8 sep 298 3 -1 0 unknown yes
33 admin. divorced secondary yes -18 yes no cellular 6 may 244 1 359 3 failure no
50 blue-collar married primary no 1179 no no unknown 19 jun 30 1 -1 0 unknown no
32 blue-collar married secondary no 129 yes no cellular 29 jul 119 7 -1 0 unknown no
47 admin. married secondary no 0 no no cellular 9 apr 159 1 -1 0 unknown no
50 services single secondary no 294 no no cellular 23 jul 73 1 -1 0 unknown no
63 retired married primary no 0 no no cellular 20 aug 110 2 -1 0 unknown no
26 admin. married secondary no 0 yes no cellular 18 jul 788 6 -1 0 unknown no
32 services single secondary no 159 yes yes cellular 14 may 46 1 -1 0 unknown no
95 retired married secondary no 0 no no telephone 1 oct 215 1 -1 0 unknown no
44 admin. divorced tertiary no 558 yes no cellular 31 mar 262 2 -1 0 unknown yes
39 blue-collar married primary no 1135 yes no unknown 27 may 35 1 -1 0 unknown no
54 blue-collar married primary no 946 no no cellular 27 aug 116 9 -1 0 unknown no
37 technician single tertiary no 971 no no cellular 19 aug 120 6 -1 0 unknown no
57 management married tertiary no 12048 no no telephone 19 nov 95 3 -1 0 unknown no
35 management single tertiary no 53 no yes cellular 12 aug 80 4 -1 0 unknown no
57 housemaid married primary no 411 yes no unknown 27 may 104 3 -1 0 unknown no
37 management single tertiary no 35 yes no cellular 18 jul 34 3 -1 0 unknown no
31 housemaid married primary no 203 yes no unknown 6 may 604 3 -1 0 unknown no
40 technician married secondary no 770 yes no unknown 14 may 200 1 -1 0 unknown no
34 technician single secondary no 1087 no no unknown 1 jun 7 1 -1 0 unknown no
35 unemployed married secondary no 330 no no cellular 30 jan 645 4 -1 0 unknown no
81 retired divorced primary no 519 no no telephone 9 sep 488 1 -1 0 unknown no
51 blue-collar divorced primary no 602 yes no cellular 11 may 347 1 284 2 failure no
54 self-employed married tertiary no 0 yes no cellular 20 aug 83 5 -1 0 unknown no
62 blue-collar married secondary no 272 no no cellular 11 aug 146 1 286 2 failure yes
49 technician divorced secondary no 229 no no cellular 8 aug 219 2 -1 0 unknown no
52 blue-collar divorced primary no 29 yes no cellular 21 jul 245 1 -1 0 unknown no
35 services married primary no 31 no yes cellular 19 nov 131 3 133 3 failure no
29 blue-collar married unknown no 135 yes no unknown 23 may 150 6 -1 0 unknown no
34 admin. single secondary no 88 yes no unknown 27 may 169 2 -1 0 unknown no
35 management single secondary no 329 no no cellular 23 jul 375 8 -1 0 unknown no
35 admin. married tertiary no -272 no yes cellular 29 jan 309 1 197 13 other no
37 technician married secondary no 1120 yes no unknown 30 may 103 5 -1 0 unknown no
80 retired married secondary no 2354 no no telephone 4 aug 199 2 181 3 success no
42 admin. single unknown no 22 no no unknown 19 jun 246 3 -1 0 unknown no
33 management married tertiary no 0 yes no cellular 19 nov 295 1 170 1 failure no
59 admin. married secondary no 479 no no unknown 18 jun 326 1 -1 0 unknown no
35 housemaid single tertiary no 608 yes yes unknown 2 jun 227 1 -1 0 unknown no
37 services divorced secondary no 49 yes no unknown 16 may 619 2 -1 0 unknown yes
36 management married tertiary no 93 no no cellular 11 jan 102 3 96 4 other no
53 self-employed married tertiary no 687 no no cellular 4 feb 319 5 -1 0 unknown no
30 technician married secondary no 418 yes no unknown 3 jun 112 1 -1 0 unknown no
36 admin. married secondary no 1314 yes no cellular 17 jul 330 3 -1 0 unknown no
51 unknown married unknown no 1585 no no telephone 30 oct 152 4 -1 0 unknown no
34 blue-collar married secondary no 1134 yes no cellular 17 apr 408 1 329 2 failure no
43 services married secondary no 378 no yes cellular 12 aug 321 4 -1 0 unknown no
54 admin. divorced secondary no 459 no yes telephone 20 nov 132 3 -1 0 unknown no
48 self-employed married tertiary no 1223 yes no cellular 4 feb 193 1 -1 0 unknown no
58 retired married secondary no 3909 yes no unknown 3 jun 80 1 -1 0 unknown no
35 admin. single secondary no 507 yes no cellular 22 jul 560 2 -1 0 unknown yes
57 retired married primary no 3518 yes no cellular 25 aug 626 3 -1 0 unknown yes
35 self-employed married secondary no 524 yes no cellular 21 nov 484 4 -1 0 unknown no
52 housemaid married tertiary no 554 no no cellular 31 jul 44 5 -1 0 unknown no
46 blue-collar single primary no 2851 yes no unknown 19 may 122 2 -1 0 unknown no
31 technician married secondary yes -463 yes no unknown 28 may 210 1 -1 0 unknown no
54 management divorced tertiary no 0 yes no telephone 18 may 17 11 -1 0 unknown no
30 technician single unknown no 878 yes no cellular 15 may 173 3 298 3 other no
35 services divorced secondary no 532 yes no unknown 2 jun 375 1 -1 0 unknown no
34 management married tertiary no 498 yes no cellular 29 jan 84 1 251 2 failure no
25 student single secondary no 1790 no no unknown 30 may 242 3 -1 0 unknown no
51 admin. single unknown no 196 no no unknown 11 jun 98 1 -1 0 unknown no
33 management married tertiary no 0 yes no cellular 17 apr 378 1 -1 0 unknown yes
42 technician married secondary no 994 yes no cellular 12 nov 227 3 93 6 success yes
59 blue-collar divorced secondary no 4190 yes no cellular 20 nov 221 1 -1 0 unknown no
52 blue-collar married primary no 320 yes no cellular 6 feb 306 3 253 4 other no
57 admin. divorced unknown no 4012 no no cellular 20 nov 915 1 -1 0 unknown no
34 technician married secondary no 563 yes yes cellular 29 aug 32 15 -1 0 unknown no
28 management single tertiary no -227 yes no unknown 4 jun 298 2 -1 0 unknown no
36 entrepreneur married tertiary no 247 no no cellular 17 apr 351 1 -1 0 unknown no
48 retired married primary no 5173 yes no unknown 18 jun 88 8 -1 0 unknown no
58 blue-collar married primary no 66 yes no cellular 15 may 184 4 -1 0 unknown no
27 admin. single secondary no 1 yes no unknown 12 may 86 1 -1 0 unknown no
25 blue-collar single secondary no 171 yes no cellular 15 may 178 1 359 2 failure no
56 services married secondary no 22196 yes no cellular 21 nov 189 1 -1 0 unknown no
40 entrepreneur married secondary no 264 yes no unknown 14 may 222 2 -1 0 unknown no
70 retired married secondary no 2815 no no cellular 26 apr 125 2 182 1 failure no
45 blue-collar married primary no 512 no no telephone 16 jul 98 1 -1 0 unknown no
47 admin. married secondary no 1934 no yes cellular 14 may 225 1 364 1 failure no
28 services single tertiary no 737 yes yes unknown 27 may 955 1 -1 0 unknown no
33 admin. married secondary no 730 yes no unknown 20 may 70 1 -1 0 unknown no
32 technician single secondary no 432 no no cellular 20 aug 559 3 -1 0 unknown no
46 technician married secondary yes 289 no no unknown 7 may 51 3 -1 0 unknown no
31 admin. single secondary no 423 no no cellular 11 aug 215 1 -1 0 unknown no
31 admin. married secondary no 468 yes no unknown 16 may 159 1 -1 0 unknown no
42 technician single tertiary no 171 no no cellular 14 aug 143 2 -1 0 unknown no
27 blue-collar married secondary yes -584 yes no cellular 7 may 411 2 -1 0 unknown no
34 blue-collar single secondary no 0 yes no cellular 9 jul 130 1 -1 0 unknown no
43 retired married primary no 222 no no cellular 24 jul 203 2 -1 0 unknown no
36 services single secondary no 23 yes no cellular 28 dec 256 1 -1 0 unknown no
37 management married tertiary no 46 yes no cellular 15 apr 154 1 -1 0 unknown no
58 technician married tertiary no 4656 no no cellular 31 jul 119 6 -1 0 unknown no
41 services married primary no 299 yes no unknown 14 may 72 1 -1 0 unknown no
42 unemployed married unknown no 190 no no cellular 11 aug 704 2 -1 0 unknown yes
37 housemaid married primary no 0 no no cellular 29 aug 17 12 -1 0 unknown no
41 technician married secondary no 1344 no no cellular 22 aug 169 6 -1 0 unknown no
26 self-employed married tertiary no 10005 yes no cellular 17 jul 84 2 -1 0 unknown no
46 admin. divorced secondary no 3163 no no cellular 21 nov 128 3 -1 0 unknown no
46 technician single secondary no 834 yes no cellular 11 jul 196 2 -1 0 unknown no
28 blue-collar married secondary no 751 yes no cellular 22 jul 598 5 -1 0 unknown yes
43 admin. married secondary no 372 yes no unknown 27 may 162 1 -1 0 unknown no
38 services married primary yes 1 yes no cellular 17 jul 169 7 -1 0 unknown no
45 management married secondary no 2897 no no cellular 2 jul 301 2 88 5 failure no
31 technician married secondary no 54 no no cellular 7 aug 137 2 -1 0 unknown no
28 services single secondary no 230 yes yes cellular 17 apr 181 2 -1 0 unknown no
42 services married primary no 91 yes no unknown 29 may 87 7 -1 0 unknown no
29 admin. single tertiary no -197 no no unknown 6 aug 47 1 -1 0 unknown no
26 technician single secondary no 276 yes no cellular 15 may 106 1 368 4 failure no
31 technician single secondary no 335 yes no unknown 28 may 87 5 -1 0 unknown no
41 services married secondary no 1027 yes no unknown 2 jun 53 2 -1 0 unknown no
39 services married secondary no 8876 no no cellular 4 may 106 1 91 2 failure no
34 blue-collar single secondary no 68 yes no unknown 30 may 192 6 -1 0 unknown no
37 entrepreneur married tertiary no 1284 yes no cellular 29 jan 246 2 -1 0 unknown no
30 management divorced tertiary no 726 yes no cellular 18 may 24 1 -1 0 unknown no
38 services married secondary no -349 yes no cellular 20 apr 111 2 328 5 failure no
60 retired married primary no 115 no no cellular 11 aug 82 2 -1 0 unknown no
53 technician married secondary no 529 yes no cellular 28 jan 558 1 -1 0 unknown no
30 blue-collar single secondary no 906 yes yes unknown 21 may 218 7 -1 0 unknown no
31 technician single secondary no 31868 no no telephone 14 aug 34 6 -1 0 unknown no
44 blue-collar married primary no 3057 yes no unknown 26 may 98 4 -1 0 unknown no
53 blue-collar married primary no 1715 yes yes unknown 27 may 27 1 -1 0 unknown no
47 management married secondary no -1854 yes yes cellular 12 aug 388 2 -1 0 unknown no
49 admin. married secondary no 2 no no cellular 29 jul 246 4 -1 0 unknown no
36 management married tertiary no 85 no no cellular 19 aug 249 3 -1 0 unknown no
44 self-employed married secondary no 1310 yes no unknown 16 may 290 1 -1 0 unknown no
39 management single secondary no 36 no no cellular 29 aug 70 2 -1 0 unknown no
58 unknown married primary no 15 no no cellular 11 aug 57 2 -1 0 unknown no
60 management married primary no 252 yes yes cellular 13 apr 123 2 147 3 failure no
58 housemaid divorced secondary no 0 no no cellular 2 jul 478 2 -1 0 unknown yes
33 admin. single secondary no 92 no no cellular 18 jul 157 3 -1 0 unknown no
37 blue-collar married primary no -107 yes no unknown 16 jun 25 1 -1 0 unknown no
36 technician married secondary no 23 yes no cellular 8 may 152 2 347 1 failure no
53 management married tertiary no 261 yes no telephone 14 may 154 2 336 2 failure no
31 blue-collar single primary no 71 yes no cellular 20 apr 185 3 336 6 failure no
38 entrepreneur married tertiary no 678 no yes cellular 18 nov 82 2 152 1 failure no
58 unemployed married secondary no 4497 yes no unknown 29 may 128 1 -1 0 unknown no
38 management married tertiary no 655 no no cellular 3 feb 389 3 -1 0 unknown no
36 blue-collar married secondary no 535 yes no cellular 8 may 121 1 343 3 failure no
34 technician single tertiary no 6529 no no cellular 14 aug 505 2 -1 0 unknown yes
28 services single tertiary no 2474 yes no cellular 22 jul 262 1 -1 0 unknown no
38 blue-collar married primary no -537 yes no unknown 2 jun 171 1 -1 0 unknown no
30 technician single secondary no 133 yes no cellular 29 jan 113 2 -1 0 unknown no
44 blue-collar married secondary no 23 no no cellular 23 jul 56 1 -1 0 unknown no
37 management married tertiary no 0 yes no cellular 21 nov 227 1 -1 0 unknown no
41 self-employed married tertiary no 57 no no cellular 19 aug 61 5 -1 0 unknown no
52 technician married secondary no 64 no no telephone 29 aug 20 2 -1 0 unknown no
52 management divorced primary no 11 no no cellular 6 feb 365 1 9 1 other no
30 management single tertiary no 685 no no cellular 5 aug 299 2 -1 0 unknown no
28 management single tertiary no 5549 no no cellular 28 jul 383 6 -1 0 unknown no
35 technician divorced secondary no 82 no no cellular 19 aug 152 3 -1 0 unknown no
41 unemployed divorced primary no 487 no no cellular 16 nov 163 1 200 1 failure no
60 technician married secondary no 955 no no cellular 18 aug 37 3 -1 0 unknown no
56 admin. married secondary no 0 yes no telephone 19 nov 154 2 -1 0 unknown no
50 management married tertiary no 830 no no unknown 2 jul 60 2 -1 0 unknown no
20 student single unknown no 457 no no cellular 16 jun 214 1 -1 0 unknown no
38 management married tertiary no 1199 no no cellular 4 aug 178 1 1 1 success yes
30 services married secondary no -27 yes no cellular 18 jul 65 1 -1 0 unknown no
50 admin. married secondary no 858 no no cellular 9 jul 41 12 -1 0 unknown no
33 technician married tertiary no 40 yes no cellular 14 jul 110 3 -1 0 unknown no
45 admin. married secondary no 236 no no cellular 20 aug 703 2 -1 0 unknown yes
44 housemaid married primary no 1109 yes yes cellular 29 jul 176 4 -1 0 unknown no
32 technician married tertiary no 636 yes no cellular 28 aug 370 1 116 4 success yes
47 services married secondary no 4063 yes yes unknown 26 may 207 1 -1 0 unknown no
27 management single secondary no 843 no no cellular 12 jul 123 2 185 1 success no
46 admin. divorced primary no 50 yes yes cellular 23 jul 379 1 -1 0 unknown no
55 housemaid married primary no 1537 no no unknown 19 jun 359 1 -1 0 unknown no
33 unemployed single tertiary no 3805 yes no cellular 4 feb 72 1 -1 0 unknown no
41 management single secondary no -277 yes no cellular 12 may 431 1 -1 0 unknown no
34 technician divorced secondary no 592 yes no cellular 7 may 67 3 -1 0 unknown no
36 management married tertiary no 530 no no unknown 20 jun 221 3 -1 0 unknown no
29 services single secondary no 1934 no no cellular 29 sep 271 1 -1 0 unknown yes
31 blue-collar married secondary no 1908 no no cellular 12 may 225 1 -1 0 unknown no
40 self-employed married primary no 42 no no cellular 11 jul 264 3 -1 0 unknown no
51 management married tertiary no 1421 yes no cellular 7 jul 152 5 -1 0 unknown no
39 technician married tertiary no 4765 yes no cellular 7 aug 108 2 -1 0 unknown no
27 admin. married tertiary no 2855 no no cellular 22 jul 138 2 178 4 success yes
57 technician married secondary no 629 yes no unknown 14 may 226 2 -1 0 unknown no
47 services married primary no 0 yes no cellular 4 aug 226 1 -1 0 unknown no
42 technician married secondary no -887 no no unknown 2 jun 349 4 -1 0 unknown no
38 blue-collar divorced secondary no 158 yes no cellular 11 may 242 1 -1 0 unknown no
34 services single secondary no 1758 yes no cellular 6 feb 14 8 -1 0 unknown no
33 services married secondary no 210 yes yes unknown 20 may 201 1 -1 0 unknown no
55 self-employed married secondary no 181 no no cellular 4 aug 68 1 -1 0 unknown no
46 technician married secondary no 0 no no cellular 30 apr 200 1 259 2 other yes
44 services married secondary no 361 yes no unknown 29 may 217 1 -1 0 unknown no
38 blue-collar married primary no 178 yes no unknown 20 may 245 1 -1 0 unknown no
50 technician divorced secondary no 380 yes no cellular 29 jan 492 1 -1 0 unknown no
51 management divorced tertiary no 323 yes no cellular 25 jul 356 9 -1 0 unknown no
27 unemployed single secondary no 0 no yes cellular 3 feb 392 2 -1 0 unknown no
47 blue-collar married primary no 373 yes no cellular 11 may 480 2 -1 0 unknown no
57 blue-collar married primary no 249 yes no unknown 5 may 164 1 -1 0 unknown no
22 admin. single secondary no 118 yes no unknown 16 may 270 1 -1 0 unknown no
46 blue-collar married unknown no 842 yes no telephone 8 may 833 1 -1 0 unknown yes
27 blue-collar married secondary no 0 yes no cellular 17 jul 444 6 -1 0 unknown no
50 management married tertiary no 346 no no cellular 4 may 76 2 87 1 success no
41 technician married secondary no 525 yes no cellular 21 jul 108 1 -1 0 unknown no
39 management married tertiary no 285 yes no cellular 15 jul 838 3 -1 0 unknown yes
32 blue-collar married primary no 103 no no cellular 23 jul 312 1 -1 0 unknown no
40 blue-collar married secondary no 3122 yes no unknown 12 may 344 3 -1 0 unknown no
53 services married unknown no 164 no no cellular 29 jan 139 1 -1 0 unknown no
53 technician married secondary no 284 no no cellular 1 jun 781 1 -1 0 unknown yes
34 blue-collar married secondary no 518 yes no cellular 11 may 206 1 -1 0 unknown no
34 management single tertiary no -322 no no unknown 9 may 198 1 -1 0 unknown no
30 unemployed single tertiary no 1622 no no cellular 19 nov 242 1 -1 0 unknown no
18 student single secondary no 156 no no cellular 4 nov 298 2 82 4 other no
57 management married tertiary no 1832 yes no cellular 2 nov 131 2 -1 0 unknown no
45 blue-collar married secondary no -1400 yes no unknown 16 may 172 4 -1 0 unknown no
47 admin. married secondary no 2152 no no cellular 2 feb 138 1 -1 0 unknown no
38 technician married secondary no 1478 no no cellular 12 aug 926 4 -1 0 unknown yes
27 management single tertiary no 0 yes no cellular 5 feb 196 1 -1 0 unknown no
50 management divorced tertiary no 405 no no cellular 2 jul 146 1 91 6 failure no
37 self-employed single secondary no 349 yes yes cellular 2 feb 165 1 -1 0 unknown no
35 technician single tertiary no 755 no no cellular 14 aug 125 2 -1 0 unknown no
43 management married tertiary no 704 no no cellular 18 jul 116 1 -1 0 unknown no
37 self-employed divorced secondary no 3467 no no unknown 9 jun 185 2 -1 0 unknown no
40 blue-collar single primary no 397 no no unknown 9 jun 163 1 -1 0 unknown no
57 unemployed married unknown no 288 no no cellular 9 feb 42 3 -1 0 unknown no
55 services divorced primary no 96 yes yes unknown 5 may 311 2 -1 0 unknown no
59 admin. divorced secondary no -41 yes yes unknown 20 may 171 1 -1 0 unknown no
59 retired married secondary no 2291 no yes cellular 14 jul 127 3 -1 0 unknown no
50 technician divorced tertiary no 261 no no unknown 20 jun 155 1 -1 0 unknown no
31 services divorced unknown no 0 no yes cellular 9 jul 138 1 -1 0 unknown no
47 blue-collar married secondary no 1001 yes no unknown 7 may 201 4 -1 0 unknown no
42 management married tertiary yes 0 yes no cellular 4 feb 358 2 -1 0 unknown no
29 services single secondary no 209 yes no cellular 28 jul 487 7 -1 0 unknown no
60 housemaid married secondary no 681 no yes cellular 9 jul 337 1 -1 0 unknown no
35 blue-collar married primary no 11 yes no unknown 13 may 326 4 -1 0 unknown no
34 management single tertiary no 747 no no cellular 31 aug 72 2 98 1 failure no
56 blue-collar married secondary no 659 yes no cellular 29 jul 64 3 -1 0 unknown no
44 entrepreneur married primary no 276 yes yes unknown 15 may 219 1 -1 0 unknown no
33 management single tertiary no 224 no no cellular 23 jun 342 2 107 2 success yes
60 retired married secondary no 374 no no cellular 19 aug 276 2 -1 0 unknown no
26 admin. single secondary no 141 yes no cellular 18 may 19 4 349 6 other no
42 management divorced tertiary no 742 yes no unknown 5 may 58 3 -1 0 unknown no
49 blue-collar married primary no 1798 yes yes telephone 18 aug 209 2 -1 0 unknown no
45 blue-collar single secondary no 0 yes no cellular 26 apr 1472 1 192 4 failure yes
31 blue-collar single secondary no 0 yes no cellular 7 may 113 2 345 1 other no
59 retired married primary no 2632 no no cellular 3 jun 123 1 -1 0 unknown no
31 management single tertiary no 3625 yes no cellular 19 nov 112 1 180 2 failure no
46 entrepreneur married tertiary no 4726 yes no cellular 8 apr 405 1 -1 0 unknown no
46 self-employed married tertiary no 137 yes yes unknown 5 may 246 1 -1 0 unknown no
39 management single tertiary no 1092 no no cellular 26 aug 205 7 -1 0 unknown no
30 technician single secondary no 592 yes no cellular 15 may 353 1 -1 0 unknown no
60 blue-collar married primary no 38 yes no cellular 15 may 109 11 373 1 other no
38 entrepreneur single secondary no 2543 no no cellular 10 aug 223 1 414 4 failure yes
35 technician single secondary no 183 no no cellular 24 apr 78 2 -1 0 unknown no
37 blue-collar married primary no 310 yes no unknown 7 may 474 1 -1 0 unknown no
27 technician married secondary no 512 yes no unknown 19 may 128 1 -1 0 unknown no
28 blue-collar single secondary no 1065 yes yes cellular 17 apr 406 1 317 1 failure no
43 blue-collar married primary no -67 yes no telephone 15 may 137 7 371 1 failure no
54 technician married secondary no 2225 no yes cellular 13 aug 73 2 -1 0 unknown no
31 management single tertiary no 3283 no no cellular 2 feb 258 1 73 1 failure yes
52 blue-collar married primary no 796 no no cellular 22 aug 150 2 -1 0 unknown no
30 management single secondary no 161 yes no cellular 20 apr 397 3 -1 0 unknown no
37 unemployed single tertiary no 1316 yes no cellular 10 mar 350 2 112 3 failure yes
33 technician married secondary yes 72 yes no unknown 6 may 623 1 -1 0 unknown no
31 services married secondary no 1129 yes no unknown 9 may 231 2 -1 0 unknown no
48 services married secondary no 74 no no cellular 2 feb 201 1 -1 0 unknown no
32 blue-collar married primary no 0 yes yes cellular 8 may 82 2 361 4 failure no
57 technician married primary no 1276 yes no cellular 30 jan 44 1 200 4 failure no
31 management married tertiary no 451 yes no cellular 5 may 67 1 -1 0 unknown no
53 management married tertiary no 0 yes no cellular 9 jul 296 1 -1 0 unknown no
22 blue-collar single secondary no -7 yes no cellular 17 apr 84 1 343 1 other no
32 admin. married tertiary no 653 no no cellular 2 jun 84 1 -1 0 unknown yes
28 blue-collar single primary no 551 no no cellular 4 may 264 3 -1 0 unknown no
28 management single tertiary no 231 yes yes cellular 25 jul 568 2 -1 0 unknown no
42 blue-collar single secondary no 625 no no unknown 19 jun 651 3 -1 0 unknown yes
44 technician married secondary no 8938 yes no unknown 3 jun 94 18 -1 0 unknown no
58 retired married primary no 3401 yes no cellular 3 feb 84 3 265 2 failure no
36 entrepreneur married secondary no 24 yes no cellular 20 apr 88 1 154 2 failure no
28 services married secondary no 15 yes no cellular 7 may 182 2 356 1 failure no
47 technician married secondary no 44 no no unknown 20 jun 15 3 -1 0 unknown no
37 technician single secondary no 1012 yes no cellular 20 apr 218 4 -1 0 unknown no
35 services married secondary no 457 yes no cellular 17 apr 69 1 322 2 failure no
58 blue-collar married primary no 99 yes no unknown 20 may 215 3 -1 0 unknown no
46 management married tertiary no 716 yes yes cellular 8 may 557 1 172 1 failure no
33 blue-collar single secondary no 329 no no cellular 6 sep 224 1 145 2 other yes
50 unemployed married secondary no 36221 no no cellular 21 nov 13 2 -1 0 unknown no
40 management married tertiary no 710 yes no cellular 5 may 266 1 298 2 failure no
38 technician married secondary no 1931 no no cellular 2 jun 167 1 298 10 other no
31 blue-collar married secondary no 382 yes no cellular 16 apr 198 2 -1 0 unknown no
33 retired married secondary no 165 no no unknown 7 may 111 1 -1 0 unknown no
36 services single secondary no 174 yes no unknown 7 may 223 2 -1 0 unknown no
36 blue-collar married primary no 0 yes no cellular 8 may 108 2 367 2 failure no
33 technician married secondary no 2666 no no cellular 19 aug 117 3 -1 0 unknown no
30 technician single secondary no 768 no yes unknown 14 may 749 2 -1 0 unknown no
44 blue-collar married primary no 4031 yes no cellular 7 may 983 4 -1 0 unknown yes
42 housemaid married primary no 4279 yes no cellular 22 jul 98 1 -1 0 unknown no
55 management married tertiary no 0 no no cellular 6 aug 341 2 -1 0 unknown no
50 technician married primary no 570 no no unknown 20 jun 21 3 -1 0 unknown no
39 blue-collar married secondary no 123 yes no unknown 6 jun 165 3 -1 0 unknown no
60 technician married tertiary no 6573 yes no cellular 6 nov 126 2 87 2 failure no
44 blue-collar married secondary no 8666 no no telephone 6 apr 172 1 -1 0 unknown no
32 blue-collar married primary no 268 yes yes cellular 18 may 189 1 -1 0 unknown no
31 services married secondary no 283 yes no cellular 19 nov 214 2 -1 0 unknown no
33 technician single tertiary no 3827 no no cellular 20 nov 359 1 -1 0 unknown no
32 blue-collar single secondary no 1721 yes no cellular 19 nov 184 2 182 2 failure no
29 admin. married secondary no 73 yes no cellular 16 jul 252 2 -1 0 unknown no
53 technician married secondary no 2647 yes no unknown 30 may 121 1 -1 0 unknown no
59 retired married primary no -90 no yes telephone 15 jul 41 5 -1 0 unknown no
60 housemaid married primary no 211 no no cellular 26 feb 480 2 189 1 failure no
35 technician married secondary no 0 no no cellular 1 apr 295 1 303 1 other no
58 housemaid married primary no 2348 no no unknown 9 jun 226 1 -1 0 unknown no
40 unemployed married secondary no 219 yes no unknown 5 may 357 1 -1 0 unknown no
30 management single tertiary no 20580 yes no cellular 21 nov 116 2 -1 0 unknown no
33 services married secondary no 1553 yes no unknown 27 may 492 8 -1 0 unknown no
35 unemployed married secondary no 759 no no cellular 19 nov 556 3 -1 0 unknown no
41 services married primary no 812 yes yes cellular 29 jul 117 3 -1 0 unknown no
52 technician divorced secondary no 2816 no no unknown 20 jun 492 3 -1 0 unknown no
35 blue-collar single primary no 246 no no cellular 14 may 157 2 345 5 failure no
35 services married tertiary no 1359 no no unknown 17 jun 585 2 -1 0 unknown no
27 services divorced secondary no 96 yes no unknown 8 may 31 1 -1 0 unknown no
46 technician married secondary no 5681 no no telephone 31 jul 43 5 -1 0 unknown no
33 entrepreneur married tertiary no 606 yes no cellular 2 feb 194 1 -1 0 unknown no
25 services single secondary no 5533 yes no cellular 28 jul 50 4 -1 0 unknown no
48 blue-collar married secondary no 741 yes no cellular 16 apr 227 1 -1 0 unknown no
59 self-employed married tertiary no 34247 yes no cellular 17 nov 66 2 -1 0 unknown no
47 blue-collar married secondary no 323 no no unknown 30 jun 385 1 -1 0 unknown no
54 blue-collar married secondary no 898 no no telephone 30 jul 641 2 -1 0 unknown no
29 blue-collar single secondary no 853 yes no unknown 9 may 177 2 -1 0 unknown no
67 retired married tertiary no 2812 no no cellular 6 aug 190 1 -1 0 unknown no
38 self-employed married secondary no 290 yes no cellular 2 feb 123 1 258 1 failure no
28 technician single tertiary no -214 yes no cellular 29 jan 228 2 262 3 failure no
41 services married secondary no 650 yes no cellular 7 jul 149 5 -1 0 unknown no
52 technician married secondary no 11 yes no unknown 13 may 420 1 -1 0 unknown no
38 admin. married secondary no 1933 yes no cellular 16 apr 622 1 -1 0 unknown no
42 admin. married tertiary no 1536 no no cellular 5 feb 132 1 182 3 success no
45 management married secondary yes 237 yes no cellular 21 nov 526 1 -1 0 unknown no
50 blue-collar divorced secondary no 203 yes no telephone 19 nov 265 1 127 4 other no
35 blue-collar married primary no 298 yes no cellular 13 may 135 2 370 2 failure no
41 entrepreneur married tertiary no 367 no yes cellular 9 feb 13 5 -1 0 unknown no
53 entrepreneur married tertiary no 1961 no no cellular 15 dec 351 1 -1 0 unknown yes
31 technician single tertiary no 375 yes no unknown 9 may 207 1 -1 0 unknown no
49 blue-collar married primary no 1898 no no cellular 21 aug 159 1 -1 0 unknown no
52 technician married secondary no 0 yes no cellular 1 jun 144 1 83 1 failure no
34 blue-collar single unknown no 484 no no cellular 8 oct 90 1 -1 0 unknown no
34 services married secondary no 80 no yes cellular 10 jul 240 1 -1 0 unknown no
31 technician married secondary no 1263 yes no cellular 20 nov 364 1 -1 0 unknown no
46 blue-collar married secondary yes -319 no yes cellular 10 jul 502 2 -1 0 unknown no
50 unemployed married primary no 705 no no unknown 5 jun 504 1 -1 0 unknown yes
58 blue-collar married secondary no 6004 yes no cellular 13 may 133 1 274 6 failure no
29 blue-collar married primary yes -303 yes yes unknown 4 jun 298 3 -1 0 unknown no
44 technician married tertiary no 1454 no no unknown 11 jun 156 2 -1 0 unknown no
53 blue-collar married primary yes -462 no no cellular 29 jan 470 1 -1 0 unknown yes
46 housemaid married secondary no 1000 no no cellular 18 aug 96 11 -1 0 unknown no
29 admin. single secondary no 305 yes no cellular 18 may 18 4 304 1 failure no
35 management single secondary no 356 yes no cellular 11 may 7 5 171 12 failure no
29 services single secondary no -527 yes yes unknown 4 jun 250 1 -1 0 unknown no
50 blue-collar divorced secondary no 571 yes no unknown 2 jun 88 4 -1 0 unknown no
54 admin. married secondary no 3729 no yes cellular 18 nov 597 2 116 1 other no
26 management single tertiary no 4116 yes no cellular 5 may 301 1 -1 0 unknown no
57 blue-collar married unknown no 807 yes no unknown 6 may 211 2 -1 0 unknown no
29 unemployed married secondary no 687 no no cellular 8 oct 309 2 88 6 other no
26 housemaid married secondary no 13 yes no cellular 7 may 132 2 293 1 other no
54 technician single secondary no 473 yes no cellular 18 aug 134 6 -1 0 unknown no
28 technician single tertiary no 0 yes no unknown 4 jun 205 6 -1 0 unknown no
36 blue-collar married secondary no 70 yes no unknown 6 jun 100 2 -1 0 unknown no
29 management married tertiary no 451 no no cellular 28 jan 451 1 -1 0 unknown no
29 technician single tertiary no 2998 no no unknown 2 jun 479 3 -1 0 unknown no
45 blue-collar divorced primary no 594 yes no unknown 29 may 833 2 -1 0 unknown yes
75 retired divorced secondary no 1341 no no cellular 18 dec 415 7 -1 0 unknown yes
29 blue-collar married secondary no 2378 yes yes cellular 20 apr 239 1 276 6 failure no
75 retired divorced tertiary no 3810 yes no cellular 16 nov 262 1 183 1 failure yes
27 unemployed single primary no 1088 no no cellular 3 feb 201 1 -1 0 unknown no
59 retired divorced primary no 681 no yes unknown 18 jun 376 7 -1 0 unknown no
33 services divorced secondary no 437 yes no cellular 15 jul 184 2 -1 0 unknown no
28 unemployed married primary no 7459 yes no cellular 2 feb 981 5 269 2 failure yes
41 technician married secondary no -274 yes no unknown 27 may 182 3 -1 0 unknown no
37 services married primary no 0 yes yes unknown 12 jun 137 1 -1 0 unknown no
38 blue-collar divorced secondary no 595 yes no cellular 7 may 245 3 -1 0 unknown no
44 blue-collar married primary no 148 yes no unknown 6 may 211 1 -1 0 unknown no
34 admin. divorced secondary no 627 yes no unknown 7 may 283 2 -1 0 unknown no
26 services single secondary no 2047 yes no cellular 15 may 457 1 -1 0 unknown no
37 blue-collar married secondary no 489 yes no unknown 2 jun 24 1 -1 0 unknown no
39 technician single secondary no 1048 yes yes cellular 8 apr 201 2 -1 0 unknown no
46 unemployed single tertiary no 44 no no cellular 14 aug 225 1 -1 0 unknown yes
33 management divorced tertiary no 802 no no cellular 6 feb 401 1 -1 0 unknown no
27 student single secondary no 568 yes no cellular 18 may 28 6 -1 0 unknown no
31 blue-collar married primary no 292 yes yes unknown 30 may 30 18 -1 0 unknown no
48 management married tertiary no 1733 no no unknown 5 jun 318 3 -1 0 unknown no
44 blue-collar married primary no 194 yes no unknown 28 may 105 2 -1 0 unknown no
29 blue-collar married secondary no 1074 no no cellular 2 feb 153 1 -1 0 unknown no
43 blue-collar married primary no 223 yes no cellular 4 feb 112 2 204 2 other no
27 blue-collar married secondary no 411 yes yes unknown 27 may 123 1 -1 0 unknown no
38 admin. married secondary no 1767 yes no cellular 12 nov 893 7 -1 0 unknown yes
38 management married tertiary no 980 no no unknown 3 jun 662 5 -1 0 unknown no
36 admin. married secondary no 286 yes no cellular 22 jul 167 9 -1 0 unknown no
50 management married tertiary no 135 no no cellular 25 aug 162 4 -1 0 unknown no
54 unknown married secondary no 2206 no no cellular 12 nov 104 1 99 2 other yes
48 blue-collar married secondary yes 0 yes yes cellular 7 may 275 1 -1 0 unknown no
31 blue-collar single secondary no -27 no no unknown 4 jul 96 2 -1 0 unknown no
45 management married tertiary no 786 no no cellular 10 sep 84 3 -1 0 unknown yes
59 entrepreneur divorced unknown no 0 no no unknown 17 jun 956 2 -1 0 unknown no
49 blue-collar single primary no 1164 yes no unknown 8 may 72 1 -1 0 unknown no
30 services married unknown no 840 no no cellular 29 jan 163 2 -1 0 unknown no
36 housemaid single primary no 207 no no unknown 20 jun 1478 5 -1 0 unknown no
29 admin. married secondary no 1937 no no unknown 25 aug 6 1 -1 0 unknown no
39 admin. single secondary no 782 yes no cellular 20 nov 162 3 -1 0 unknown no
32 services married secondary no 264 yes yes cellular 19 nov 1502 1 -1 0 unknown yes
36 blue-collar married primary no 679 yes yes cellular 13 may 115 1 -1 0 unknown no
29 blue-collar married secondary no 3 no no cellular 22 jul 115 1 -1 0 unknown no
49 technician married tertiary no -129 yes no cellular 8 may 240 1 -1 0 unknown no
31 services married secondary no 78 yes yes cellular 14 jul 97 2 -1 0 unknown no
43 technician single tertiary no 27733 yes no unknown 3 jun 164 7 -1 0 unknown no
44 entrepreneur divorced tertiary no 134 yes no cellular 12 may 78 5 -1 0 unknown no
53 retired married secondary no 1004 yes no unknown 29 may 155 1 -1 0 unknown no
45 technician married secondary no 0 yes no cellular 7 dec 344 1 -1 0 unknown yes
46 housemaid divorced primary no 148 no no unknown 19 jun 166 1 -1 0 unknown no
31 management single tertiary no 596 no no cellular 17 dec 184 6 196 2 failure no
60 housemaid divorced tertiary no 662 no no unknown 20 jun 241 4 -1 0 unknown no
54 self-employed married unknown no 204 no no cellular 27 aug 231 5 -1 0 unknown no
29 management single tertiary no 11968 yes no cellular 20 apr 241 2 -1 0 unknown no
49 management divorced secondary no 613 no yes cellular 28 jan 301 1 -1 0 unknown no
31 blue-collar single secondary no 216 yes no unknown 9 may 128 1 -1 0 unknown no
49 retired married secondary no 993 yes yes cellular 8 may 199 1 301 2 other no
45 entrepreneur married tertiary no 0 yes no unknown 20 jun 50 2 -1 0 unknown no
31 admin. divorced secondary no 1890 yes no cellular 21 jul 588 1 -1 0 unknown no
47 housemaid divorced primary no 617 no no telephone 29 jul 119 7 -1 0 unknown no
34 housemaid married secondary no 1969 no no cellular 7 aug 252 4 -1 0 unknown no
54 blue-collar married primary no 1659 no no cellular 12 aug 50 5 -1 0 unknown no
32 management married tertiary no 26 no no cellular 22 aug 222 6 -1 0 unknown no
30 services single secondary no 442 yes no unknown 16 may 283 3 -1 0 unknown no
32 management married tertiary no 2458 yes no cellular 4 may 77 2 -1 0 unknown no
57 services married secondary no 2658 yes no cellular 21 nov 107 1 190 1 failure no
44 blue-collar divorced secondary no 272 yes no cellular 14 jul 51 2 -1 0 unknown no
28 management single tertiary no 6817 yes no cellular 4 feb 154 4 -1 0 unknown no
44 blue-collar married primary no -544 yes yes unknown 26 may 181 3 -1 0 unknown no
40 admin. married secondary no 153 yes no unknown 14 may 159 2 -1 0 unknown no
60 retired married unknown no 878 no no cellular 13 aug 106 2 -1 0 unknown no
46 admin. married secondary no 1264 no no telephone 28 jan 100 2 -1 0 unknown no
48 entrepreneur married tertiary no 981 yes no unknown 15 may 995 2 -1 0 unknown no
41 blue-collar married primary no 381 no no unknown 25 jun 305 4 -1 0 unknown no
37 services married secondary no 1785 yes no unknown 26 may 912 4 -1 0 unknown no
37 management married tertiary no 1689 yes no unknown 29 may 645 2 -1 0 unknown no
65 retired married tertiary no 1973 no no telephone 2 feb 121 1 287 3 success no
34 management married tertiary no 224 no no cellular 25 aug 108 5 -1 0 unknown no
41 blue-collar married secondary no 598 yes no cellular 12 may 69 3 364 11 failure no
54 management married tertiary no 313 yes no unknown 5 may 83 2 -1 0 unknown no
51 blue-collar married secondary no -286 yes no unknown 9 may 70 1 -1 0 unknown no
50 blue-collar single primary no 1743 yes no unknown 6 jun 49 5 -1 0 unknown no
41 blue-collar married secondary no 946 yes no unknown 6 may 325 1 -1 0 unknown no
30 technician single secondary no -754 yes yes unknown 26 may 974 1 -1 0 unknown no
47 blue-collar married primary no 556 yes no cellular 4 feb 147 2 264 4 other no
36 management divorced tertiary no 59 no no cellular 13 aug 526 2 -1 0 unknown yes
36 management married primary no 5427 no no unknown 12 jun 398 1 -1 0 unknown no
30 technician married secondary no 66 no yes cellular 5 aug 239 1 -1 0 unknown no
36 management single tertiary no 124 yes no telephone 24 jul 308 4 -1 0 unknown no
56 admin. married secondary no 353 yes no unknown 5 may 106 2 -1 0 unknown no
42 admin. married secondary no 0 yes yes cellular 20 apr 58 4 -1 0 unknown no
31 admin. married secondary no 337 no no unknown 12 may 51 1 -1 0 unknown no
54 entrepreneur married tertiary no 1063 yes no telephone 8 apr 690 7 -1 0 unknown no
32 technician married secondary no 169 yes no cellular 12 may 85 4 350 1 failure no
51 management married primary no 192 no no unknown 18 jun 129 3 -1 0 unknown no
50 services divorced secondary no 145 yes no unknown 8 may 170 1 -1 0 unknown no
31 blue-collar married primary no -464 yes yes unknown 12 may 256 4 -1 0 unknown no
33 entrepreneur single tertiary no 138 no no cellular 4 feb 141 2 -1 0 unknown no
33 management single tertiary no 373 no yes cellular 28 jan 169 3 93 1 failure no
28 management single tertiary no 191 yes no unknown 4 jun 238 1 -1 0 unknown no
58 self-employed married tertiary no 327 no yes cellular 14 jul 145 2 -1 0 unknown no
38 management married secondary no 3500 yes no cellular 16 jul 406 4 -1 0 unknown no
49 blue-collar married secondary no 26 yes no unknown 6 may 276 2 -1 0 unknown no
39 technician married secondary no 5574 no no cellular 14 aug 102 2 -1 0 unknown no
30 admin. married secondary no 0 no no cellular 15 jul 127 5 -1 0 unknown no
33 technician married secondary no 1072 no yes unknown 29 may 144 2 -1 0 unknown no
43 entrepreneur single tertiary no 744 no yes cellular 20 nov 90 4 114 4 failure no
37 admin. married tertiary no 1988 no no cellular 17 nov 397 2 -1 0 unknown no
41 unknown single unknown no 942 no no cellular 22 apr 219 1 -1 0 unknown yes
35 technician married secondary no 1364 yes yes cellular 20 apr 25 2 -1 0 unknown no
33 housemaid single secondary no 1363 no no telephone 30 jun 42 1 -1 0 unknown no
34 blue-collar single secondary yes -369 yes no unknown 23 may 353 2 -1 0 unknown no
51 self-employed married secondary yes -206 no yes cellular 28 jul 51 3 -1 0 unknown no
26 blue-collar single primary no 17 yes no cellular 15 may 86 2 367 2 failure no
45 admin. married secondary no 805 yes no unknown 15 may 186 3 -1 0 unknown no
32 management single tertiary no 297 no no cellular 13 aug 225 2 -1 0 unknown no
42 technician married secondary no 0 yes no unknown 14 may 833 1 -1 0 unknown no
32 entrepreneur divorced secondary no 252 no yes cellular 8 jul 145 2 -1 0 unknown no
39 admin. divorced secondary no 2903 yes yes telephone 25 jul 259 2 -1 0 unknown no
31 blue-collar married secondary no 23 no yes cellular 6 feb 384 5 -1 0 unknown no
34 management single tertiary no 280 no no cellular 25 aug 119 11 -1 0 unknown no
57 admin. divorced unknown no 887 no no unknown 20 jun 43 8 -1 0 unknown no
47 admin. married secondary no 368 no no cellular 23 feb 269 1 187 5 success yes
28 admin. single secondary no 551 no yes cellular 8 jul 161 1 -1 0 unknown no
49 management married tertiary no 934 no yes cellular 21 nov 158 4 -1 0 unknown no
36 management married tertiary no 190 yes no cellular 5 feb 217 1 -1 0 unknown no
36 admin. single secondary no 135 yes no cellular 29 jan 263 2 192 3 other no
40 services married secondary no 683 yes no cellular 2 feb 299 2 -1 0 unknown no
57 management married tertiary no 334 yes no cellular 15 may 169 2 365 2 failure no
30 admin. married secondary no 166 no no unknown 14 jun 30 1 -1 0 unknown no
29 blue-collar married secondary yes -643 yes no cellular 18 jul 277 1 -1 0 unknown no
53 self-employed married secondary no 1 yes yes unknown 23 may 178 1 -1 0 unknown no
35 management single tertiary no 688 no no cellular 2 feb 504 1 -1 0 unknown no
43 housemaid married primary no 25 no no cellular 12 aug 121 2 -1 0 unknown no
41 technician single tertiary no 431 no no cellular 23 jul 196 1 88 5 failure yes
32 technician single secondary no 137 no no cellular 20 nov 302 4 -1 0 unknown no
51 retired married secondary no 0 no no unknown 15 may 70 1 -1 0 unknown no
37 self-employed married secondary no 2575 yes no cellular 14 jul 505 2 -1 0 unknown no
56 management divorced tertiary no -59 no yes cellular 28 jul 127 6 -1 0 unknown no
31 self-employed married secondary no 157 yes no unknown 19 may 285 1 -1 0 unknown no
48 unemployed divorced secondary no 201 no no cellular 11 aug 140 1 -1 0 unknown yes
41 technician married secondary no -215 no yes cellular 10 jul 277 1 -1 0 unknown no
30 technician married secondary no -189 no no cellular 19 aug 105 2 -1 0 unknown no
26 management single tertiary no 6791 no no telephone 29 apr 164 23 -1 0 unknown no
23 admin. single tertiary no 0 no no cellular 5 mar 168 2 -1 0 unknown no
55 technician married tertiary no 639 yes no telephone 13 may 992 5 370 3 other no
33 services divorced secondary no -395 yes no unknown 27 may 161 2 -1 0 unknown no
33 management married secondary no -224 yes no cellular 14 may 152 2 259 8 other no
56 management divorced tertiary no -563 no no cellular 16 jul 79 1 -1 0 unknown no
43 blue-collar married primary no -192 yes no unknown 8 may 1120 2 -1 0 unknown yes
27 self-employed married tertiary no 0 no yes cellular 28 jul 133 4 -1 0 unknown no
32 blue-collar married secondary no 715 yes no unknown 8 may 108 2 -1 0 unknown no
32 management married tertiary no 913 yes no cellular 23 jun 883 1 674 4 failure no
32 technician married secondary no 660 no no cellular 25 oct 226 2 490 1 failure yes
26 services married secondary no -285 yes yes unknown 4 jun 279 1 -1 0 unknown no
36 blue-collar married secondary no -251 yes no unknown 7 may 162 1 -1 0 unknown no
67 retired married unknown no 2540 no no telephone 14 jun 278 5 116 4 other yes
58 retired divorced tertiary no 2086 yes no cellular 29 jul 194 2 -1 0 unknown no
51 housemaid married secondary no 260 no no cellular 27 aug 316 5 -1 0 unknown no
31 management married tertiary no 6138 no no cellular 19 jun 241 5 -1 0 unknown no
51 services married tertiary no 218 yes no cellular 7 may 154 3 363 2 failure no
50 technician married tertiary no 1347 yes yes unknown 12 jun 582 1 -1 0 unknown no
29 admin. married secondary no 1489 yes no cellular 20 apr 399 1 -1 0 unknown no
33 technician married secondary no 1 yes no cellular 15 mar 261 4 -1 0 unknown no
51 admin. divorced secondary no 3029 yes yes cellular 31 jul 118 2 -1 0 unknown no
50 entrepreneur divorced tertiary no 541 no no cellular 18 nov 204 1 -1 0 unknown no
52 self-employed married secondary no -488 yes no unknown 29 may 322 1 -1 0 unknown no
36 management married tertiary no 1113 no no cellular 1 sep 212 1 -1 0 unknown yes
51 admin. married secondary no 4178 yes no unknown 30 may 556 1 -1 0 unknown no
58 services married secondary no 688 no no cellular 6 aug 152 2 -1 0 unknown no
37 self-employed single tertiary no 1549 no no unknown 6 jun 48 2 -1 0 unknown no
29 admin. divorced secondary no 0 no no unknown 9 may 393 1 -1 0 unknown no
31 management single tertiary no 775 yes no cellular 4 may 99 2 14 3 failure no
66 housemaid married primary no 922 no no telephone 2 nov 83 4 101 4 other no
24 admin. single secondary no -346 yes no unknown 4 jul 164 2 -1 0 unknown no
32 admin. married secondary no 2664 yes no cellular 29 jul 242 7 -1 0 unknown no
52 self-employed married secondary no 9 no yes unknown 6 jun 44 1 -1 0 unknown no
33 blue-collar married secondary no 6227 yes no unknown 23 may 76 2 -1 0 unknown no
28 management single secondary no -513 no yes cellular 29 jul 95 8 -1 0 unknown no
37 management married secondary no 341 no no unknown 3 jun 120 2 -1 0 unknown no
30 services divorced secondary no 0 yes yes cellular 30 jul 102 3 -1 0 unknown no
33 admin. single primary no -258 yes no cellular 15 may 158 2 352 2 failure no
52 management married tertiary no 4504 yes no cellular 17 nov 268 2 -1 0 unknown no
33 blue-collar married secondary no 36 yes no unknown 4 jun 36 4 -1 0 unknown no
48 blue-collar married primary no 649 no no unknown 19 jun 136 2 -1 0 unknown no
51 housemaid married primary no 289 no no unknown 14 may 97 5 -1 0 unknown no
38 admin. married secondary no 4874 no no unknown 6 jun 1291 3 -1 0 unknown no
41 management single unknown no 1604 no no unknown 16 jun 287 2 -1 0 unknown no
33 technician married secondary no 183 no no cellular 16 jul 457 2 182 3 other yes
31 management married secondary no 625 yes no cellular 20 nov 136 1 -1 0 unknown no
44 blue-collar married secondary no 326 yes no unknown 14 may 35 2 -1 0 unknown no
43 self-employed married secondary no 1239 yes yes telephone 23 jul 355 3 -1 0 unknown no
42 self-employed divorced tertiary no 216 yes no cellular 8 may 144 3 -1 0 unknown no
51 management married tertiary no 1069 no no unknown 20 jun 27 7 -1 0 unknown no
32 technician married secondary no 1214 yes no cellular 20 apr 53 1 -1 0 unknown no
57 management married tertiary no 4547 no no cellular 7 aug 314 4 -1 0 unknown no
52 technician divorced secondary no 0 no no cellular 29 aug 39 2 -1 0 unknown no
42 admin. single secondary no 2790 yes no cellular 7 may 425 1 336 1 failure no
32 admin. married secondary no 198 no no cellular 16 jul 132 2 -1 0 unknown no
50 technician married secondary no -997 no yes cellular 28 aug 70 7 -1 0 unknown no
27 admin. married secondary no 73 yes no cellular 5 feb 140 1 -1 0 unknown no
38 blue-collar married primary no 1099 yes no cellular 15 may 22 5 -1 0 unknown no
52 management divorced tertiary no 427 no yes telephone 20 nov 36 3 -1 0 unknown no
41 blue-collar married secondary no 750 yes no cellular 31 jul 207 2 -1 0 unknown no
38 blue-collar single secondary no 1121 no no unknown 18 jun 203 1 -1 0 unknown no
39 technician married secondary no 186 no no cellular 2 feb 171 1 -1 0 unknown no
35 management married tertiary no 76 no no cellular 5 may 283 1 362 9 failure no
50 blue-collar married primary no 1549 yes no cellular 11 may 445 2 299 6 other no
43 management divorced tertiary no 666 no no cellular 13 aug 160 3 -1 0 unknown no
53 blue-collar married secondary no 3079 no no cellular 5 apr 759 1 -1 0 unknown no
52 admin. divorced secondary no 121 yes no cellular 24 jul 241 2 -1 0 unknown no
41 blue-collar married primary no -441 yes no cellular 5 may 352 1 -1 0 unknown no
39 blue-collar single primary no 1537 no yes unknown 5 jun 805 2 -1 0 unknown no
26 student single tertiary no 249 yes no cellular 11 may 445 2 371 1 other no
55 blue-collar married unknown no 2691 yes no cellular 20 nov 278 1 104 2 other no
45 technician married secondary no 1732 no no cellular 7 aug 163 2 -1 0 unknown no
36 blue-collar single secondary no 3508 yes no cellular 7 apr 183 1 266 3 failure no
45 technician married secondary no 3460 no no cellular 27 aug 116 4 -1 0 unknown no
36 services married secondary no 301 yes no unknown 5 may 210 1 -1 0 unknown no
44 blue-collar married secondary no 6491 yes no cellular 19 nov 126 2 174 1 failure no
27 admin. married secondary no -48 yes no unknown 20 jun 168 2 -1 0 unknown no
39 management single secondary no 4278 yes no cellular 19 nov 43 1 111 2 other no
54 blue-collar married primary no 6242 yes no cellular 7 may 162 1 -1 0 unknown no
56 retired married primary no 3149 no no cellular 7 aug 142 3 -1 0 unknown no
36 student married tertiary no 408 no no unknown 20 jun 112 3 -1 0 unknown no
36 management married tertiary no 1357 yes no unknown 5 jun 74 5 -1 0 unknown no
47 housemaid married primary no 97 no yes telephone 21 nov 109 1 -1 0 unknown no
38 blue-collar married primary no 406 yes no cellular 29 jan 138 1 188 5 failure no
41 management single tertiary no 3371 yes yes cellular 13 may 204 2 -1 0 unknown no
31 technician single secondary no 18 no no unknown 31 aug 27 1 -1 0 unknown no
33 technician single secondary no -32 no no cellular 25 aug 196 12 -1 0 unknown no
31 technician single tertiary no 1166 yes no unknown 3 jun 207 1 -1 0 unknown no
29 admin. single secondary no 900 yes no unknown 14 may 339 1 -1 0 unknown no
47 services married primary no 504 no yes unknown 18 jun 156 3 -1 0 unknown no
32 student single secondary no 61 no yes cellular 5 jul 178 3 515 7 failure no
29 blue-collar single secondary no 874 yes no unknown 15 may 68 5 -1 0 unknown no
32 technician married secondary no 286 no no cellular 20 apr 60 1 343 4 failure no
59 blue-collar married secondary no 681 yes no telephone 14 apr 427 2 -1 0 unknown no
43 technician married secondary no 2041 yes yes unknown 29 may 162 5 -1 0 unknown no
46 technician married unknown no 3308 no no cellular 27 oct 171 1 91 2 success yes
47 technician divorced secondary no 1851 yes no unknown 19 may 140 2 -1 0 unknown no
43 blue-collar married primary no 186 yes no unknown 8 may 178 1 -1 0 unknown no
37 blue-collar married primary no 345 yes no cellular 29 jan 344 1 188 2 failure no
41 entrepreneur married secondary no 2959 yes no telephone 25 jul 110 1 -1 0 unknown no
35 technician single secondary no 915 no yes cellular 26 aug 89 3 -1 0 unknown no
26 student single secondary no 334 no no telephone 4 feb 46 1 -1 0 unknown no
26 student single tertiary no 0 yes no unknown 28 may 124 1 -1 0 unknown no
56 blue-collar married primary no 826 yes no cellular 21 jul 853 1 -1 0 unknown no
45 management divorced tertiary no 0 no no unknown 1 jun 5 1 -1 0 unknown no
30 management married tertiary no 6432 yes no cellular 5 may 334 6 165 5 failure no
47 self-employed married secondary no 1803 no no cellular 30 jan 188 2 -1 0 unknown no
34 technician married secondary no 1005 no no cellular 26 aug 209 7 -1 0 unknown no
34 management single tertiary no 26575 no no cellular 18 nov 93 1 -1 0 unknown no
36 admin. married tertiary no 0 no no cellular 25 nov 106 1 205 2 other no
35 unemployed married primary no 3 no no cellular 24 jul 90 1 -1 0 unknown no
30 blue-collar married secondary no -135 yes no cellular 18 may 57 1 -1 0 unknown no
25 technician single secondary no 582 no yes cellular 3 feb 438 1 -1 0 unknown no
32 management single tertiary no 1434 no no cellular 11 aug 1144 3 -1 0 unknown no
47 blue-collar divorced secondary no 3823 yes yes cellular 17 apr 647 2 -1 0 unknown no
40 technician married secondary no 26 yes no unknown 16 may 230 3 -1 0 unknown no
37 management married tertiary no 0 no no cellular 14 sep 155 1 -1 0 unknown no
37 technician single secondary no 670 yes no unknown 8 may 78 3 -1 0 unknown no
28 management single tertiary no 2080 no no telephone 30 jan 399 2 2 1 other no
50 admin. single secondary no 424 yes no unknown 12 may 72 2 -1 0 unknown no
33 services married secondary no 109 yes no unknown 2 jun 54 4 -1 0 unknown no
41 management married secondary no 1273 no no unknown 20 jun 73 3 -1 0 unknown no
34 management married tertiary no 1036 yes no cellular 2 mar 78 4 103 7 failure no
30 blue-collar married primary no 0 yes no cellular 6 may 239 2 -1 0 unknown no
55 technician married tertiary no 11 no no cellular 21 aug 588 2 -1 0 unknown no
29 management married tertiary no 715 yes no unknown 28 may 461 1 -1 0 unknown no
50 admin. single secondary no 2252 no no cellular 30 apr 652 2 -1 0 unknown yes
27 technician single secondary no 337 no no unknown 9 jul 23 1 -1 0 unknown yes
44 admin. married tertiary no 6485 no no cellular 27 aug 85 19 -1 0 unknown no
32 blue-collar married secondary no 1281 yes no cellular 20 apr 222 1 -1 0 unknown no
73 retired divorced secondary no 1092 no no cellular 7 aug 390 2 -1 0 unknown no
24 blue-collar married secondary no 1470 yes no cellular 12 may 212 1 -1 0 unknown no
59 retired divorced primary no -110 no yes unknown 4 jul 195 1 -1 0 unknown no
69 retired divorced secondary no 4572 no no cellular 27 jan 185 2 92 3 success no
37 services single secondary no 510 yes no unknown 26 may 322 1 -1 0 unknown no
34 self-employed single tertiary no 1129 yes no unknown 21 may 103 2 -1 0 unknown no
31 management married tertiary no 732 yes no cellular 29 jan 542 1 241 1 failure no
56 management married tertiary no 247 no no cellular 30 jul 44 2 -1 0 unknown no
36 blue-collar married secondary no 1049 yes no cellular 14 may 224 4 -1 0 unknown yes
30 services married secondary no 78 yes no cellular 6 may 198 1 -1 0 unknown no
28 blue-collar married secondary no 2788 yes no unknown 6 jun 369 2 -1 0 unknown yes
47 admin. married secondary no 4480 no no telephone 19 nov 60 2 -1 0 unknown no
30 technician single secondary no 281 no no cellular 12 aug 105 2 -1 0 unknown no
34 technician single secondary no 559 no no cellular 22 aug 259 2 -1 0 unknown no
28 admin. single secondary no 244 yes no unknown 9 may 31 3 -1 0 unknown no
59 technician divorced secondary no 879 yes no unknown 26 may 228 1 -1 0 unknown no
53 technician married tertiary no 856 yes no cellular 4 feb 102 2 -1 0 unknown no
47 management single tertiary no 255 no yes cellular 30 jul 802 4 -1 0 unknown yes
37 management married tertiary no 0 yes no cellular 6 may 149 1 13 12 success no
30 services single unknown no 347 yes no unknown 21 may 225 1 -1 0 unknown no
35 management married tertiary no 93 no no cellular 4 may 198 2 88 1 other no
51 retired divorced secondary no 343 yes no unknown 30 may 78 2 -1 0 unknown no
33 technician single secondary no 2466 yes no cellular 21 nov 132 2 -1 0 unknown no
32 technician single tertiary no 92 yes no unknown 28 may 116 1 -1 0 unknown no
56 retired married primary no 13 yes no unknown 12 may 123 2 -1 0 unknown no
47 blue-collar married secondary no 71 yes no cellular 11 may 170 1 370 1 failure no
53 blue-collar married primary no 6386 yes no unknown 12 may 170 8 -1 0 unknown no
33 self-employed single tertiary no 9670 no no cellular 20 nov 204 1 -1 0 unknown no
41 technician married secondary no 712 no no cellular 19 aug 409 2 -1 0 unknown no
34 admin. single tertiary no -199 no yes cellular 8 jul 130 1 -1 0 unknown no
53 blue-collar married secondary no 3815 no no telephone 20 nov 75 2 149 3 failure no
56 entrepreneur divorced tertiary no 386 no no cellular 21 nov 65 4 -1 0 unknown no
33 management married tertiary no 540 no no cellular 11 aug 79 4 -1 0 unknown no
34 technician single unknown no 4223 no yes cellular 20 nov 133 1 -1 0 unknown no
31 technician divorced secondary no -175 no no telephone 27 aug 9 15 -1 0 unknown no
70 retired married secondary no 1853 no no telephone 26 aug 314 1 -1 0 unknown yes
57 management married primary no 6900 no no cellular 23 oct 255 4 185 2 failure yes
31 blue-collar single secondary no 39 yes no cellular 15 may 123 5 -1 0 unknown no
31 technician married secondary no 183 no no cellular 16 apr 495 1 -1 0 unknown yes
43 management married primary no 62 yes no cellular 14 may 133 1 300 3 failure no
36 management single secondary no 1785 no no cellular 21 nov 136 2 -1 0 unknown no
38 admin. married tertiary no 293 no no cellular 15 apr 85 1 -1 0 unknown no
26 management single tertiary no 1643 no no cellular 12 aug 243 1 -1 0 unknown no
54 admin. divorced secondary no 912 yes no unknown 19 may 258 1 -1 0 unknown no
52 management divorced tertiary no -297 yes no unknown 20 jun 11 21 -1 0 unknown no
55 technician married secondary no 1938 no yes cellular 18 aug 193 1 386 3 success yes
35 entrepreneur single tertiary yes 793 no yes cellular 8 jul 163 1 -1 0 unknown no
37 management married tertiary no 0 no no cellular 24 nov 187 2 -1 0 unknown no
43 admin. single secondary no 733 yes no cellular 25 may 282 1 187 3 success yes
33 blue-collar married primary no 208 yes no cellular 16 jul 284 1 -1 0 unknown no
30 management married tertiary no 101 yes no cellular 17 nov 348 1 123 1 failure no
38 unemployed married primary no -363 no no unknown 12 jun 340 2 -1 0 unknown no
56 admin. divorced secondary no 0 no no cellular 18 nov 100 1 154 2 failure no
49 blue-collar married secondary no 388 no no telephone 17 jul 265 2 -1 0 unknown no
37 management married tertiary no 975 yes yes cellular 21 nov 69 9 -1 0 unknown no
40 blue-collar single primary no 366 yes yes cellular 28 jan 168 2 205 1 failure no
41 entrepreneur married secondary no 547 no no cellular 29 jul 365 2 -1 0 unknown no
49 management single tertiary no 1 yes no unknown 6 jun 59 3 -1 0 unknown no
34 technician single secondary no 2085 no no cellular 10 aug 356 3 182 2 success yes
32 blue-collar married secondary no -1500 yes no unknown 27 may 157 2 -1 0 unknown no
58 unemployed married secondary no 0 no no unknown 3 jul 84 1 -1 0 unknown no
21 student single primary no 8278 no no cellular 29 oct 445 1 -1 0 unknown yes
59 management married tertiary no 315 no no cellular 7 sep 98 2 -1 0 unknown no
69 retired married unknown no 426 no no telephone 9 mar 225 1 90 1 success yes
45 blue-collar married unknown no 550 no yes unknown 20 jun 97 1 -1 0 unknown no
57 technician married secondary no 2625 no no cellular 14 aug 465 2 -1 0 unknown no
30 services single unknown no 138 yes no cellular 20 apr 187 1 -1 0 unknown no
46 blue-collar married primary no 881 yes no unknown 9 may 126 2 -1 0 unknown no
36 blue-collar married secondary no 7265 no no unknown 17 jun 243 1 -1 0 unknown no
49 blue-collar married primary no 953 yes no unknown 14 may 278 2 -1 0 unknown no
37 services single secondary no 594 yes no cellular 29 jan 359 1 -1 0 unknown no
59 admin. married secondary no 506 yes no cellular 13 may 281 1 -1 0 unknown no
32 blue-collar married unknown no 1267 yes no cellular 18 may 66 2 -1 0 unknown no
44 services married primary no 764 no no cellular 3 feb 224 1 -1 0 unknown no
42 entrepreneur single unknown no 323 no no unknown 16 jun 617 1 -1 0 unknown yes
25 student single secondary no 1747 yes no cellular 24 jul 903 1 -1 0 unknown yes
39 blue-collar married secondary no 2239 no no unknown 17 jun 133 2 -1 0 unknown no
33 entrepreneur married tertiary no 1636 no no cellular 31 jul 8 25 -1 0 unknown no
48 blue-collar married primary no 492 no yes cellular 21 aug 139 2 -1 0 unknown no
55 technician divorced secondary no 61 yes yes cellular 25 aug 113 3 -1 0 unknown no
47 technician married secondary no 147 no no cellular 22 aug 136 2 -1 0 unknown no
45 management divorced tertiary no 854 no yes cellular 8 jul 730 1 -1 0 unknown yes
51 technician married primary no 1550 no no unknown 20 jun 12 5 -1 0 unknown no
43 entrepreneur married primary no 0 yes no unknown 30 may 222 9 -1 0 unknown no
40 admin. married secondary no 6 yes no unknown 6 may 60 3 -1 0 unknown no
43 blue-collar married unknown no -633 yes yes unknown 13 may 277 1 -1 0 unknown no
33 management single tertiary no 417 yes no cellular 6 feb 83 1 -1 0 unknown no
62 retired married secondary no 569 no no cellular 4 feb 94 5 184 1 success yes
32 technician married tertiary no 133 yes no cellular 17 jul 421 1 -1 0 unknown no
23 services single secondary no 495 yes yes cellular 18 may 302 1 -1 0 unknown no
51 technician married secondary no 47 no no cellular 18 aug 54 4 -1 0 unknown no
33 admin. single secondary no 607 no no cellular 27 feb 110 2 -1 0 unknown yes
29 admin. single tertiary no 8 no no cellular 28 jan 468 1 -1 0 unknown no
38 services divorced secondary no -10 yes no unknown 17 jun 61 2 -1 0 unknown no
33 blue-collar married secondary no 2279 yes no telephone 12 may 123 3 -1 0 unknown no
36 technician divorced secondary no 407 no no cellular 21 nov 98 1 -1 0 unknown no
25 technician single secondary no 31 no no cellular 2 aug 300 3 -1 0 unknown no
53 services married secondary no 341 no no cellular 12 aug 90 2 104 2 success no
49 technician married tertiary no 523 yes no cellular 3 apr 203 1 31 2 success no
38 technician married tertiary no 11766 yes no cellular 19 nov 280 1 -1 0 unknown no
26 student single secondary no 620 no no cellular 22 may 223 1 94 1 success yes
41 management married secondary no 5585 no no unknown 9 jun 772 1 -1 0 unknown no
37 management married tertiary no 657 no no unknown 6 jun 227 1 -1 0 unknown no
48 entrepreneur married secondary no 0 no yes cellular 28 jul 431 2 -1 0 unknown yes
31 services single secondary no -32 yes no unknown 23 may 157 1 -1 0 unknown no
49 services married secondary no 1084 yes no telephone 17 nov 99 1 -1 0 unknown no
29 self-employed married tertiary no 242 yes no cellular 18 jul 73 4 -1 0 unknown no
28 self-employed single secondary no -395 yes no unknown 30 jun 141 4 -1 0 unknown no
42 technician married secondary no 994 yes no cellular 11 aug 149 1 78 5 failure yes
27 blue-collar divorced secondary no 0 yes no telephone 13 may 363 1 359 3 failure no
50 blue-collar single primary no 1558 yes no cellular 3 feb 294 1 265 1 other no
39 services single secondary no 3 no yes unknown 3 jul 206 1 -1 0 unknown no
39 self-employed divorced tertiary no 1415 no no unknown 17 jun 134 1 -1 0 unknown no
29 technician single secondary yes -33 no yes cellular 10 jul 171 1 -1 0 unknown no
39 technician married secondary no 94 no no unknown 16 jun 182 2 -1 0 unknown no
57 retired married secondary no 2774 no no cellular 18 aug 299 6 -1 0 unknown no
50 technician married tertiary no 267 yes no cellular 21 nov 30 1 -1 0 unknown no
25 technician single secondary no -55 yes yes cellular 7 jul 242 1 -1 0 unknown no
59 admin. married secondary no 205 no no telephone 1 jun 277 1 -1 0 unknown no
42 technician married secondary no 1539 no no cellular 19 jun 63 5 211 2 failure no
53 management married tertiary no 1945 no no telephone 7 aug 262 7 -1 0 unknown no
45 admin. married secondary no -261 yes no unknown 29 may 144 1 -1 0 unknown no
60 technician married secondary no 294 no no telephone 18 dec 104 5 198 4 success no
53 admin. married secondary no 769 no no cellular 4 aug 59 1 -1 0 unknown no
28 admin. single secondary no 19 no no cellular 8 jul 78 4 -1 0 unknown no
53 retired married primary no 759 yes no telephone 25 jul 702 5 -1 0 unknown no
69 retired married primary no 154 no no cellular 13 jul 144 4 -1 0 unknown no
37 management single tertiary no 340 no no cellular 11 aug 90 4 -1 0 unknown no
47 management married tertiary no 109 yes no cellular 16 apr 91 2 268 1 failure no
47 technician single secondary no -239 yes yes cellular 7 jul 973 3 -1 0 unknown yes
30 services married secondary no 271 yes no unknown 15 may 365 1 -1 0 unknown no
44 technician divorced secondary no 14 no no cellular 13 aug 234 1 -1 0 unknown yes
26 management single tertiary no 2786 no no cellular 3 jun 300 2 72 1 success yes
40 services married secondary no 376 yes yes unknown 11 jun 268 2 -1 0 unknown no
31 housemaid single tertiary no 0 no no cellular 22 aug 78 3 -1 0 unknown no
29 technician married secondary no 344 yes yes unknown 28 may 279 2 -1 0 unknown no
33 management married tertiary no 299 no no cellular 11 aug 378 4 -1 0 unknown no
58 blue-collar married primary no 2547 no no unknown 15 may 174 4 -1 0 unknown no
32 admin. single secondary no 739 yes no cellular 20 nov 91 3 -1 0 unknown no
58 blue-collar married primary no 128 yes no telephone 30 jul 49 5 -1 0 unknown no
43 services married secondary no 508 yes no cellular 18 nov 200 1 172 1 failure no
31 blue-collar married primary no -81 yes no cellular 22 jul 261 1 -1 0 unknown no
27 technician single unknown no 0 yes no cellular 2 feb 168 1 -1 0 unknown no
42 admin. married secondary no 437 yes no cellular 11 aug 120 3 190 1 failure no
30 management married tertiary no 1996 no no cellular 8 feb 1133 3 101 1 other yes
58 housemaid married primary no 11 yes no unknown 20 may 90 1 -1 0 unknown no
46 technician married unknown no 304 no no cellular 2 feb 202 2 -1 0 unknown no
28 unemployed single tertiary no 1638 no no cellular 29 jan 238 1 -1 0 unknown no
45 entrepreneur divorced tertiary no 0 yes no cellular 13 may 325 2 -1 0 unknown no
25 student single primary no 373 yes no cellular 11 may 819 2 -1 0 unknown yes
46 services married secondary no 53 no yes cellular 28 jul 31 3 -1 0 unknown no
35 technician divorced secondary no 0 no no cellular 25 aug 124 4 -1 0 unknown no
37 technician married secondary no -403 yes no unknown 30 may 31 6 -1 0 unknown no
38 blue-collar married primary no 630 yes no unknown 23 may 201 3 -1 0 unknown no
33 blue-collar married primary no 0 yes no unknown 15 may 270 1 -1 0 unknown no
45 technician married secondary no 3601 yes no unknown 30 may 536 2 -1 0 unknown no
56 blue-collar divorced secondary no 2780 yes no telephone 6 feb 81 3 -1 0 unknown no
35 admin. married tertiary no 6 no no cellular 26 aug 130 2 -1 0 unknown no
45 management married tertiary no 21024 yes no cellular 20 apr 73 4 -1 0 unknown no
26 blue-collar single secondary no 4146 no no cellular 17 jul 628 1 -1 0 unknown no
38 technician married secondary no 10596 no no cellular 19 aug 195 1 197 4 other yes
49 self-employed divorced secondary no 6116 yes no cellular 21 nov 43 1 -1 0 unknown no
38 admin. married secondary no 505 yes yes cellular 21 nov 119 1 157 2 failure no
50 technician married tertiary no 0 no yes cellular 6 jul 257 1 85 7 failure no
42 management married secondary no 71 no no cellular 17 nov 80 1 -1 0 unknown no
35 technician single secondary no 300 yes no unknown 9 may 338 4 -1 0 unknown no
27 services married secondary no 2526 yes no cellular 23 jul 500 3 -1 0 unknown no
53 blue-collar married secondary no 913 yes no cellular 23 jul 730 1 -1 0 unknown no
59 management divorced primary no 133 yes no cellular 9 jul 206 1 -1 0 unknown no
52 entrepreneur married secondary no 10 no yes cellular 17 jul 72 3 -1 0 unknown no
28 services married secondary no 510 yes yes cellular 8 jul 1767 2 -1 0 unknown yes
46 entrepreneur married tertiary no 1920 no no cellular 22 aug 604 6 -1 0 unknown yes
59 management married tertiary no 96 no yes cellular 8 jul 55 1 -1 0 unknown no
30 management married tertiary no 319 yes yes cellular 16 jul 91 2 -1 0 unknown no
59 management single tertiary no 623 yes no cellular 7 jul 212 4 -1 0 unknown no
55 technician divorced secondary no 35 yes no cellular 20 aug 126 4 -1 0 unknown no
48 technician married tertiary no 310 no no unknown 6 may 135 1 -1 0 unknown no
37 management married tertiary no 591 yes no cellular 7 may 181 2 255 5 failure no
27 unemployed single secondary no 11 no no cellular 5 feb 257 1 -1 0 unknown no
59 admin. married primary no 6187 no no cellular 31 jul 114 4 -1 0 unknown no
49 self-employed divorced tertiary no 3293 no no cellular 8 mar 111 3 585 6 other no
45 technician married tertiary no 285 no no cellular 25 aug 202 7 -1 0 unknown no
65 admin. married secondary no 952 no no cellular 6 sep 255 1 96 1 success yes
46 blue-collar married secondary no 524 yes no telephone 5 may 15 7 -1 0 unknown no
41 admin. married primary no 0 yes no cellular 6 may 184 2 323 1 failure no
36 housemaid married secondary no 0 no yes telephone 15 jul 571 3 -1 0 unknown no
30 technician single tertiary no 411 no no cellular 21 apr 142 1 -1 0 unknown no
51 self-employed married secondary no 4920 no no telephone 2 jun 392 2 -1 0 unknown no
44 management married tertiary no 1138 no no cellular 27 aug 523 3 -1 0 unknown yes
36 technician married secondary no 5902 yes no unknown 23 may 219 4 -1 0 unknown no
35 admin. married secondary no 2374 yes no unknown 25 aug 5 1 14 7 success no
47 blue-collar married secondary no 265 yes no cellular 8 may 144 2 368 1 failure no
36 blue-collar divorced secondary no 3102 yes no cellular 16 apr 188 1 147 1 failure no
35 management married tertiary no 5367 no no cellular 2 mar 69 1 -1 0 unknown no
30 unemployed single secondary no 2424 no no cellular 12 nov 110 1 279 1 failure yes
46 unemployed divorced secondary no 41 yes no unknown 12 may 249 4 -1 0 unknown no
31 technician single tertiary no 1051 no no cellular 25 aug 106 4 -1 0 unknown no
46 blue-collar married primary no 2269 yes no cellular 12 aug 73 2 -1 0 unknown no
52 technician married secondary no 2944 no no cellular 22 aug 22 18 -1 0 unknown no
51 blue-collar married primary no 48 no yes unknown 17 jun 130 1 -1 0 unknown no
31 management single tertiary no 9506 no no cellular 8 aug 321 2 -1 0 unknown no
37 admin. divorced secondary no 0 yes yes cellular 5 may 358 1 -1 0 unknown no
42 entrepreneur married secondary no 0 yes no cellular 20 nov 73 4 -1 0 unknown no
63 entrepreneur married primary no 2287 no no telephone 1 sep 490 1 -1 0 unknown no
47 technician married secondary no 6704 yes no cellular 20 nov 37 2 -1 0 unknown no
56 management divorced unknown no 854 no no cellular 27 may 121 1 -1 0 unknown no
62 retired married secondary no 1486 no no cellular 28 apr 56 2 -1 0 unknown no
60 retired married secondary no 263 no no cellular 2 jul 317 1 330 2 failure no
55 management married unknown no 1504 yes no cellular 22 may 338 2 -1 0 unknown yes
46 admin. married secondary no 2583 yes no cellular 10 jul 111 1 -1 0 unknown no
45 unemployed divorced primary no 757 no no cellular 20 apr 103 1 325 4 failure no
58 technician married secondary no 201 no no cellular 10 jul 82 5 -1 0 unknown no
34 management single tertiary no 27 no yes cellular 22 jul 255 1 -1 0 unknown no
26 technician single secondary no 8 no no unknown 13 may 147 1 -1 0 unknown no
52 blue-collar single primary no 1400 no no cellular 30 jul 103 4 -1 0 unknown no
54 services married unknown no 324 no no cellular 29 aug 124 11 -1 0 unknown no
28 blue-collar single secondary no 369 yes no unknown 23 may 411 3 -1 0 unknown no
43 management married tertiary no 19 yes no unknown 30 may 126 2 -1 0 unknown no
35 blue-collar married secondary no 4731 yes no unknown 2 jun 249 2 -1 0 unknown no
29 blue-collar married secondary no 3007 yes no cellular 20 apr 19 5 -1 0 unknown no
41 management married tertiary no -456 no no cellular 14 apr 427 4 144 1 failure no
36 technician single tertiary no 53 no yes cellular 18 aug 64 7 -1 0 unknown no
49 unknown married secondary no 4846 no no unknown 20 jun 638 9 -1 0 unknown no
59 retired married secondary no 19 no yes cellular 19 aug 271 3 -1 0 unknown no
61 blue-collar married primary no 7879 no no telephone 28 jul 186 9 -1 0 unknown no
44 blue-collar married secondary no 1025 yes no unknown 18 jun 200 1 -1 0 unknown no
35 management single tertiary no 1531 yes no cellular 19 nov 127 1 -1 0 unknown no
36 management married secondary no 873 yes no unknown 21 may 210 1 -1 0 unknown no
44 blue-collar married primary no 314 yes no unknown 30 may 742 2 -1 0 unknown no
32 admin. single secondary no 2817 yes no cellular 21 nov 195 1 -1 0 unknown no
49 management divorced tertiary yes 0 yes no unknown 12 may 345 2 -1 0 unknown no
36 technician single secondary no 1521 yes no unknown 16 jun 243 2 -1 0 unknown no
50 unemployed single secondary no 2668 no no telephone 17 nov 1606 1 -1 0 unknown no
35 management married secondary no 674 no no cellular 8 aug 87 2 -1 0 unknown no
50 entrepreneur married tertiary no 2410 no no cellular 21 nov 65 1 -1 0 unknown no
26 self-employed single tertiary no -101 no yes cellular 29 jan 172 1 -1 0 unknown no
29 management married tertiary no 5698 no no cellular 15 apr 437 1 264 1 failure no
51 services married primary no 0 no no cellular 8 aug 121 2 -1 0 unknown no
75 retired married primary no 3324 no no cellular 2 feb 149 1 -1 0 unknown no
40 admin. divorced secondary no 220 yes no cellular 18 may 197 2 -1 0 unknown no
34 admin. single secondary no 0 yes no cellular 17 nov 214 1 174 2 failure no
37 unemployed married secondary no 80 no no cellular 3 feb 248 2 -1 0 unknown no
30 management single tertiary no 1435 yes no cellular 17 nov 104 3 -1 0 unknown no
37 admin. single secondary no 9 yes no cellular 14 may 165 1 -1 0 unknown no
50 blue-collar married primary no 490 yes no unknown 28 may 151 3 -1 0 unknown no
49 housemaid married primary no 360 no no unknown 30 jun 6 1 -1 0 unknown no
31 management married secondary no -453 yes yes cellular 17 jul 157 1 -1 0 unknown no
50 management married secondary no -44 yes no unknown 27 may 45 1 -1 0 unknown no
38 blue-collar married primary no 362 yes no unknown 8 may 100 5 -1 0 unknown no
39 services single secondary no 158 yes no unknown 6 jun 354 2 -1 0 unknown no
35 management single tertiary no 134 no no cellular 4 feb 219 1 -1 0 unknown no
48 services divorced secondary no 0 yes yes unknown 15 may 263 1 -1 0 unknown no
25 blue-collar single secondary no 224 no yes telephone 8 jul 17 4 -1 0 unknown no
30 management married tertiary no 6432 yes no cellular 21 nov 206 2 119 3 other no
21 management single secondary no 691 no no cellular 13 aug 219 1 101 2 other no
33 blue-collar single secondary no 33 yes no unknown 9 may 557 1 -1 0 unknown no
34 blue-collar married primary no -78 yes no unknown 9 may 198 1 -1 0 unknown no
41 unknown married unknown no 779 no no cellular 30 jul 647 10 -1 0 unknown no
46 admin. married secondary no 979 yes no cellular 20 aug 80 5 -1 0 unknown no
33 management single tertiary no 239 no no unknown 12 may 65 5 -1 0 unknown no
39 technician married secondary no 287 yes no unknown 23 may 63 1 -1 0 unknown no
32 services single secondary no 80 yes no telephone 19 nov 475 2 -1 0 unknown no
48 technician married secondary no 1981 yes no cellular 16 jun 404 3 92 5 failure no
52 management married primary no 226 yes no unknown 9 may 86 4 -1 0 unknown no
43 services married primary no 29 no no telephone 7 jul 259 8 -1 0 unknown no
34 technician married tertiary no 932 yes no cellular 4 jun 218 1 -1 0 unknown no
43 management married tertiary no 1825 yes no unknown 20 may 742 2 -1 0 unknown no
69 retired divorced secondary no 4189 no no cellular 18 oct 138 4 96 2 success no
48 entrepreneur divorced tertiary no 3520 yes no cellular 20 nov 73 4 -1 0 unknown no
46 management married secondary no 1363 yes yes cellular 7 may 60 4 -1 0 unknown no
37 management married primary no 22856 no no cellular 2 jul 154 1 388 1 failure no
53 management divorced tertiary no 2152 no no cellular 13 feb 75 3 -1 0 unknown yes
33 student single secondary no 1883 yes no cellular 3 feb 121 5 256 1 failure no
35 blue-collar married secondary no -281 yes no unknown 16 jun 15 15 -1 0 unknown no
34 blue-collar single primary no -343 yes yes cellular 19 nov 207 1 -1 0 unknown no
34 services single tertiary no 88 no no cellular 26 feb 180 1 -1 0 unknown no
39 technician divorced tertiary no 1832 no no unknown 16 jun 353 2 -1 0 unknown no
56 blue-collar divorced primary no 190 yes no cellular 12 may 15 8 351 9 other no
79 retired married secondary no 4738 no no telephone 9 jul 151 5 -1 0 unknown no
41 admin. divorced secondary no 1088 yes no cellular 28 jan 138 1 -1 0 unknown no
51 blue-collar married secondary no 160 yes no cellular 7 may 136 1 359 1 failure no
29 management single secondary no 966 no no cellular 9 jul 1185 1 396 2 other no
33 technician married secondary no 6947 yes no cellular 20 apr 250 2 -1 0 unknown no
34 management married tertiary no 3064 yes no cellular 17 jul 324 1 -1 0 unknown no
38 admin. married tertiary no 69 no no cellular 17 apr 140 2 -1 0 unknown no
32 management married secondary no 14611 yes no cellular 17 jul 67 1 -1 0 unknown no
33 management divorced tertiary no 1 yes no cellular 5 feb 26 8 267 1 other no
36 blue-collar married secondary no 1392 no yes cellular 17 nov 231 1 -1 0 unknown no
53 entrepreneur married unknown no 19850 no no cellular 18 nov 52 1 165 1 failure no
57 retired married secondary no 8 no no cellular 11 jul 93 2 -1 0 unknown no
43 technician divorced secondary no 87 yes no cellular 28 jan 130 1 247 2 failure no
59 management divorced secondary no 0 no no cellular 22 aug 125 2 -1 0 unknown no
33 services married secondary no 204 yes yes cellular 12 may 142 2 357 3 failure no
32 unemployed single unknown no 4 no no cellular 9 feb 35 2 -1 0 unknown no
46 technician married tertiary no 529 yes yes cellular 29 jul 208 2 -1 0 unknown no
26 technician single tertiary no 2781 yes no cellular 30 apr 132 1 -1 0 unknown no
54 management divorced secondary no 155 yes no unknown 14 may 75 1 -1 0 unknown no
40 technician married secondary no 192 no no cellular 7 aug 266 2 -1 0 unknown no
40 technician single tertiary no 47 no no cellular 20 aug 110 4 -1 0 unknown no
34 management single tertiary no 1058 yes no unknown 28 may 864 2 -1 0 unknown yes
51 entrepreneur married secondary no 653 yes no cellular 20 nov 16 9 112 37 other no
59 management married tertiary no 3969 no no cellular 18 nov 464 3 -1 0 unknown no
34 unemployed single secondary no 1965 no no telephone 4 may 714 1 -1 0 unknown yes
68 retired married primary no 0 no no telephone 15 jan 814 1 -1 0 unknown no
43 blue-collar married secondary no 171 yes no cellular 13 may 96 1 364 1 failure no
31 blue-collar single secondary no 1139 yes no cellular 22 jul 101 1 -1 0 unknown no
57 blue-collar married primary no 179 no no unknown 9 jun 230 3 -1 0 unknown no
28 self-employed single tertiary no 226 no yes cellular 8 jul 191 1 -1 0 unknown no
42 unemployed married tertiary no 0 no no cellular 8 oct 113 1 -1 0 unknown no
57 services married primary no 53 no no cellular 6 aug 86 2 -1 0 unknown no
26 admin. married secondary no 2469 no no cellular 16 jul 136 8 -1 0 unknown no
35 services married unknown no 618 no no cellular 30 apr 951 1 -1 0 unknown yes
34 blue-collar married secondary no 1464 yes no cellular 28 aug 207 3 130 5 other yes
31 admin. married secondary no 84 yes no cellular 22 jul 580 3 -1 0 unknown no
30 management single tertiary no 849 yes no unknown 28 may 261 6 -1 0 unknown no
42 admin. single secondary no 664 yes no cellular 13 may 113 1 -1 0 unknown no
43 blue-collar married primary no 2598 no no cellular 5 may 272 2 -1 0 unknown no
38 admin. married secondary no 1280 yes no cellular 6 apr 916 1 -1 0 unknown no
41 management married tertiary no 676 no no unknown 17 jun 78 1 -1 0 unknown no
35 services married secondary no 0 yes no cellular 6 may 343 3 351 1 failure no
40 blue-collar married secondary no -839 yes yes cellular 16 jul 1018 2 -1 0 unknown yes
53 technician married secondary no 6831 no no cellular 13 may 1130 2 -1 0 unknown yes
52 blue-collar married primary no 1007 yes no unknown 16 may 248 2 -1 0 unknown no
46 services single secondary no 389 no no telephone 31 jul 46 4 -1 0 unknown no
35 management married tertiary no 260 no no cellular 7 aug 358 2 -1 0 unknown no
30 technician married secondary no 817 yes no cellular 22 aug 180 4 -1 0 unknown no
29 technician married tertiary no 534 no no cellular 30 apr 452 2 -1 0 unknown no
26 management single tertiary no 2725 no no cellular 28 jan 267 1 -1 0 unknown no
32 management married tertiary no 2516 no no cellular 17 nov 595 1 -1 0 unknown no
34 blue-collar married secondary no 1575 yes no unknown 27 may 148 3 -1 0 unknown no
77 retired married unknown no 38 no no telephone 3 feb 261 1 -1 0 unknown no
48 admin. married secondary no 292 yes yes cellular 29 jul 164 6 -1 0 unknown no
52 management married tertiary no 291 no no cellular 21 aug 150 3 -1 0 unknown no
56 management married secondary no 819 no no unknown 9 jun 55 1 -1 0 unknown no
48 services married secondary no 22 no no cellular 2 feb 429 2 -1 0 unknown no
50 blue-collar married primary no 383 no no telephone 2 oct 382 2 -1 0 unknown no
47 management single tertiary no 0 yes no cellular 19 nov 50 2 -1 0 unknown no
33 management married secondary no 369 no no cellular 25 may 115 2 103 1 success no
35 management married tertiary no -4 no no cellular 8 aug 129 2 -1 0 unknown no
39 blue-collar married secondary no 11854 yes no cellular 15 may 15 9 -1 0 unknown no
36 admin. single tertiary no 2622 no no cellular 19 nov 640 1 127 5 failure no
50 blue-collar married primary no 111 yes no telephone 15 may 8 6 366 1 other no
41 self-employed married primary no 204 no no cellular 13 aug 111 7 -1 0 unknown no
35 management married tertiary no 4038 yes yes unknown 27 may 160 6 -1 0 unknown no
26 technician single secondary no 2087 no no unknown 8 may 151 1 -1 0 unknown no
44 technician married unknown no 185 yes yes unknown 8 may 63 1 -1 0 unknown no
30 management single tertiary no 414 no no cellular 18 nov 635 5 -1 0 unknown no
33 admin. married secondary no 2 yes yes cellular 28 jul 85 12 -1 0 unknown no
48 blue-collar married primary no 583 no no cellular 18 aug 260 8 -1 0 unknown no
36 blue-collar divorced primary no 3202 yes no cellular 20 nov 690 3 183 2 failure no
38 blue-collar married secondary no 961 yes no unknown 16 may 346 1 -1 0 unknown no
29 management married tertiary no 1022 yes no cellular 24 jul 408 1 -1 0 unknown no
59 retired married unknown no 575 no no cellular 22 aug 146 3 -1 0 unknown no
30 management single tertiary no 136 yes no unknown 23 may 152 1 -1 0 unknown no
36 entrepreneur married primary no 6317 no no unknown 12 jun 478 2 -1 0 unknown no
46 blue-collar married secondary no 1109 yes no cellular 19 aug 221 12 -1 0 unknown no
35 admin. divorced secondary no 1085 no no cellular 4 feb 195 6 97 12 other yes
43 entrepreneur married tertiary no 396 no no unknown 11 jun 105 3 -1 0 unknown no
35 unemployed married secondary no 978 no no cellular 29 dec 1370 3 209 3 success yes
37 technician married secondary no 157 yes no unknown 7 may 238 2 -1 0 unknown no
47 housemaid married secondary no 1152 no no telephone 7 jul 260 13 -1 0 unknown no
50 management married tertiary no 4374 yes no cellular 21 nov 163 2 113 3 failure no
59 retired married primary no 2074 no no cellular 21 dec 467 1 186 2 success yes
31 admin. single secondary no 19 yes no cellular 18 nov 1978 1 -1 0 unknown yes
63 retired married primary no 12067 no no telephone 20 oct 2187 1 -1 0 unknown no
48 blue-collar married primary no 1001 yes no unknown 15 may 422 2 -1 0 unknown no
39 management married primary no 197 yes no cellular 15 may 193 1 -1 0 unknown no
29 technician single secondary no 1165 no no cellular 2 jun 245 1 -1 0 unknown yes
51 services married secondary no -467 no no unknown 9 jun 216 5 -1 0 unknown no
34 blue-collar married secondary no 751 yes yes cellular 17 nov 1303 1 -1 0 unknown yes
37 admin. single secondary no 310 no yes cellular 6 feb 179 1 -1 0 unknown no
32 services married secondary no 442 yes no unknown 8 may 207 1 -1 0 unknown no
41 blue-collar married secondary yes -204 yes no unknown 15 may 50 7 -1 0 unknown no
37 blue-collar married primary no 33 no yes cellular 8 jul 483 2 -1 0 unknown no
29 blue-collar married primary no 715 yes no unknown 27 may 170 1 -1 0 unknown no
51 services divorced secondary no -69 yes no unknown 7 may 216 3 -1 0 unknown no
31 admin. single secondary no 476 no no cellular 9 feb 284 2 -1 0 unknown no
60 management married tertiary no 651 no no unknown 20 jun 155 2 -1 0 unknown no
29 technician single secondary no 213 yes no cellular 15 may 174 1 361 1 failure no
76 retired divorced primary no 802 no no cellular 9 sep 475 5 -1 0 unknown yes
54 services married secondary no -22 no yes cellular 9 jul 85 1 -1 0 unknown no
52 management married unknown no 1708 no no unknown 6 sep 310 1 75 4 failure yes
36 services single primary no 58 yes no unknown 6 may 134 1 -1 0 unknown no
30 management single tertiary no 1456 yes no cellular 20 nov 227 1 -1 0 unknown no
30 blue-collar married primary no -5 yes no cellular 18 may 518 2 -1 0 unknown no
45 blue-collar married primary no 900 yes no unknown 9 jun 213 1 -1 0 unknown no
55 self-employed divorced secondary no 0 no no cellular 29 jul 94 2 -1 0 unknown no
31 management divorced tertiary no 294 yes no cellular 17 jul 536 5 -1 0 unknown yes
31 management single tertiary no 2983 yes no cellular 2 jul 153 1 -1 0 unknown no
42 technician married secondary no 769 no no unknown 5 jun 90 1 -1 0 unknown no
56 services divorced secondary no 140 no no cellular 10 jul 173 1 -1 0 unknown no
32 technician single secondary no 540 no yes cellular 29 jan 750 1 -1 0 unknown yes
35 entrepreneur married tertiary no 753 no no cellular 7 aug 187 4 -1 0 unknown no
39 management single tertiary no 220 yes no unknown 8 may 87 2 -1 0 unknown no
30 self-employed divorced secondary no 92 yes no unknown 17 jun 78 10 -1 0 unknown no
34 management single tertiary no -281 no no cellular 29 aug 56 6 -1 0 unknown no
29 technician single secondary no 534 yes no cellular 18 may 382 1 -1 0 unknown no
53 management married tertiary no 761 no yes cellular 28 aug 85 6 -1 0 unknown no
29 blue-collar married primary no 10045 yes no cellular 16 apr 617 1 322 4 failure no
54 blue-collar divorced primary no 2227 yes no unknown 2 jun 45 3 -1 0 unknown no
45 admin. married secondary no -31 yes no unknown 14 may 295 2 -1 0 unknown no
38 technician single secondary no 4366 yes no cellular 29 jul 188 2 -1 0 unknown no
52 housemaid married primary no 3798 yes no cellular 17 jul 1208 1 -1 0 unknown yes
29 management single tertiary no 2531 no no cellular 19 aug 634 1 -1 0 unknown yes
38 management married tertiary no 179 no no unknown 8 aug 317 4 -1 0 unknown yes
36 management married tertiary no 2687 no no cellular 16 apr 58 3 -1 0 unknown no
44 admin. divorced secondary no -43 yes yes cellular 20 apr 206 1 -1 0 unknown no
59 blue-collar married primary no 638 no no cellular 6 aug 170 2 -1 0 unknown no
27 blue-collar single primary no -79 yes no unknown 30 may 385 5 -1 0 unknown no
43 blue-collar married secondary no 536 no no telephone 28 jul 185 12 -1 0 unknown no
46 admin. single secondary no 533 no no cellular 22 may 71 1 -1 0 unknown no
53 blue-collar married primary no -1455 yes no unknown 23 may 169 2 -1 0 unknown no
31 services single secondary no 0 yes no cellular 24 jul 362 1 -1 0 unknown no
35 services single secondary no 918 yes no unknown 29 may 178 1 -1 0 unknown no
26 unemployed single secondary no 1 no no telephone 31 jul 14 20 -1 0 unknown no
34 blue-collar married secondary no 5304 yes no unknown 21 may 51 2 -1 0 unknown no
51 blue-collar married primary no 0 yes yes cellular 25 jul 946 3 -1 0 unknown yes
39 admin. divorced secondary no 284 yes yes cellular 16 apr 772 1 -1 0 unknown no
34 management single tertiary no 673 yes yes unknown 20 may 120 1 -1 0 unknown no
32 management single tertiary no 1834 yes no unknown 2 jun 159 1 -1 0 unknown no
37 entrepreneur single secondary no -22 yes no cellular 15 may 317 1 -1 0 unknown yes
34 management single tertiary yes 621 no no cellular 28 aug 205 3 -1 0 unknown no
33 management single secondary no -424 yes no unknown 26 may 863 1 -1 0 unknown no
26 unemployed single tertiary no 2170 no no cellular 3 feb 317 1 -1 0 unknown no
36 services married secondary no 1253 yes no cellular 11 may 135 2 -1 0 unknown no
35 services single primary no 790 no no cellular 8 jul 221 1 -1 0 unknown no
61 retired married primary no 296 yes yes unknown 3 jun 323 2 -1 0 unknown no
22 student single secondary no 249 no no unknown 5 sep 11 1 -1 0 unknown no
45 technician married secondary no 3241 no no cellular 12 aug 84 2 -1 0 unknown no
35 blue-collar single secondary no 12223 yes yes unknown 5 may 177 1 -1 0 unknown no
45 technician married secondary no 1003 yes no unknown 4 jun 71 1 -1 0 unknown no
46 blue-collar married primary no -1 no no unknown 18 jun 35 3 -1 0 unknown no
62 management married tertiary no 0 no no cellular 13 apr 113 3 182 3 failure no
30 blue-collar married primary no 1 yes yes telephone 22 jul 80 2 -1 0 unknown no
63 retired single tertiary no 791 no no cellular 21 oct 212 2 -1 0 unknown yes
34 management married tertiary no 272 yes no cellular 21 jul 237 2 -1 0 unknown no
48 management single tertiary no -295 no yes cellular 28 jan 121 1 190 2 failure no
21 technician single secondary no 64 yes no cellular 7 may 16 1 -1 0 unknown no
53 entrepreneur married tertiary no 1046 yes yes cellular 30 jul 50 20 -1 0 unknown no
31 admin. single primary no -263 yes no unknown 3 jun 208 1 -1 0 unknown no
46 blue-collar married secondary no 229 yes no cellular 17 apr 191 1 -1 0 unknown no
55 management divorced tertiary no 277 no no cellular 12 aug 101 3 -1 0 unknown no
45 blue-collar married unknown no 248 yes no unknown 6 may 88 5 -1 0 unknown no
36 management married tertiary no 152 yes no cellular 6 may 467 2 -1 0 unknown no
43 technician single unknown no 11115 no no cellular 23 oct 476 1 74 2 success yes
42 housemaid married secondary no 327 no no cellular 14 aug 110 1 -1 0 unknown no
36 blue-collar married secondary no 420 yes no cellular 22 jul 58 1 -1 0 unknown no
48 technician single secondary no 434 no no cellular 13 aug 183 1 -1 0 unknown no
36 services married secondary no 4721 no no cellular 9 dec 149 3 -1 0 unknown yes
34 services single tertiary no 239 no no cellular 28 jan 699 2 -1 0 unknown no
34 management married tertiary no 1054 no no cellular 11 aug 101 3 -1 0 unknown no
55 blue-collar married primary no 82 yes no unknown 8 may 292 2 -1 0 unknown no
51 unemployed married secondary no 2254 no no cellular 12 aug 83 3 -1 0 unknown no
29 blue-collar married secondary no -478 no yes cellular 8 jul 528 2 -1 0 unknown no
37 blue-collar married primary no -137 yes no cellular 15 may 800 5 -1 0 unknown no
24 blue-collar single primary no 145 yes no cellular 15 may 520 1 345 1 failure no
25 technician single tertiary no 800 yes no unknown 13 may 151 4 -1 0 unknown no
48 admin. married secondary no 359 yes no unknown 7 may 374 1 -1 0 unknown no
25 admin. single secondary no 19 no no cellular 10 jul 133 1 -1 0 unknown no
28 technician single secondary no 1363 no no cellular 9 jun 431 3 102 1 success no
38 management married tertiary no 184 no no cellular 6 aug 224 2 -1 0 unknown no
30 management single tertiary no 317 no no cellular 12 aug 134 8 -1 0 unknown no
39 management married tertiary no 12 yes no unknown 23 may 130 1 -1 0 unknown no
37 technician married secondary no 101 no no cellular 17 jul 130 1 -1 0 unknown no
34 management single tertiary no 2015 no no unknown 21 may 388 1 -1 0 unknown no
45 unemployed married secondary no 736 no no unknown 20 jun 13 2 -1 0 unknown no
64 retired divorced secondary no 630 no no cellular 21 aug 97 1 -1 0 unknown no
31 unemployed divorced secondary no 1144 yes no cellular 8 may 65 2 367 1 failure no
49 technician divorced secondary no 95 yes no cellular 8 may 90 1 -1 0 unknown no
31 admin. single secondary no 0 no no telephone 29 jan 528 3 -1 0 unknown no
33 management married tertiary no 22867 yes no cellular 10 feb 165 1 92 5 success no
37 blue-collar married primary no 190 yes no cellular 14 may 17 6 -1 0 unknown no
55 retired married secondary no 4194 no yes telephone 30 jul 208 3 -1 0 unknown no
43 blue-collar married primary no 4581 yes no cellular 20 nov 329 2 -1 0 unknown no
58 retired single primary no 6570 no no cellular 21 jul 106 3 -1 0 unknown no
46 unemployed married primary no 1 yes no cellular 31 jul 43 2 -1 0 unknown no
39 blue-collar married secondary no 1367 no no unknown 12 jun 43 1 -1 0 unknown no
26 blue-collar single secondary no 428 no yes cellular 7 jul 575 1 -1 0 unknown no
55 admin. single secondary no 802 yes yes unknown 5 may 100 2 -1 0 unknown no
29 admin. single tertiary no 507 yes no unknown 20 jun 20 33 -1 0 unknown no
52 technician married secondary no 83 no no telephone 22 jul 135 3 -1 0 unknown no
41 management single secondary no 1286 yes no telephone 17 nov 661 4 -1 0 unknown no
35 blue-collar married secondary no 2074 no no cellular 6 feb 183 4 -1 0 unknown no
38 services single primary no 556 yes no unknown 12 jun 113 1 -1 0 unknown no
43 management married secondary no 2411 yes no cellular 11 aug 124 7 -1 0 unknown no
43 housemaid married primary no 0 no yes cellular 17 nov 836 1 129 2 failure no
36 management single tertiary no 1339 yes no cellular 11 jul 136 1 -1 0 unknown no
32 technician single secondary no 90 no no cellular 22 aug 278 2 -1 0 unknown no
60 management divorced primary no 21 no yes telephone 14 jul 113 3 -1 0 unknown no
42 blue-collar married secondary no 0 yes no cellular 21 nov 328 6 -1 0 unknown no
42 blue-collar married unknown no 132 yes no unknown 6 may 238 1 -1 0 unknown no
56 services married secondary no 1150 no yes cellular 17 nov 107 1 117 3 failure no
32 admin. single secondary no 2326 yes no unknown 20 jun 62 3 -1 0 unknown no
43 entrepreneur married primary no 526 yes no unknown 7 may 79 4 -1 0 unknown no
26 services married secondary no 25 no no cellular 9 jul 94 1 -1 0 unknown no
34 management single secondary no 516 yes no cellular 28 jul 292 2 -1 0 unknown no
59 management married secondary no 0 no yes cellular 10 jul 60 1 -1 0 unknown no
60 blue-collar divorced secondary no 1310 no no unknown 7 may 152 2 -1 0 unknown no
25 admin. single secondary no 1871 no no cellular 4 jun 136 1 -1 0 unknown yes
43 blue-collar married primary no 7727 yes no unknown 15 may 302 8 -1 0 unknown no
36 admin. married secondary no 1867 yes yes unknown 27 may 243 2 -1 0 unknown no
51 retired married secondary no 3003 yes no cellular 7 jul 149 3 -1 0 unknown no
59 housemaid married secondary no 345 no no unknown 9 jun 38 1 -1 0 unknown no
54 retired divorced primary no 477 yes no unknown 19 may 335 4 -1 0 unknown no
40 blue-collar married primary no 278 yes no unknown 23 may 1015 3 -1 0 unknown yes
70 retired divorced primary no 4531 no no cellular 18 may 445 1 -1 0 unknown no
56 entrepreneur divorced secondary no 179 no no cellular 14 aug 47 2 -1 0 unknown no
43 management single tertiary no 0 no no cellular 11 aug 155 2 -1 0 unknown no
30 admin. single tertiary no 261 no no cellular 19 oct 233 1 137 20 failure no
43 blue-collar married primary yes -635 yes no unknown 20 may 37 9 -1 0 unknown no
44 management married secondary no -1746 yes no unknown 20 jun 218 1 -1 0 unknown no
32 housemaid married primary no 163 no no cellular 13 aug 132 2 -1 0 unknown no
32 blue-collar married primary no -94 yes yes cellular 11 may 308 1 -1 0 unknown no
32 admin. single secondary no 197 no no cellular 28 jan 205 3 -1 0 unknown no
62 technician married secondary no 973 no no cellular 2 feb 326 1 -1 0 unknown yes
33 blue-collar divorced primary no -53 yes no unknown 26 may 369 1 -1 0 unknown no
32 blue-collar married secondary no 1005 no no cellular 12 may 215 1 -1 0 unknown no
35 technician single secondary no 3490 yes no cellular 29 aug 643 2 -1 0 unknown yes
38 admin. single secondary no -327 no no cellular 22 jul 345 5 -1 0 unknown no
44 blue-collar married secondary no 594 no no unknown 11 jun 340 1 -1 0 unknown no
40 blue-collar single primary no 45 yes yes cellular 14 jul 106 4 -1 0 unknown no
39 management single tertiary no 572 yes no cellular 31 jul 153 20 -1 0 unknown no
43 services divorced secondary no 266 yes yes cellular 20 apr 79 1 152 1 failure no
29 blue-collar married secondary no 721 yes no cellular 23 jul 644 1 -1 0 unknown no
32 management single tertiary no 1373 yes no unknown 21 may 474 2 -1 0 unknown no
34 admin. married secondary no 3185 yes no unknown 13 may 520 1 -1 0 unknown no
36 blue-collar divorced secondary no 2843 no no cellular 14 aug 186 1 -1 0 unknown yes
34 technician single secondary no 347 yes no cellular 24 jul 947 6 -1 0 unknown no
37 technician divorced secondary no 5733 yes no cellular 7 aug 105 4 -1 0 unknown no
37 services married secondary no 4954 yes no cellular 14 may 290 4 356 3 other no
25 technician married secondary no -559 yes no cellular 14 jul 189 3 -1 0 unknown no
58 blue-collar married primary no 5445 yes no cellular 14 apr 391 1 -1 0 unknown no
37 services married secondary no 0 yes no cellular 22 jul 272 1 -1 0 unknown no
47 admin. single tertiary no 1192 yes no unknown 15 may 217 2 -1 0 unknown no
35 admin. married secondary no 786 no yes cellular 25 jul 322 1 -1 0 unknown no
49 blue-collar single secondary no 725 yes no cellular 13 may 29 6 348 4 other no
34 services single tertiary no 3119 no no cellular 16 oct 306 1 -1 0 unknown yes
34 services married secondary no 0 yes no cellular 21 nov 248 1 -1 0 unknown no
19 student single secondary no 424 no no cellular 30 jun 121 3 195 2 other no
64 retired married secondary no 466 yes no cellular 18 oct 526 1 -1 0 unknown yes
35 technician married secondary no 327 yes no cellular 13 apr 537 3 -1 0 unknown no
45 entrepreneur married tertiary no 2185 yes no cellular 19 nov 167 4 -1 0 unknown no
46 management married unknown no 3082 no no telephone 4 may 157 3 -1 0 unknown no
58 technician married secondary no 1463 yes no cellular 12 aug 110 3 -1 0 unknown no
22 student single secondary no 144 no no cellular 21 aug 116 1 -1 0 unknown yes
42 housemaid married primary no 83 no yes cellular 7 aug 184 1 -1 0 unknown no
43 housemaid single primary no 103 no no unknown 17 jun 198 1 -1 0 unknown no
31 technician single unknown no 187 no no cellular 17 jul 86 1 -1 0 unknown no
48 admin. divorced secondary no 162 yes no cellular 12 may 83 1 368 4 failure no
50 technician married secondary no 1824 yes no telephone 13 aug 767 8 -1 0 unknown no
35 unknown married tertiary no 1260 no no cellular 11 aug 204 9 -1 0 unknown no
49 management married tertiary no 629 no no cellular 19 aug 431 4 -1 0 unknown no
31 management single tertiary no 3283 no no cellular 21 nov 377 1 -1 0 unknown no
54 entrepreneur single tertiary no 5417 yes no cellular 3 apr 376 1 -1 0 unknown no
33 management single tertiary no 112 no no cellular 22 aug 112 4 -1 0 unknown no
44 entrepreneur divorced secondary no 1 no no cellular 31 jul 388 4 -1 0 unknown no
33 admin. married secondary no 353 yes no cellular 19 nov 107 2 -1 0 unknown no
36 technician single secondary no 210 no no cellular 2 feb 65 1 -1 0 unknown no
45 technician married secondary no 34 no no telephone 27 aug 96 7 -1 0 unknown no
56 blue-collar married secondary no 3460 yes no cellular 3 jul 897 3 -1 0 unknown no
28 admin. married secondary no 172 yes no cellular 19 oct 123 2 -1 0 unknown no
32 technician married secondary no -300 no no cellular 28 aug 226 9 -1 0 unknown no
55 management married tertiary no 1267 yes no unknown 30 may 82 2 -1 0 unknown no
60 management married tertiary no 340 no yes cellular 10 jul 361 2 -1 0 unknown no
27 housemaid married secondary yes 65 yes yes cellular 17 jul 59 1 -1 0 unknown no
42 admin. married secondary no 645 yes yes cellular 11 jul 42 2 -1 0 unknown no
36 blue-collar married primary no 0 no no telephone 9 jul 39 1 -1 0 unknown no
52 unemployed divorced tertiary no 0 no no unknown 19 jun 297 1 -1 0 unknown no
40 blue-collar married primary no 669 yes no unknown 26 may 161 3 -1 0 unknown no
47 blue-collar married primary no 430 no no unknown 8 may 89 8 -1 0 unknown no
61 retired married primary no 1742 no no cellular 11 sep 90 4 -1 0 unknown no
29 blue-collar married secondary no 247 no yes cellular 7 jul 199 1 -1 0 unknown no
29 admin. single secondary no 1992 no no cellular 12 apr 119 2 -1 0 unknown no
48 management married secondary no 268 yes no cellular 28 jul 458 7 -1 0 unknown yes
29 student single unknown no 2929 no no cellular 5 may 232 1 89 4 other yes
43 management divorced tertiary no 2367 no no cellular 22 sep 83 1 113 3 success yes
28 blue-collar single secondary no 524 yes no cellular 6 may 554 2 -1 0 unknown yes
57 technician married unknown no 2610 no no telephone 3 feb 258 2 -1 0 unknown no
44 technician single tertiary no 678 no no cellular 3 feb 111 1 124 2 other no
31 management married tertiary no 2994 yes no cellular 10 nov 182 1 229 2 failure no
42 management married secondary no 4314 no no cellular 7 jul 214 1 -1 0 unknown no
40 services married secondary no -345 yes no cellular 24 jul 39 2 -1 0 unknown no
24 services married tertiary no 0 yes no unknown 27 may 299 1 -1 0 unknown no
46 management married tertiary no 189 yes no cellular 17 nov 111 1 -1 0 unknown no
38 technician married secondary no 226 yes no unknown 30 may 762 3 -1 0 unknown yes
33 management married primary no 262 yes no cellular 14 may 386 3 -1 0 unknown no
54 management married tertiary no 0 yes no cellular 24 jul 140 2 -1 0 unknown no
37 blue-collar married secondary no 1407 yes no cellular 21 nov 14 7 -1 0 unknown no
34 technician single tertiary yes -6 no no cellular 28 aug 79 8 -1 0 unknown no
47 blue-collar married secondary no 2173 yes no cellular 30 apr 189 3 344 5 failure no
38 management single tertiary no 6490 no no telephone 10 nov 125 1 -1 0 unknown no
37 admin. married secondary no 1415 yes no cellular 12 may 214 2 -1 0 unknown no
30 technician single secondary no 3 no no cellular 22 aug 198 2 -1 0 unknown no
44 admin. married tertiary no 348 yes yes cellular 16 feb 170 2 -1 0 unknown yes
53 retired divorced secondary no -24 no no unknown 11 jun 303 1 -1 0 unknown no
37 technician married secondary no 427 yes yes unknown 27 may 335 3 -1 0 unknown no
46 blue-collar married secondary no 211 yes no cellular 14 jul 36 2 -1 0 unknown no
31 blue-collar married secondary no 864 yes yes cellular 13 may 127 1 -1 0 unknown no
41 admin. married secondary no 125 no no cellular 7 jul 244 4 -1 0 unknown no
31 entrepreneur married secondary no 10 yes yes cellular 29 jan 161 3 188 9 failure no
32 management single tertiary no 643 no no cellular 22 oct 287 1 -1 0 unknown no
36 admin. single secondary no 506 yes no cellular 8 may 208 4 -1 0 unknown no
38 technician married secondary no 1448 yes no cellular 20 nov 415 1 -1 0 unknown no
59 blue-collar married secondary no 32 yes no cellular 18 may 201 5 -1 0 unknown no
45 management single secondary no 142 no yes cellular 6 aug 99 4 -1 0 unknown no
31 blue-collar married secondary no 664 yes yes unknown 21 may 987 3 -1 0 unknown no
51 management married tertiary no 9864 no no cellular 26 aug 69 4 -1 0 unknown no
30 technician married secondary no 13 yes yes cellular 24 jul 205 1 -1 0 unknown no
36 blue-collar married primary no 856 yes no cellular 31 jul 39 10 -1 0 unknown no
28 management married tertiary no 9664 yes no cellular 24 jul 497 2 -1 0 unknown no
38 management married secondary no 242 no no cellular 17 nov 88 2 -1 0 unknown no
52 management married primary no 0 no no unknown 5 jun 85 3 -1 0 unknown no
36 blue-collar married secondary no 418 yes yes cellular 13 may 132 2 -1 0 unknown no
25 admin. single secondary no 289 yes no cellular 21 jul 127 3 -1 0 unknown no
49 admin. married secondary no 0 yes yes cellular 29 jul 71 7 -1 0 unknown no
38 admin. single secondary no 2329 yes no cellular 29 jan 261 1 -1 0 unknown no
53 housemaid divorced primary no 2253 yes no cellular 24 jul 135 1 -1 0 unknown no
47 technician married secondary no -3 no yes unknown 9 jul 197 1 -1 0 unknown no
37 blue-collar married primary no 253 yes no unknown 19 jun 145 2 -1 0 unknown no
32 services single secondary no 6857 no no cellular 6 aug 85 1 185 1 failure no
32 admin. married secondary no 51 yes yes cellular 14 jan 203 1 87 2 other yes
19 student single unknown no 108 no no cellular 10 aug 168 1 182 2 success yes
38 blue-collar married secondary no 4586 yes no unknown 8 may 784 1 -1 0 unknown no
42 technician divorced secondary no -593 no no cellular 28 jan 69 1 -1 0 unknown no
40 management divorced tertiary no 390 no no cellular 29 jul 80 3 -1 0 unknown no
52 services married secondary no 393 yes yes cellular 28 jan 446 1 182 8 failure no
31 management married tertiary no 357 yes no cellular 28 aug 104 5 -1 0 unknown no
87 retired married primary no 2190 no no telephone 12 jan 512 2 -1 0 unknown yes
45 technician married secondary no 5749 no no telephone 25 may 180 1 -1 0 unknown no
35 management single tertiary no 992 no yes cellular 1 sep 238 1 -1 0 unknown yes
27 blue-collar single primary no 377 no no cellular 19 feb 645 2 -1 0 unknown yes
49 admin. married tertiary no 8413 no no cellular 19 aug 131 6 -1 0 unknown no
59 self-employed married tertiary no 185 no no cellular 22 jun 177 5 138 1 failure no
41 blue-collar single secondary no -329 no yes cellular 8 jul 426 3 -1 0 unknown no
47 admin. married secondary no 5401 no no cellular 19 aug 824 2 -1 0 unknown no
28 admin. single secondary no 2831 yes no unknown 9 may 211 3 -1 0 unknown no
31 admin. married secondary no 0 yes no cellular 24 jul 137 1 -1 0 unknown no
35 management married tertiary no 171 no no cellular 29 aug 204 2 -1 0 unknown no
30 technician married tertiary no 2283 no no cellular 7 aug 74 2 -1 0 unknown no
40 services divorced secondary no 1927 yes no unknown 15 may 62 1 -1 0 unknown no
42 blue-collar single primary no 92 no no cellular 30 jul 86 2 -1 0 unknown no
48 management divorced tertiary no 108 yes no unknown 27 may 89 2 -1 0 unknown no
31 admin. single secondary no 1 no no cellular 9 jul 236 1 -1 0 unknown no
39 blue-collar married secondary no 576 yes no cellular 8 may 212 1 -1 0 unknown no
34 entrepreneur single tertiary yes 1709 no yes cellular 18 nov 288 1 -1 0 unknown no
31 admin. married secondary no 799 yes no cellular 7 may 556 3 -1 0 unknown no
33 admin. single secondary no 3160 no no unknown 18 jun 719 13 -1 0 unknown no
45 blue-collar married primary no 333 yes no unknown 13 may 160 3 -1 0 unknown no
27 management single tertiary no 8 no no telephone 8 jan 176 2 -1 0 unknown no
32 technician single tertiary no 1212 yes no unknown 23 may 463 2 -1 0 unknown no
40 blue-collar married primary no 2129 yes no cellular 20 apr 1156 3 -1 0 unknown no
35 admin. married secondary no -85 no no cellular 2 mar 136 6 -1 0 unknown no
38 management single unknown no 715 yes no cellular 2 apr 951 1 132 3 failure no
43 blue-collar married secondary no 1109 yes no unknown 14 may 160 2 -1 0 unknown no
34 management married secondary no -294 yes no unknown 27 may 532 2 -1 0 unknown no
44 services single secondary no 106 no no unknown 12 jun 109 2 -1 0 unknown no
52 housemaid married primary no 0 no yes cellular 9 jul 266 1 -1 0 unknown no
28 services single secondary no -116 no yes cellular 4 jul 276 1 -1 0 unknown no
41 technician single secondary no 32 yes no cellular 7 may 162 1 -1 0 unknown no
35 blue-collar married secondary no -557 yes yes unknown 21 may 249 1 -1 0 unknown no
53 housemaid married primary no 362 no no cellular 28 jul 1169 2 -1 0 unknown yes
53 entrepreneur married unknown no 19850 no no unknown 6 jun 86 1 -1 0 unknown no
63 retired married secondary no 708 no no cellular 17 nov 168 2 -1 0 unknown no
30 admin. married secondary no -366 yes yes unknown 3 jun 102 1 -1 0 unknown no
31 management single tertiary no 7554 no no telephone 29 aug 51 1 -1 0 unknown no
36 admin. single secondary no 507 yes no cellular 18 may 264 1 300 2 success no
48 services single unknown no 5095 yes no unknown 16 jun 71 1 -1 0 unknown no
27 technician married secondary no 7 yes no unknown 15 may 98 2 -1 0 unknown no
45 management divorced tertiary no -255 yes yes unknown 28 may 128 2 -1 0 unknown no
37 technician single tertiary no 5122 yes no unknown 20 may 396 1 -1 0 unknown no
41 admin. divorced tertiary no -298 yes no cellular 5 may 397 1 -1 0 unknown no
31 management married tertiary no 131 no no cellular 18 feb 332 2 -1 0 unknown yes
31 blue-collar single secondary yes -535 yes no cellular 25 jul 163 1 -1 0 unknown no
53 technician married tertiary no 395 no no cellular 29 oct 136 1 148 1 failure yes
55 retired married secondary no 103 yes yes cellular 17 nov 57 1 -1 0 unknown no
36 technician married tertiary no 0 no no cellular 22 aug 147 2 -1 0 unknown no
58 entrepreneur married primary no 124 yes no cellular 7 jul 293 7 -1 0 unknown no
55 blue-collar married primary no 332 yes no unknown 8 may 318 2 -1 0 unknown no
55 technician married tertiary no 1320 no no cellular 28 apr 387 2 -1 0 unknown yes
48 blue-collar married primary no 147 no no cellular 19 aug 158 8 -1 0 unknown no
40 unemployed married primary no 557 yes no unknown 28 may 173 1 -1 0 unknown no
30 blue-collar married secondary no 2583 yes no cellular 14 may 436 3 -1 0 unknown no
32 management divorced tertiary no 883 yes no cellular 10 dec 798 1 185 5 other yes
34 admin. single secondary no 852 no no cellular 14 apr 108 2 -1 0 unknown no
35 blue-collar single secondary no 5 no no unknown 19 may 268 3 -1 0 unknown no
64 retired married tertiary no 846 no no cellular 11 feb 671 1 181 3 failure yes
34 admin. single secondary no 718 yes no cellular 29 jan 169 1 -1 0 unknown no
38 housemaid divorced secondary no 216 no no cellular 7 jul 97 3 -1 0 unknown no
31 technician single secondary no 1 no no cellular 22 aug 107 2 -1 0 unknown no
43 housemaid married primary no 94 no no cellular 23 jul 35 9 -1 0 unknown no
45 management married tertiary no -687 yes yes unknown 18 jun 92 2 -1 0 unknown no
40 management single unknown no 838 yes no unknown 12 may 619 3 -1 0 unknown no
39 technician married secondary no -241 yes yes cellular 7 jul 337 4 -1 0 unknown no
27 services single secondary no 955 no no cellular 23 apr 206 1 -1 0 unknown yes
33 self-employed single secondary no 238 yes yes cellular 5 feb 45 5 -1 0 unknown no
35 technician single secondary no 391 no no cellular 21 nov 152 1 -1 0 unknown no
43 blue-collar married unknown no -19 no yes unknown 20 jun 241 2 -1 0 unknown no
26 blue-collar married secondary no 1128 yes yes unknown 27 jun 111 3 -1 0 unknown no
38 blue-collar married primary no 346 no no cellular 6 feb 15 3 9 3 other no
28 management single unknown no 560 no no cellular 2 jun 135 1 -1 0 unknown no
34 admin. single tertiary no 4254 yes no cellular 21 nov 714 1 -1 0 unknown yes
57 retired married primary no 808 no no telephone 7 jul 274 1 -1 0 unknown no
42 management married tertiary no -1485 yes no unknown 29 may 221 2 -1 0 unknown no
28 services married secondary no 38 yes no cellular 18 may 16 5 355 3 other no
52 management married tertiary no 1564 yes no cellular 17 jul 493 1 -1 0 unknown no
45 blue-collar married primary no 377 no no cellular 28 aug 26 23 -1 0 unknown no
54 blue-collar married unknown no -361 yes no unknown 26 may 227 1 -1 0 unknown no
54 self-employed divorced tertiary no 3952 no no unknown 6 jun 28 6 -1 0 unknown no
30 management single tertiary no 54 yes yes cellular 19 nov 192 1 177 3 failure no
36 services married secondary no 0 no no cellular 30 jul 843 2 -1 0 unknown yes
41 management married secondary no 0 no no cellular 31 jul 83 2 -1 0 unknown no
40 admin. married secondary no 260 yes no cellular 13 may 306 1 181 5 success yes
34 blue-collar single secondary no 2764 yes no cellular 13 may 158 1 357 1 failure no
58 entrepreneur married secondary no 2429 no yes unknown 20 may 446 7 -1 0 unknown no
93 retired married unknown no 775 no no cellular 22 jul 860 2 177 7 success yes
58 blue-collar married secondary no 8195 yes no cellular 16 apr 104 1 332 2 failure no
43 blue-collar married primary no 2605 yes no unknown 15 may 347 4 -1 0 unknown no
45 technician married tertiary no 970 no no cellular 7 aug 216 4 -1 0 unknown no
37 blue-collar married secondary no 771 yes no cellular 11 may 262 2 367 4 failure no
42 services married primary no 2567 yes no unknown 19 may 401 2 -1 0 unknown no
26 blue-collar married secondary no 1702 yes yes cellular 18 may 21 1 -1 0 unknown no
45 technician married secondary no 89 yes no cellular 30 apr 73 2 350 2 failure no
38 blue-collar single secondary no 530 no no unknown 20 jun 17 6 -1 0 unknown no
30 technician single secondary no 10152 yes no cellular 6 apr 1108 2 270 1 failure no
31 management divorced tertiary no 373 no no cellular 10 feb 132 6 -1 0 unknown yes
44 blue-collar married secondary no 54 yes no unknown 5 may 197 1 -1 0 unknown no
31 services single secondary no 1027 no no cellular 2 jul 217 3 -1 0 unknown yes
48 management married tertiary no 1741 yes yes telephone 18 nov 40 1 -1 0 unknown no
31 technician married tertiary no 0 yes yes unknown 13 may 164 2 -1 0 unknown no
35 management married tertiary no 8 no no cellular 23 apr 93 3 -1 0 unknown yes
47 blue-collar married primary no 521 yes no unknown 13 may 262 1 -1 0 unknown no
31 blue-collar married primary no 2198 no no unknown 2 jun 532 2 -1 0 unknown no
33 blue-collar married primary no 329 yes no unknown 9 may 44 1 -1 0 unknown no
56 services married secondary no 4763 yes no telephone 28 jul 106 6 -1 0 unknown no
36 services married secondary no 393 yes yes unknown 21 may 126 1 -1 0 unknown no
33 student single unknown no 2321 no no cellular 15 apr 699 2 381 2 failure no
34 admin. divorced secondary no 0 yes no cellular 6 may 153 1 -1 0 unknown no
61 housemaid single unknown no 893 no no telephone 2 feb 324 1 -1 0 unknown no
52 management divorced tertiary no 1988 yes no cellular 6 may 88 1 299 1 failure no
46 admin. married secondary no 1252 yes yes cellular 17 nov 59 1 -1 0 unknown no
41 admin. married secondary no 683 no yes cellular 20 nov 77 1 -1 0 unknown no
50 admin. married secondary no -79 no yes cellular 6 aug 138 7 -1 0 unknown no
38 technician married secondary no 634 no no unknown 19 jun 211 2 -1 0 unknown no
26 technician single tertiary no 3628 no no cellular 5 may 151 1 -1 0 unknown no
46 technician married unknown no 557 yes no cellular 28 jan 148 1 197 4 failure no
54 retired married secondary no 785 yes no unknown 9 may 86 2 -1 0 unknown no
20 student single primary no 6991 no no cellular 12 aug 178 2 -1 0 unknown yes
33 technician divorced tertiary no 839 yes no unknown 28 may 469 3 -1 0 unknown no
30 management single tertiary no 220 yes no cellular 4 may 233 2 -1 0 unknown no
40 admin. married secondary no 3126 yes no cellular 30 mar 186 2 90 5 failure no
42 services single secondary no 241 yes no cellular 5 may 704 2 -1 0 unknown no
47 management divorced tertiary no 697 yes no cellular 30 jan 139 1 -1 0 unknown no
32 student single tertiary no 214 no no cellular 4 may 117 1 -1 0 unknown no
34 management married tertiary no 11 yes no cellular 17 jul 654 1 -1 0 unknown no
47 admin. single secondary no 3696 no no cellular 12 jan 758 4 -1 0 unknown yes
39 management married secondary no 2981 no no cellular 26 mar 200 1 -1 0 unknown yes
40 self-employed married secondary no 0 no no unknown 19 jun 61 1 -1 0 unknown no
36 technician married secondary no 318 no no cellular 30 jul 295 2 -1 0 unknown no
31 blue-collar single primary no 342 yes no cellular 18 may 284 2 -1 0 unknown no
27 technician single secondary no 2293 yes no cellular 18 may 317 3 364 1 other no
33 self-employed married tertiary no 1301 yes no unknown 21 may 184 2 -1 0 unknown no
32 blue-collar single primary no 7 yes no cellular 13 may 109 1 -1 0 unknown no
30 management single tertiary no 78 yes no unknown 15 may 73 2 -1 0 unknown no
43 technician single secondary no 0 yes no unknown 14 may 37 3 -1 0 unknown no
27 management single tertiary no 1277 no no cellular 30 jan 267 4 -1 0 unknown no
26 technician single secondary no 152 no yes cellular 29 jan 90 1 -1 0 unknown no
33 management single tertiary no 0 no no cellular 28 aug 59 10 -1 0 unknown no
29 technician married tertiary no 1489 yes no unknown 28 may 430 1 -1 0 unknown no
39 services divorced secondary no 2 yes yes unknown 11 jun 62 1 -1 0 unknown no
60 management married tertiary no 3401 no no cellular 30 oct 294 1 270 1 failure yes
57 management divorced tertiary no 408 yes no cellular 13 may 402 2 351 1 failure no
42 blue-collar single primary no 1401 yes no unknown 19 jun 69 1 -1 0 unknown no
25 student single tertiary no 58 no no cellular 24 jul 139 5 -1 0 unknown yes
60 management married tertiary no 328 yes no unknown 20 may 72 5 -1 0 unknown no
45 admin. married secondary no 1387 yes no cellular 10 jul 446 1 -1 0 unknown no
44 technician married primary no 2887 yes no unknown 13 may 182 1 -1 0 unknown no
29 blue-collar married secondary no 185 yes yes unknown 5 jun 471 3 -1 0 unknown no
32 management single tertiary no 933 yes no cellular 12 may 147 4 307 1 failure no
50 retired married secondary no 6998 yes no unknown 29 may 1196 1 -1 0 unknown no
38 management single tertiary no 2117 no no cellular 14 aug 81 2 -1 0 unknown no
48 services married secondary no 127 no no cellular 8 jul 117 1 -1 0 unknown no
30 blue-collar married secondary no 1445 yes no unknown 20 may 140 1 -1 0 unknown no
42 management married tertiary no 36 no no cellular 14 aug 366 2 -1 0 unknown no
42 technician married secondary no 122 yes no cellular 6 may 74 2 -1 0 unknown no
36 technician single secondary no 317 yes no cellular 30 jan 198 2 266 2 failure no
35 blue-collar married secondary no 1312 yes no cellular 18 may 224 1 -1 0 unknown no
29 services single secondary no 271 yes no unknown 20 may 1882 2 -1 0 unknown yes
51 technician married secondary no 349 yes no unknown 16 may 97 3 -1 0 unknown no
37 blue-collar married primary no 5 yes no unknown 23 may 266 2 -1 0 unknown no
28 technician single tertiary no 0 yes no cellular 15 apr 217 2 -1 0 unknown no
36 technician married secondary no 1975 no no cellular 18 jul 835 1 -1 0 unknown no
60 retired married secondary no 2674 no no cellular 14 jul 96 2 -1 0 unknown no
32 management married tertiary no 2431 no no cellular 28 aug 19 19 -1 0 unknown no
35 technician single secondary no 144 no no cellular 22 jul 163 2 -1 0 unknown no
23 admin. single secondary no 366 no no unknown 20 aug 22 1 -1 0 unknown no
42 technician married secondary no 300 yes no cellular 19 nov 76 1 -1 0 unknown no
72 retired married primary no 0 no no cellular 29 dec 215 2 -1 0 unknown no
59 admin. married unknown no 0 no no unknown 11 jun 242 2 -1 0 unknown no
28 blue-collar married secondary no 1827 yes no unknown 19 may 211 2 -1 0 unknown no
34 technician married secondary no 945 yes yes cellular 24 jul 181 1 -1 0 unknown no
30 admin. single secondary no 939 yes no cellular 17 apr 207 1 -1 0 unknown no
32 management married tertiary no 905 no no cellular 12 feb 666 4 -1 0 unknown yes
57 management divorced tertiary no 442 no no cellular 5 feb 41 1 253 3 failure no
58 retired divorced unknown no 5920 yes no cellular 21 nov 96 1 121 1 failure no
32 services divorced secondary no 5267 yes no cellular 21 nov 183 1 168 2 failure no
42 blue-collar married unknown no 665 yes no cellular 16 apr 291 1 332 3 failure no
45 admin. married tertiary no 2552 no no cellular 12 aug 149 7 -1 0 unknown no
29 blue-collar single secondary no -16 yes yes cellular 5 may 201 1 -1 0 unknown no
50 blue-collar married secondary no 6258 yes no unknown 15 may 139 7 -1 0 unknown no
39 blue-collar married secondary no 130 yes no unknown 13 may 141 6 -1 0 unknown no
28 blue-collar single primary no 2340 yes no unknown 19 jun 399 1 -1 0 unknown no
25 management single tertiary no 362 no no cellular 3 jun 617 2 -1 0 unknown yes
45 unemployed single secondary no 0 yes no cellular 17 nov 113 2 -1 0 unknown no
43 technician married primary no 117 yes no unknown 7 may 84 2 -1 0 unknown no
42 technician divorced secondary no -263 yes no cellular 22 jul 307 1 -1 0 unknown no
36 housemaid married primary no 4324 yes no cellular 18 nov 139 4 127 4 failure no
34 technician married secondary no 7487 no no cellular 7 aug 534 2 -1 0 unknown no
30 services single secondary yes -366 yes no cellular 18 jul 516 1 -1 0 unknown yes
48 management divorced tertiary no 1328 yes no unknown 6 may 339 1 -1 0 unknown no
52 management married secondary no 0 no no cellular 30 jul 249 3 -1 0 unknown no
33 self-employed married tertiary no 1099 no no cellular 5 feb 111 5 -1 0 unknown no
41 unknown single unknown no 1259 no no unknown 11 jun 177 8 -1 0 unknown no
32 management single tertiary no 2223 no no unknown 9 dec 10 1 -1 0 unknown no
57 management married tertiary no 5 yes no cellular 8 jul 96 1 -1 0 unknown no
55 retired married secondary no 18722 yes no unknown 12 may 128 2 -1 0 unknown no
53 management married tertiary no 210 no no cellular 19 aug 96 2 -1 0 unknown no
40 unemployed single tertiary no 72 no no cellular 30 apr 463 1 -1 0 unknown yes
45 admin. married secondary no 251 yes no cellular 19 aug 102 2 -1 0 unknown no
32 self-employed single secondary no 202 yes no cellular 16 apr 827 1 149 1 failure no
29 housemaid married tertiary no 420 yes no unknown 28 may 95 3 -1 0 unknown no
51 management married tertiary no 2635 no no cellular 8 mar 209 2 188 3 success no
23 blue-collar single secondary no 0 yes no cellular 8 may 6 5 350 2 failure no
35 self-employed married secondary no 347 no no unknown 20 jun 231 1 -1 0 unknown no
32 blue-collar divorced unknown no 291 yes yes unknown 27 jun 120 6 -1 0 unknown no
31 technician single secondary no 2305 no no cellular 4 aug 139 1 -1 0 unknown no
42 admin. married secondary no 1279 yes no cellular 17 jul 50 1 -1 0 unknown no
56 management single secondary no 237 yes no telephone 17 nov 117 3 131 4 failure no
29 blue-collar married secondary no 577 yes no telephone 17 apr 501 3 331 10 other no
28 admin. divorced secondary no -504 yes yes cellular 14 may 578 1 -1 0 unknown yes
51 management married tertiary no -714 no no cellular 18 jul 83 2 -1 0 unknown no
29 management married tertiary no 1441 yes no cellular 4 feb 80 2 -1 0 unknown yes
48 blue-collar married primary no 1876 yes no unknown 20 jun 11 3 -1 0 unknown no
32 blue-collar married primary no -283 yes no cellular 18 may 24 2 349 2 other no
47 technician married unknown no 2106 yes no unknown 6 may 168 1 -1 0 unknown no
35 technician single primary no 744 yes no cellular 7 apr 1096 1 -1 0 unknown no
39 admin. divorced secondary no -607 yes no unknown 20 may 374 2 -1 0 unknown no
32 management married tertiary no 4 no no cellular 22 aug 195 4 -1 0 unknown no
58 housemaid married tertiary no 2858 no no cellular 31 jul 56 6 -1 0 unknown no
45 management divorced tertiary no 220 yes no unknown 18 jun 89 4 -1 0 unknown no
45 unknown married primary no 586 yes no telephone 21 jul 90 3 -1 0 unknown no
48 technician married secondary no 178 yes no unknown 17 jun 320 4 -1 0 unknown no
30 blue-collar married secondary no 173 yes no unknown 13 may 217 1 -1 0 unknown no

__MACOSX/HW07 Support Files/._bank-sample.csv

HW07 Support Files/section_7_1.R

####################################################### # section 7.1 Decision Trees ####################################################### install.packages("rpart.plot") # install package rpart.plot ########################################## # section 7.1.1 Overview of a Decision Tree ########################################## library("rpart") library("rpart.plot") # Read the data setwd("c:/data/") banktrain <- read.table("bank-sample.csv",header=TRUE,sep=",") ## drop a few columns to simplify the tree drops<-c("age", "balance", "day", "campaign", "pdays", "previous", "month") banktrain <- banktrain [,!(names(banktrain) %in% drops)] summary(banktrain) # Make a simple decision tree by only keeping the categorical variables fit <- rpart(subscribed ~ job + marital + education + default + housing + loan + contact + poutcome, method="class", data=banktrain, control=rpart.control(minsplit=1), parms=list(split='information')) summary(fit) # Plot the tree rpart.plot(fit, type=4, extra=2, clip.right.labs=FALSE, varlen=0, faclen=3) ########################################## # section 7.1.2 The General Algorithm ########################################## # Entropy of coin flips x <- sort(runif(1000)) y <- data.frame(x=x, y=-x*log2(x)-(1-x)*log2(1-x)) plot(y, type="l", xlab="P(X=1)", ylab=expression("H"["X"])) grid() # include a numeric variable "duration" into the model fit <- rpart(subscribed ~ job + marital + education + default + housing + loan + contact + duration + poutcome, method="class", data=banktrain, control=rpart.control(minsplit=1), parms=list(split='information')) summary(fit) # Plot the tree rpart.plot(fit, type=4, extra=2, clip.right.labs=FALSE, varlen=0, faclen=3) # Predict newdata <- data.frame(job="retired", marital="married", education="secondary", default="no", housing="yes", loan="no", contact = "cellular", duration = 598, poutcome="unknown") newdata predict(fit,newdata=newdata,type=c("class")) ########################################## # section 7.1.5 Decision Trees in R ########################################## library("rpart") # load libraries library("rpart.plot") # Read the data play_decision <- read.table("DTdata.csv", header=TRUE, sep=",") play_decision summary(play_decision) # build the decision tree fit <- rpart(Play ~ Outlook + Temperature + Humidity + Wind, method="class", data=play_decision, control=rpart.control(minsplit=1), parms=list(split='information')) summary(fit) ?rpart.plot rpart.plot(fit, type=4, extra=1) rpart.plot(fit, type=4, extra=1) rpart.plot(fit, type=4, extra=2, clip.right.labs=FALSE, varlen=0, faclen=0) newdata <- data.frame(Outlook="rainy", Temperature="mild", Humidity="high", Wind=FALSE) newdata predict(fit,newdata=newdata,type="prob") predict(fit,newdata=newdata,type="class")

__MACOSX/HW07 Support Files/._section_7_1.R