What is the difference between a feature and a label?

前端 未结 7 1664
天涯浪人
天涯浪人 2020-12-12 10:00

I\'m following a tutorial about machine learning basics and there is mentioned that something can be a feature or a label.

From what I know, a fea

7条回答
  •  庸人自扰
    2020-12-12 10:47

    Here comes a more visual approach to explain the concept. Imagine you want to classify the animal shown in a photo.

    The possible classes of animals are e.g. cats or birds. In that case the label would be the possible class associations e.g. cat or bird, that your machine learning algorithm will predict.

    The features are pattern, colors, forms that are part of your images e.g. furr, feathers, or more low-level interpretation, pixel values.

    Label: Bird
    Features: Feathers

    Label: Cat
    Features: Furr

提交回复
热议问题