Revision guide · ~30 min · dense bullets, not full lessons
Plain-English bullets for chapters 1.1–1.3. Open full lessons when a bullet feels fuzzy.
1.1 AI & Deep Learning Essentials
Stack of ideas
AI (Artificial Intelligence) — building machines that act smart enough for a task (observe -> decide -> succeed).
ML (Machine Learning) — learn patterns from data instead of hand-coding every rule.
Deep learning — ML with multi-layer neural nets that learn hierarchical features from raw inputs.
GenAI (Generative AI) — models that create new content (text, images, code) by sampling from a learned distribution.
Classical vs learned
Rules, search, and expert systems scale poorly in noisy high-dimensional worlds (vision, speech, open language).
Supervised learning: labeled inputs plus answers. Unsupervised: find structure in unlabeled data. RL (Reinforcement Learning): learn from actions plus rewards.
Representation
One-hot — sparse, no similarity between words. Embeddings — dense vectors; nearby = similar meaning.
Word2Vec / GloVe intuition: "you shall know a word by the company it keeps."
Neuron to MLP
Linear: z = w*x + b. Nonlinearity (ReLU, sigmoid, tanh) makes depth useful.
MLP (Multilayer Perceptron) = stacked linear + activation. Universal approximator in theory; practice needs data, regularization, right capacity.
Backpropagation = chain rule through the graph. Gradient descent: update weights by subtracting learning_rate * gradient_of_loss.
Overfit vs underfit; bias-variance tradeoff. Fix overfit: more data, dropout, weight decay, early stop. Fix underfit: capacity / train longer / better features.
Quick self-check
Can you place ChatGPT inside AI > ML > DL > GenAI?
Why does ReLU help vanishing gradients vs deep sigmoids?
1.2 Deep Learning Essentials
Training loop
Batch -> forward -> loss -> backward -> optimizer step. Epoch = one pass over data.
Learning rate too high -> diverge; too low -> crawl. Schedules and warmups matter for big models.