Supervised Learning
Supervised Learning is a paradigm in Machine Learning, where we train the computer to predict an output based on the input data. The dataset contains both features and targets, provided by a human.
Notation
| Notation | Description |
|---|---|
| Dataset. Contains all the features and targets for our predictions | |
| Total number of samples in the dataset | |
| Feature. Input value(s) from the dataset. Also called: explicative variables, or class in classification | |
| Matrix of many features, i.e | |
| Target. Output values from the dataset. Also called: ground truth, response variables, or label | |
| Prediction. Output calculated/suggested by the model |
Example
| Surface ( | Number of rooms | Price / month | |
|---|---|---|---|
| 1 | 80 | 2 | 1500 |
| 2 | 90 | 2 | 1600 |
| 3 | 100 | 3 | 1750 |
| 4 | 110 | 3 | 1900 |
Dataset
- Feature
→ Surface - Feature
→ Nbr. of rooms - Target
→ Price / month
Architectures
Decision Tree
Decision tree is a supervised learning approach, which can be used in classification or regression tasks.