Supervised learning
What is supervised learning and how does it work? Find out more in this article.
Definition
Supervised learning is a form of machine learning in which a model is trained using a labeled data set. Labeled means that the desired output (label, e.g. "dog") is known for each input (e.g. an image). The model therefore receives continuous feedback during training as to what would be correct and adjusts its parameters accordingly. The aim is for the trained model to later provide the correct output for new, unknown inputs – it has generalized from the examples.
How it works
In supervised learning, the algorithm is presented with pairs of input and target output. Based on an error measure (e.g. difference between model output and target output), the model parameters are iteratively optimized (typically using gradient descent). This process is called training. There are two main task types in supervised learning:
During training, part of the data is often used as validation to check whether the model generalizes. After training, the performance is evaluated with test data that the model has never seen before.
Examples
Supervised learning is the most widely used ML method because many tasks can be naturally formulated as a labeling problem. Some everyday examples: