Skip to content
ML to LLMs

Learning paths

Routes through the course by goal and time available, with the labs to do along the way.

Pick one route and follow it in order. Each step is a lesson; the lab next to it is where to spend your hands-on time. Every lab lesson ends its visualization section with Try it prompts: make the prediction before touching a control.

On the website, any lesson can be switched to Quick read, which keeps the intuition, the lab, the summary, and the interview questions, and hides the math, implementation, engineering, and knowledge-check sections. The whole course takes about 8 hours this way instead of about 30. Use it for review, or for a first pass before reading in full.

1. Full course (14 weeks, 5 to 7 hours a week)

The complete sequence. Weeks 1 to 12 match the 12-week plan; weeks 13 and 14 add LLM inference, agents, and ML system design.

WeekLessonsLabs
1Vectors, calculus, probability, Python, vocabulary, paradigms, workflow, overfittingparadigm guide, fit explorer
2Linear regression, regularization, logistic regression, metricslinear regression, threshold
3KNN, Naive Bayes, SVMs, decision treesKNN, decision tree
4Random forests and boostingboosting
5K-means, other clustering, PCAK-means, PCA
6Text to vectors, embeddingsTF-IDF
7Forward pass, gradient descent, backpropagationforward pass, gradient descent, backprop
8Training, CNNs, RNNs, autoencoders and diffusionconvolution
9Self-attention, transformer architectureself-attention
10Tokenization, decoding, adapting LLMs, fine-tuning in practicetokenizer, decoding, LoRA
11RAG, vector search, evaluationRAG, vector search
12Architecture, reliability, security, projectsarchitecture, prompt injection
13LLM inference, serving LLMs, tool use and agents, reliable agentsKV cache, batching, agent loop
14ML system design, experimentation and A/B testingrecommendation funnel, A/B test

Extension: weeks 15 to 20 (the rest of the course)

The course now goes beyond the core 14 weeks. Every lesson below pairs a picture or lab with code you build from scratch. Take the modules your goal needs, in any order once the core is done.

2. AI-engineering fast track (about 5 weeks)

For experienced software engineers who want to build LLM products and understand what's underneath. It skips most classical ML and keeps the ideas every AI engineer needs.

OrderLessonWhy it's on this pathLab
1The language of MLloss vs metric, training vs inference
2Workflow, splits, and leakageevaluation discipline applies to LLM systems too
3Overfitting and bias-variancewhy held-out evaluation mattersfit explorer
4Classification metricsprecision, recall, thresholds, calibrationthreshold
5Text to vectorssparse retrieval (BM25's ancestor)TF-IDF
6Word embeddingsdense retrieval
7Forward passwhat a layer computesforward pass
8Gradient descenthow anything is trainedgradient descent
9Self-attentionthe core of every LLMself-attention
10Transformer architecturewhere parameters, compute, and the KV cache live
11Tokenization and pretrainingtokens drive cost and context limitstokenizer
12Decodingtemperature and samplingdecoding
13Adapting LLMsprompting vs RAG vs LoRA
14Fine-tuning in practiceSFT, LoRA and QLoRA memory, preference tuningLoRA
15The RAG pipelinethe most common LLM architectureRAG
16Vector searchANN indexes, hybrid search, filteringvector search
17Evaluating LLM systemsproving a change helped
18Tool use and agentstool calling, the agent loop, MCPagent loop
19Reliable agentsguardrails, agent evals, cost
20LLM inferenceKV cache, quantization, speculative decodingKV cache
21Serving LLMsbatching, latency SLOs, cost per tokenbatching
22Production architecturethe system around the modelarchitecture
23Reliability, cost, and observabilitykeeping it up and affordable
24Securing AI systemsprompt injection and tool safetyprompt injection

Then build project 3 (RAG evaluation workbench) or project 5 (agent reliability sandbox) from the project ladder.

3. Interview prep (7 days per role)

Pick the interview sprint for your target role: ML Engineer, AI Engineer, Applied Scientist, or Data Scientist. Each day lists the lessons, labs, cheat sheets, and interview questions that role is tested on, and day 7 is a mock interview.

Whatever the role, also:

  1. Read the model-selection, classification metrics, formulas, and failure modes cheat sheets.
  2. Take every quiz without notes; reread only the lessons where you missed questions. The website's review queue tracks these for you.
  3. Redo the hand calculations: linear regression's gradient step, backpropagation's nine steps, attention's worked example, TF-IDF, and Gini. Check them in the Math Lab.
  4. Practice the "explain it, calculate it, implement it, diagnose it" test out loud for: bias-variance, precision vs recall, bagging vs boosting, Q/K/V, RAG vs fine-tuning, and prompt-injection controls.
  5. Drill the interview questions at the end of every lesson. On the website, the rapid-fire drill times you and brings back the cards you marked shaky.