Loading subject…
Machine learning
A branch of artificial intelligence in which a program improves its performance on a task by processing data, rather than by following rules a programmer has written out in full.
| Approach | Training data | Feedback while learning | Typical output |
|---|---|---|---|
| Supervised learning | Labelled: every input paired with its correct output | The gap between its prediction and the known label | A category (classification) or a number (regression) |
| Unsupervised learning | Unlabelled: inputs only, with no correct answers | None, so the model is judged on the structure it finds | Groups of similar records, or rules linking attributes |
| Reinforcement learning | No fixed data set; the agent produces data by acting | A reward or penalty after each action | A policy: which action to take in each state |
| Deep learning | Large volumes of labelled or unlabelled data | Error passed back through the layers of the network | Whatever the task needs, often a category or a number |
| Transfer learning | A small data set for the new task, plus a large-data-set model that has already been trained | The gap between prediction and label on the new task | A category or a number for the new task |
Deep learning and transfer learning describe how a model is built and where its training starts from, so either can sit on top of any of the first three approaches.
Supervised learning
It trains a model on a labelled data set, in which every input is paired with the correct output.
Unsupervised learning
Deals with unlabeled data, aiming to find hidden patterns or structures.
Reinforcement learning
An agent takes actions in an environment and receives a reward or a penalty in return.
Deep learning
Machine learning that uses artificial neural networks with multiple layers between the input and the output.
Transfer learning
Takes a model already trained on a large, general data set and retrains part of it on a smaller data set for a related task.