Question: Load the rpart library into your R environment ( rpart contains the tree function necessary for fitting CART models ) . Partition the data set
Load the rpart library into your R environment rpart contains the tree function necessary for fitting CART models Partition the data set into training and testing sets. Build a single classification tree with the training data and HighVol as the target. Hint: Be sure to exclude the Sales variable from the model since it was used to create our outcome variable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
