Machine learning
Algorithms that learn patterns from data rather than following hand-written rules.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Supervised learning fits labelled examples (regression, classification); unsupervised learning finds structure (clustering, PCA); reinforcement learning learns from rewards. Samuel coined the term (1959). Key issues are overfitting, bias–variance trade-off and validation on held-out data.
Example
Code
from sklearn.linear_model import LogisticRegression model = LogisticRegression().fit(X_train, y_train) print(model.score(X_test, y_test))
How it works, step by step
- Collect and clean data
- Split into training and test sets
- Choose a model and loss function
- Optimise parameters (gradient descent)
- Evaluate on unseen data
Open the interactive page with diagrams →
People behind it
- Arthur Samuel
- Vladimir Vapnik
- Leo Breiman
- Richard Sutton (b. 1957), Artificial intelligence, USA / Canada: Pioneer of reinforcement learning (temporal-difference learning). Turing Award 2024 with Andrew Barto.
References
- A. L. Samuel, IBM J. Res. Dev. 1959, 3, 210–229.
- C. Cortes, V. Vapnik, Mach. Learn. 1995, 20, 273–297.
- L. Breiman, Mach. Learn. 2001, 45, 5–32.
Textbooks
- Pattern Recognition and Machine Learning, Christopher M. Bishop (Springer, 2006). Bayesian machine learning classic.
- Artificial Intelligence: A Modern Approach, Stuart Russell, Peter Norvig (Pearson, 4th ed. 2020). The standard AI text.
- The Elements of Statistical Learning, Trevor Hastie, Robert Tibshirani, Jerome Friedman (Springer, 2nd ed. 2009; free PDF). Statistical learning reference.
Related topics
Neural networks and backpropagationReinforcement learningTransformers and large language modelsNatural language processingArtificial intelligence: search and the Turing testComputer vision and convolutional neural networksCompilersProgramming paradigmsPublic-key cryptography (Diffie–Hellman, RSA)Software engineering and version control