Database Reference
In-Depth Information
subscribed
no :1789
yes: 211
Attribute job includes the following values.
admin. blue-collar entrepreneur housemaid
235 435 70 63
management retired self-employed services
423 92 69 168
student technician unemployed unknown
36 339 60 10
Figure 7.4 shows a decision tree built over the bank marketing dataset. The root of
the tree shows that the overall fraction of the clients who have not subscribed to
the term deposit is 1,789 out of the total population of 2,000.
Figure 7.4 Using a decision tree to predict if a client will subscribe to a term
deposit
At each split, the decision tree algorithm picks the most informative attribute
out of the remaining attributes. The extent to which an attribute is informative
is determined by measures such as entropy and information gain, as detailed in
Section 7.1.2.
At the first split, the decision tree algorithm chooses the poutcome attribute.
There are two nodes at depth=1. The left node is a leaf node representing a group
for which the outcome of the previous marketing campaign contact is a failure ,
Search WWH ::




Custom Search