Lecture 1 · Introduction to AI, ML, DL and AI Agents
of 2
One cycle, two kinds of machinery: a driver braking for a pedestrian, and a self-driving car doing the same.
1. What is intelligence?
Intelligence is the ability to acquire and apply knowledge: learn, understand, reason, solve problems, decide, adapt. Knowing a lot is not enough.
Human intelligence is a cycle (figure above), fed by memory and experience.
Calculator vs self-driving car: both compute, but the calculator runs fixed rules while the car perceives, decides and adapts in a changing world. A machine is intelligent when it uses data and experience to reach a goal in a changing environment.
2. What is AI?
AI is the field of computer science that builds machines able to do tasks that normally need human intelligence.
- It need not think like a human: chess AI wins by searching millions of moves.
- AI judges by the behavioural view (what it does), not the cognitive view (how it thinks).
- AI ≠ consciousness or emotions. It can perceive, learn, predict, plan, decide, act.
- Value: speed, scale, automation, prediction, personalisation, augmenting people.
3. Types of AI: two questions about one system
| Capability: what can it do? | Functionality: how does it operate? |
|---|---|
| now ANI narrow, one domain (radiology AI) | now Reactive: current input only |
| idea AGI human-level in every domain | now Limited memory: current + past data |
| idea ASI beyond human ability | research Theory of mind · idea Self-aware |
A self-driving car is ANI + limited memory. Narrow does not mean simple.
4. From rules to Machine Learning
Chess engines, GPS and weather apps run programmed algorithms. Rules break on fraud detection, recommendations and face recognition: too many cases to write.
Machine Learning is the subset of AI that learns patterns from data instead of being given every rule. We choose the algorithm; it learns the rules: data → patterns → model → prediction. Like a child: examples, patterns, feedback.
5. Types of learning and problems
| Learning | Data | Example |
|---|---|---|
| Supervised | labelled | needs support? yes/no |
| Unsupervised | no labels | group similar students |
| Reinforcement | reward ±1 | tutor learns what helps |
| Problem | Predicts | Models |
|---|---|---|
| Classification | category | tree, forest, SVM, logistic |
| Regression | number | linear, tree, SVR |
| Clustering | groups | K-means, DBSCAN |
Decide HOW (learning) and WHAT (problem) first.