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 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
Get step-by-step solutions from verified subject matter experts
