1) Students can perform 2 algorithms - linear regression (single or Multiple), a Decision tree for the...
Fantastic news! We've Found the answer you've been seeking!
Question:
1) Students can perform 2 algorithms - linear regression (single or Multiple), a Decision tree for the following data in python (Jupyter notebook).
2) Explain the whole process by writing what you have done in the whole assessment.
3) Students are required to perform at least 4 'groupby' functions based on Polars library.
DATA SET
name | mfr | type | calories | protein | fat | sodium | fiber | carbo | sugars | potass | vitamins | shelf | weight | cups | rating |
100% Bran | N | C | 70 | 4 | 1 | 130 | 10 | 5 | 6 | 280 | 25 | 3 | 1 | 0.33 | 68.40297 |
100% Natural Bran | Q | C | 120 | 3 | 5 | 15 | 2 | 8 | 8 | 135 | 0 | 3 | 1 | 1 | 33.98368 |
All-Bran | K | C | 70 | 4 | 1 | 260 | 9 | 7 | 5 | 320 | 25 | 3 | 1 | 0.33 | 59.42551 |
All-Bran with Extra Fiber | K | C | 50 | 4 | 0 | 140 | 14 | 8 | 0 | 330 | 25 | 3 | 1 | 0.5 | 93.70491 |
Almond Delight | R | C | 110 | 2 | 2 | 200 | 1 | 14 | 8 | -1 | 25 | 3 | 1 | 0.75 | 34.38484 |
Apple Cinnamon Cheerios | G | C | 110 | 2 | 2 | 180 | 1.5 | 10.5 | 10 | 70 | 25 | 1 | 1 | 0.75 | 29.50954 |
Apple Jacks | K | C | 110 | 2 | 0 | 125 | 1 | 11 | 14 | 30 | 25 | 2 | 1 | 1 | 33.17409 |
Basic 4 | G | C | 130 | 3 | 2 | 210 | 2 | 18 | 8 | 100 | 25 | 3 | 1.33 | 0.75 | 37.03856 |
Bran Chex | R | C | 90 | 2 | 1 | 200 | 4 | 15 | 6 | 125 | 25 | 1 | 1 | 0.67 | 49.12025 |
Bran Flakes | P | C | 90 | 3 | 0 | 210 | 5 | 13 | 5 | 190 | 25 | 3 | 1 | 0.67 | 53.31381 |
Cap'n'Crunch | Q | C | 120 | 1 | 2 | 220 | 0 | 12 | 12 | 35 | 25 | 2 | 1 | 0.75 | 18.04285 |
Cheerios | G | C | 110 | 6 | 2 | 290 | 2 | 17 | 1 | 105 | 25 | 1 | 1 | 1.25 | 50.765 |
Cinnamon Toast Crunch | G | C | 120 | 1 | 3 | 210 | 0 | 13 | 9 | 45 | 25 | 2 | 1 | 0.75 | 19.82357 |
Clusters | G | C | 110 | 3 | 2 | 140 | 2 | 13 | 7 | 105 | 25 | 3 | 1 | 0.5 | 40.40021 |
Cocoa Puffs | G | C | 110 | 1 | 1 | 180 | 0 | 12 | 13 | 55 | 25 | 2 | 1 | 1 | 22.73645 |
Corn Chex | R | C | 110 | 2 | 0 | 280 | 0 | 22 | 3 | 25 | 25 | 1 | 1 | 1 | 41.44502 |
Corn Flakes | K | C | 100 | 2 | 0 | 290 | 1 | 21 | 2 | 35 | 25 | 1 | 1 | 1 | 45.86332 |
Corn Pops | K | C | 110 | 1 | 0 | 90 | 1 | 13 | 12 | 20 | 25 | 2 | 1 | 1 | 35.78279 |
Count Chocula | G | C | 110 | 1 | 1 | 180 | 0 | 12 | 13 | 65 | 25 | 2 | 1 | 1 | 22.39651 |
Cracklin' Oat Bran | K | C | 110 | 3 | 3 | 140 | 4 | 10 | 7 | 160 | 25 | 3 | 1 | 0.5 | 40.44877 |
Cream of Wheat (Quick) | N | H | 100 | 3 | 0 | 80 | 1 | 21 | 0 | -1 | 0 | 2 | 1 | 1 | 64.53382 |
Crispix | K | C | 110 | 2 | 0 | 220 | 1 | 21 | 3 | 30 | 25 | 3 | 1 | 1 | 46.89564 |
Crispy Wheat & Raisins | G | C | 100 | 2 | 1 | 140 | 2 | 11 | 10 | 120 | 25 | 3 | 1 | 0.75 | 36.1762 |
Double Chex | R | C | 100 | 2 | 0 | 190 | 1 | 18 | 5 | 80 | 25 | 3 | 1 | 0.75 | 44.33086 |
Froot Loops | K | C | 110 | 2 | 1 | 125 | 1 | 11 | 13 | 30 | 25 | 2 | 1 | 1 | 32.20758 |
Frosted Flakes | K | C | 110 | 1 | 0 | 200 | 1 | 14 | 11 | 25 | 25 | 1 | 1 | 0.75 | 31.43597 |
Frosted Mini-Wheats | K | C | 100 | 3 | 0 | 0 | 3 | 14 | 7 | 100 | 25 | 2 | 1 | 0.8 | 58.34514 |
Fruit & Fibre Dates; Walnuts; and Oats | P | C | 120 | 3 | 2 | 160 | 5 | 12 | 10 | 200 | 25 | 3 | 1.25 | 0.67 | 40.91705 |
Related Book For
Business Statistics In Practice Using Data Modeling And Analytics
ISBN: 9781259549465
8th Edition
Authors: Bruce L Bowerman, Richard T O'Connell, Emilly S. Murphree
Posted Date: