Prepare the dataset
First, we need a dataset containing labelled images. We identify characteristics (features) of each image and represent them as numbers.
This process is called Feature Engineering when we manually define and prepare the features.
| Image | Ear shape | Eye size | Label |
|---|---|---|---|
| Image 1 | 3 | 4 | Cat |
| Image 2 | 2 | 3 | Cat |
| Image 3 | 5 | 2 | Dog |
| Image 4 | 4 | 1 | Dog |
| Image 5 | 3 | 3 | Cat |
Important terminology:
- Features: Numerical characteristics describing the image.
- Labels: The correct categories, such as Cat or Dog.
- Dataset: The collection of labelled examples.
The developer defines the features and measurement rules. There is no universal standard for manually chosen feature values.