Question: 16. Split the data in Review Problem 15 into training and testing sets, using a 80:20 ratio. That is, use observations 1202 as training data

16. Split the data in Review Problem 15 into training and testing sets, using a 80:20 ratio.

That is, use observations 1–202 as training data to build a classification tree using all the variables except “Percent of body fat index” to predict the “Index,” and use observations 203–252 as testing data to validate your classification tree. Report the overall classification error.

Step by Step Solution

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 Probability Statistics Questions!