In this example, a model will learn to classify fruits given certain features, using the Labels for training.
| Weight | Color | Label |
|---|---|---|
| 0.5 | green | apple |
| 0.6 | purple | plum |
| 3 | green | watermelon |
| 0.1 | red | cherry |
| 0.5 | red | apple |
Here the a model will take Weight and Color as features to predict the Label. For instance [0.15, 'red'] should result in a 'cherry' prediction.