Labels are variables that being predicted
Mathematically it is represented by the variable
E.g. An email can be sorted at spam or not spam
Features are variables that describe the data
Mathematically it is represented by the variable
E.g. A feature could be the to and from address or words inside the body
Examples are a particular instance of data,
There are two types of examples:
- labeled examples
- unlabeled examples
Labeled examples are used to train the model
It has a feature and a label
Unlabeled examples are used to make predictions on new data
It has features but there isn't a label attached to it
Models maps examples to predict labels
They are defined by internal parameters, which are learned