Definition
In supervised learning, the algorithm is trained on a labeled dataset, meaning each input example is paired with the correct output. The goal is for the model to learn the underlying relationship between inputs and outputs so it can accurately predict labels for unseen data. Common tasks include classification, where discrete categories are predicted, and regression, where continuous values are estimated.
Summary
A machine learning paradigm where a model learns to map inputs to outputs based on labeled training examples.
Key Concepts
- Labeled Data
- Input-Output Mapping
- Classification
- Regression
Use Cases
- Spam email detection
- House price prediction
- Image recognition
Code Example
| |