Question
I am working on a decision tree using R and Rattle. The data set had 17 fields including the binary variable (yes or no) on
I am working on a decision tree using R and Rattle.The data set had 17 fields including the binary variable (yes or no) on whether the customer subscribed to a term deposit. The variables in the data set that were relevant to the research question were age, type of job, marital status, education, credit in default, average yearly balance, whether the customer had a personal loan, contact method (unknown, telephone, cellular), duration of last contact (seconds), number of contacts performed during this campaign, number of days that passed after the client was last contacted, previous number of contacts, outcome of previous marketing campaign, and whether the client had a term deposit. The data set contained 45,211 entries for customer information and had no missing values in the data set.When I use Rattle to construct the tree, I only get the previous marketing outcome and duration of call. None of the other variables show up in my tree. How can I get other variables in the tree using Rattle?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started