Machine Learning
An approach where the program does not receive predefined rules but instead finds patterns in the data. Instead of 'if A, then B', it's 'here are 10,000 examples, deduce the rule yourself'.
What Distinguishes It from Classical Programming
| Classical | Machine Learning | |
|---|---|---|
| Input | Rules + data | Data + answers |
| Output | Answers | Rules (model) |
| Example | if x > 5 |
'Learn from sales histories' |
Types of Learning
- Supervised — has pairs 'question → correct answer';
- Unsupervised — only data, the model finds structure itself;
- Reinforcement (RL) — the model learns through rewards and penalties.
Training LLM is a special case of 'unsupervised learning': the model predicts the next word, and the text itself serves as the correct answer.
Where It Is Applied
- image and speech recognition;
- recommendations;
- language models;
- forecasting.