What machine learning is, in short
Machine learning is a branch of artificial intelligence in which computers learn patterns from data instead of being given explicit rules. A model is trained on examples, measured on examples it hasn't seen, and then used to make predictions about new cases.
Arthur Samuel, who coined the term in 1959, described it as giving computers the ability to learn without being explicitly programmed. Most of what's called AI today is machine learning.
- Term coined
- 1959, Arthur Samuel (IBM)
- Needs
- Data, a model, and a way to measure error
- Main kinds
- Supervised, unsupervised, reinforcement
- Biggest trap
- Overfitting: memorising instead of learning
Train a pass/fail model by hand
Twenty students: hours studied, and whether they passed. Drag the line to set the rule “predict pass above this many hours.” Training means finding the line with the fewest mistakes.
More complex isn't always smarter
A model is judged on data it hasn't seen. Turn up the complexity: training error keeps falling, but test error falls then rises again as the model starts memorising noise.