What is machine learning?
Machine learning is a branch of artificial intelligence in which computers learn patterns from data and improve at a task through experience, instead of being given step-by-step rules for every situation.
How it works
A machine learning model is trained on many examples. For instance, to recognize cats in photos, it is shown thousands of labeled pictures of cats and other things.
The model adjusts its internal settings to reduce mistakes. Once trained, it can make predictions about new data it has never seen.
Main types
In supervised learning, the model learns from labeled examples, such as emails marked spam or not spam.
In unsupervised learning, the model looks for patterns in unlabeled data, such as grouping customers with similar habits.
In reinforcement learning, a program learns by trial and error, receiving rewards for good actions. This has been used to master games such as Go.
Deep learning
Deep learning uses artificial neural networks with many layers. It powers speech recognition, image recognition, translation and large language models.
Everyday examples
Machine learning recommends videos and songs, filters spam, helps detect fraud, suggests words as you type and helps cars detect obstacles.
History
Arthur Samuel of IBM popularized the term machine learning in 1959, after building a program that learned to play checkers.
The quality of a model depends heavily on the quality of its training data.