Question: Using the information below, compute the classification error of the fitted tree for this dataset. ## n- 260 ## ## node), split, n, loss, yval,
Using the information below, compute the classification error of the fitted tree for this dataset.

## n- 260 ## ## node), split, n, loss, yval, (yprob) ## * denotes terminal node ## ## 1) root 260 165 Coffee (0.1 0.16 0.37 0.16 0.13 0.073) ## 2) Sugars>=18.5 128 51 Coffee (0.13 0.016 0.6 0 0.24 0.0078) ## 4) Protein=0.5 114 38 Coffee (0.035 0.018 0.67 0 0.27 0.0088) ## 10) Carbohydrates=77 24 6 Shakes (0 0 0.250 0.75 0) * ## 3) Sugars235 93 52 Meat (O 0.42 0.011 0.44 0.011 0.12) 14) Sugars=4.5 59 22 Meat (o 0.25 0.017 0.63 0.017 0.085) 30) Sugars>=14.5 12 2 Break (0 0.83 0.083 0.083 0 0)* ## 31) Sugars
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
