In this example, a model will learn to classify fruits given certain features, using the Labels for training.
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.
if you want to reproduce, please indicate the source:
machine-learning – Supervised Learning – Fruit Classification - CodeDay