✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Use rpart to build a decision tree based on the dataframe created from the given dataset. Train the model on only the descriptive features, but excluding ID. Set the parameters as follows: complexity parameter should be 0.01, the minimum split size should be 2, the minimum leaf size should be 1, and the maximum tree depth should be 5. How many nodes does the resulting decision tree have?
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!