logo

Crowdly

Use rpart to build a decision tree based on the dataframe created from the given...

✅ 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?

More questions like this

Want instant access to all verified answers on stemlearn.sun.ac.za?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!