Evening class ยท 19:00 IST
AI from scratch
100 lessons in 8 modules, posted one per evening and strictly in order. Each lesson builds on the one before it, so start at lesson 1 and keep going.
2 / 100 postedNext up: lesson 3, Narrow AI vs general AI

- Lesson 3: Narrow AI vs general AI, coming soon
- Lesson 4: The Turing test (1950), coming soon
- Lesson 5: Dartmouth 1956: AI gets a name, coming soon
- Lesson 6: Expert systems and the AI winters, coming soon
- Lesson 7: Why AI took off after 2010, coming soon
- Lesson 8: AI, ML, deep learning, LLMs, coming soon
- Lesson 9: Data, features and labels, coming soon
- Lesson 10: Training vs inference, coming soon
- Lesson 11: Supervised learning, coming soon
- Lesson 12: Unsupervised learning, coming soon
- Lesson 13: Reinforcement learning, coming soon
- Lesson 14: Linear regression, coming soon
- Lesson 15: Loss functions, coming soon
- Lesson 16: Gradient descent, coming soon
- Lesson 17: Learning rate, coming soon
- Lesson 18: Classification and logistic regression, coming soon
- Lesson 19: Overfitting vs underfitting, coming soon
- Lesson 20: Train, validation and test splits, coming soon
- Lesson 21: Accuracy, precision and recall, coming soon
- Lesson 22: Decision trees and random forests, coming soon
- Lesson 23: The artificial neuron, coming soon
- Lesson 24: Layers and deep networks, coming soon
- Lesson 25: Activation functions, coming soon
- Lesson 26: Forward pass, coming soon
- Lesson 27: Backpropagation, coming soon
- Lesson 28: Epochs and batches, coming soon
- Lesson 29: Why GPUs matter, coming soon
- Lesson 30: ImageNet and AlexNet (2012), coming soon
- Lesson 31: Convolutional networks for images, coming soon
- Lesson 32: Recurrent networks for sequences, coming soon
- Lesson 33: Vanishing gradients and LSTMs, coming soon
- Lesson 34: Dropout and regularisation, coming soon
- Lesson 35: Transfer learning, coming soon
- Lesson 36: GANs: two networks competing, coming soon
- Lesson 37: How computers read text, coming soon
- Lesson 38: Tokens and tokenization, coming soon
- Lesson 39: Bag of words and TF-IDF, coming soon
- Lesson 40: Word embeddings, coming soon
- Lesson 41: word2vec: king - man + woman, coming soon
- Lesson 42: Cosine similarity, coming soon
- Lesson 43: Sentence embeddings, coming soon
- Lesson 44: Semantic search, coming soon
- Lesson 45: Vector databases, coming soon
- Lesson 46: Seq2seq and machine translation, coming soon
- Lesson 47: The bottleneck problem, coming soon
- Lesson 48: Attention, the first version, coming soon
- Lesson 49: Attention Is All You Need (2017), coming soon
- Lesson 50: Self-attention, intuitively, coming soon
- Lesson 51: Queries, keys and values, coming soon
- Lesson 52: Multi-head attention, coming soon
- Lesson 53: Positional encoding, coming soon
- Lesson 54: Encoder vs decoder models, coming soon
- Lesson 55: Why transformers scale, coming soon
- Lesson 56: Context windows, coming soon
- Lesson 57: Next-token prediction, coming soon
- Lesson 58: Temperature and sampling, coming soon
- Lesson 59: Pre-training, coming soon
- Lesson 60: Scaling laws, coming soon
- Lesson 61: From GPT-1 to GPT-3, coming soon
- Lesson 62: Emergent abilities, coming soon
- Lesson 63: Instruction tuning, coming soon
- Lesson 64: RLHF, coming soon
- Lesson 65: ChatGPT, November 2022, coming soon
- Lesson 66: Hallucinations, coming soon
- Lesson 67: Parameters vs tokens, coming soon
- Lesson 68: Open vs closed models, coming soon
- Lesson 69: Quantization, coming soon
- Lesson 70: Running models locally, coming soon
- Lesson 71: Multimodal models, coming soon
- Lesson 72: Reasoning models, coming soon
- Lesson 73: Benchmarks and their limits, coming soon
- Lesson 74: API pricing and tokens, coming soon
- Lesson 75: Prompt engineering basics, coming soon
- Lesson 76: System prompts, coming soon
- Lesson 77: Few-shot examples, coming soon
- Lesson 78: Chain-of-thought prompting, coming soon
- Lesson 79: Structured outputs, coming soon
- Lesson 80: Tool calling, coming soon
- Lesson 81: RAG explained, coming soon
- Lesson 82: Chunking documents, coming soon
- Lesson 83: Reranking, coming soon
- Lesson 84: Evals, coming soon
- Lesson 85: Fine-tuning vs RAG vs prompting, coming soon
- Lesson 86: LoRA fine-tuning, coming soon
- Lesson 87: Prompt injection, coming soon
- Lesson 88: Prompt caching and latency, coming soon
- Lesson 89: What an AI agent is, coming soon
- Lesson 90: The agent loop, coming soon
- Lesson 91: Memory for agents, coming soon
- Lesson 92: MCP: Model Context Protocol, coming soon
- Lesson 93: Multi-agent systems, coming soon
- Lesson 94: AI coding assistants, coming soon
- Lesson 95: Agentic coding workflows, coming soon
- Lesson 96: Computer-use agents, coming soon
- Lesson 97: Guardrails and human-in-the-loop, coming soon
- Lesson 98: Deploying AI features, coming soon
- Lesson 99: Responsible AI for developers, coming soon
- Lesson 100: What comes next, coming soon
Module 01
What AI actually is
2/8 posted
- 001What AI actually isAI is the broad field of getting software to do tasks that seem to need intelligence; most AI today is machine learning, which learns patterns from data, but AI also includes rules, search and planning.
8 Oct 2026 - 002Rules vs learningContrast a hand-written if-else spam filter with one that learns from labelled emails. Show the rule filter missing a spam email because the wording changed. Then show a tiny learned filter: count how often each word appears in spam vs normal training emails, and score a NEW email the model never saw by adding up its words' scores (show the predict step and its output). Be honest that it only generalises to words seen in training. End with when to use each: rules for fixed, auditable policies; learning when patterns shift and you have labelled data.
9 Oct 2026 - 003Narrow AI vs general AINext
- 004The Turing test (1950)Upcoming
- 005Dartmouth 1956: AI gets a nameUpcoming
- 006Expert systems and the AI wintersUpcoming
- 007Why AI took off after 2010Upcoming
- 008AI, ML, deep learning, LLMsUpcoming
Module 02
Machine learning basics
0/14 posted
- 009Data, features and labelsUpcoming
- 010Training vs inferenceUpcoming
- 011Supervised learningUpcoming
- 012Unsupervised learningUpcoming
- 013Reinforcement learningUpcoming
- 014Linear regressionUpcoming
- 015Loss functionsUpcoming
- 016Gradient descentUpcoming
- 017Learning rateUpcoming
- 018Classification and logistic regressionUpcoming
- 019Overfitting vs underfittingUpcoming
- 020Train, validation and test splitsUpcoming
- 021Accuracy, precision and recallUpcoming
- 022Decision trees and random forestsUpcoming
Module 03
Neural networks
0/14 posted
- 023The artificial neuronUpcoming
- 024Layers and deep networksUpcoming
- 025Activation functionsUpcoming
- 026Forward passUpcoming
- 027BackpropagationUpcoming
- 028Epochs and batchesUpcoming
- 029Why GPUs matterUpcoming
- 030ImageNet and AlexNet (2012)Upcoming
- 031Convolutional networks for imagesUpcoming
- 032Recurrent networks for sequencesUpcoming
- 033Vanishing gradients and LSTMsUpcoming
- 034Dropout and regularisationUpcoming
- 035Transfer learningUpcoming
- 036GANs: two networks competingUpcoming
Module 04
Language and embeddings
0/12 posted
- 037How computers read textUpcoming
- 038Tokens and tokenizationUpcoming
- 039Bag of words and TF-IDFUpcoming
- 040Word embeddingsUpcoming
- 041word2vec: king - man + womanUpcoming
- 042Cosine similarityUpcoming
- 043Sentence embeddingsUpcoming
- 044Semantic searchUpcoming
- 045Vector databasesUpcoming
- 046Seq2seq and machine translationUpcoming
- 047The bottleneck problemUpcoming
- 048Attention, the first versionUpcoming
Module 05
Transformers
0/12 posted
- 049Attention Is All You Need (2017)Upcoming
- 050Self-attention, intuitivelyUpcoming
- 051Queries, keys and valuesUpcoming
- 052Multi-head attentionUpcoming
- 053Positional encodingUpcoming
- 054Encoder vs decoder modelsUpcoming
- 055Why transformers scaleUpcoming
- 056Context windowsUpcoming
- 057Next-token predictionUpcoming
- 058Temperature and samplingUpcoming
- 059Pre-trainingUpcoming
- 060Scaling lawsUpcoming
Module 06
Large language models
0/14 posted
- 061From GPT-1 to GPT-3Upcoming
- 062Emergent abilitiesUpcoming
- 063Instruction tuningUpcoming
- 064RLHFUpcoming
- 065ChatGPT, November 2022Upcoming
- 066HallucinationsUpcoming
- 067Parameters vs tokensUpcoming
- 068Open vs closed modelsUpcoming
- 069QuantizationUpcoming
- 070Running models locallyUpcoming
- 071Multimodal modelsUpcoming
- 072Reasoning modelsUpcoming
- 073Benchmarks and their limitsUpcoming
- 074API pricing and tokensUpcoming
Module 07
Building with LLMs
0/14 posted
- 075Prompt engineering basicsUpcoming
- 076System promptsUpcoming
- 077Few-shot examplesUpcoming
- 078Chain-of-thought promptingUpcoming
- 079Structured outputsUpcoming
- 080Tool callingUpcoming
- 081RAG explainedUpcoming
- 082Chunking documentsUpcoming
- 083RerankingUpcoming
- 084EvalsUpcoming
- 085Fine-tuning vs RAG vs promptingUpcoming
- 086LoRA fine-tuningUpcoming
- 087Prompt injectionUpcoming
- 088Prompt caching and latencyUpcoming
Module 08
Agents and the AI development era
0/12 posted
- 089What an AI agent isUpcoming
- 090The agent loopUpcoming
- 091Memory for agentsUpcoming
- 092MCP: Model Context ProtocolUpcoming
- 093Multi-agent systemsUpcoming
- 094AI coding assistantsUpcoming
- 095Agentic coding workflowsUpcoming
- 096Computer-use agentsUpcoming
- 097Guardrails and human-in-the-loopUpcoming
- 098Deploying AI featuresUpcoming
- 099Responsible AI for developersUpcoming
- 100What comes nextUpcoming