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
Get step-by-step solutions from verified subject matter experts
