3.1. Exercises

Classification vs. Regression

Classification vs. Regression Target

           name     calories     sugar   water-content  weight  shape
0         apple       100         3.0          84         100   round
1        banana       120         4.0          75         120   long
2    cantaloupe       130         5.0          90        1360   round
3  dragon-fruit        70         1.5          96         600   round
4    elderberry       110         2.5          80           5   round 
5           fig        40         2.0          78          40   oval  
6         guava        90         3.0          83         450   oval
7   huckleberry        85         4.0          73           5   round
8          kiwi        60         4.5          80          76   round
9         lemon        50         1.0          83          65   oval