Create a regression tree using the accompanying data set (predictor variables: x 1 to x 4 ;

Question:

Create a regression tree using the accompanying data set (predictor variables: x1 to x4; target: y). Select the best-pruned tree for scoring and display the full-grown, best-pruned, and minimum error trees. 

a. What is the minimum validation MSE in the prune log? How many decision nodes are associated with the minimum error? 

b. Display the best-pruned tree. How many leaf nodes are in the best-pruned and minimum error trees? 

c. What are the predictor variable and split value for the first split (root node) of the best-pruned tree? What are the rules that can be derived from the root node? 

d. What are the RMSE and MAD of the best-pruned tree?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Business Analytics Communicating With Numbers

ISBN: 9781260785005

1st Edition

Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen

Question Posted: