Question: Create a regression tree using the accompanying data set (predictor variables: x 1 to x 4 ; target: y). Select the best-pruned tree for scoring

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. How many leaf nodes are in the best-pruned and minimum error trees? 

c. Display the best-pruned tree. 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 on the test data? 

e. According to the best-pruned tree, what is the predicted y for a new observation with the following values: x1 = 20; x2 = 40; x3 = 36; x4 = 8.3?

Step by Step Solution

3.33 Rating (150 Votes )

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 Business Statistics Communicating Questions!