Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Data on nutritional values were collected for a sample of food items of a fast-food chain. According to their type, the food items are allocated

image text in transcribed

image text in transcribedimage text in transcribed

Data on nutritional values were collected for a sample of food items of a fast-food chain. According to their type, the food items are allocated into six categories: Bev - Beverages and fizzy drinks, Break - Food items served at breakfast, Coffee - Coffee-based drinks, Meat - Meat-based items (not served breakfast), Shakes - Shakes and smoothies, Sides - Fries and sides. A classification tree was fitted to the data with the purpose of classifying the food items using the information on their nutritional values. Below a visual representation and the associated output (note that the node numbering of the tree does not match the node numbering in the output). Sugars 18.5 =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) Sugars=235 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=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) Sugars=235 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Acct 2302 Managerial Accounting

Authors: Fred Phillips Stacey Whitecotton, Robert Libby

1st Edition

1259135624, 978-1259135620

More Books

Students also viewed these Accounting questions