Question: (a) Use the rpart and rpart . plot libraries to train a classification tree using the train set to predict whether a person has COVID-19.

 (a) Use the rpart and rpart . plot libraries to train

(a) Use the rpart and rpart . plot libraries to train a classification tree using the train set to predict whether a person has COVID-19. Provide the plot of the decision tree. (b) We recall one of the benefits of classification trees is that they are interpretable. Based on your plot, explain (in words) how the tree determines whether someone has COVID-19. What independent variables does the tree reveal are most important in accurately predicting whether someone has COVID-19

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 Mathematics Questions!