Question: In assignment 2 , we predict Purchase with all the other variables as predictors using the data OJ . csv . One tree model TreeOJ
In assignment we predict Purchase with all the other variables as predictors using the data OJcsv One tree model TreeOJ and one Random forest model RFOJ have been developed respectively to fit this data set and their prediction performance have been evaluated. The following paragraph shows partial outputs from the two models: Answer the following two questions based on the above paragraph of outputs. Please enter your answers in the box after each question. Based on the tenfold crossvalidation error rate, what is the optimal size of TreeOJ? What is the overall prediction accuracy of RFOJ? Show your answer as a number to three decimal places, eg Rounding if necessary.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
