2.1 Why Machine Learning?
Traditional computers work on fixed rules.
Example (Old Style):
If temperature > 38°C â Fever
Problem:
Real life is complex
Too many rules
Solution:
đ Let the computer learn rules by itself using data.
2.2 What is Machine Learning?
Machine Learning is a subset of AI where machines learn from data instead of being programmed with rules.
Easy line:
âML teaches computers by examples, not instructions.â
2.3 Real-Life ML Examples
| System | Learns From |
|---|---|
| YouTube | Watch history |
| Netflix | Movies you like |
| Email Spam | Past spam emails |
| Bank | Fraud transactions |
2.4 Types of Machine Learning
Supervised Learning
Data has labels (answers already given)
Example:
Photos labeled as Cat or Dog
Unsupervised Learning
No labels
Machine finds patterns
Example:
Grouping customers by behavior
Reinforcement Learning
Learning by reward and punishment
Example:
Game-playing AI
Robot learning to walk