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 (60%) and testing (40%) 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!