Skip to content
ML to LLMs

Learning path

Guided mode: work top to bottom. Each lesson moves from intuition to visualization, math, code, and engineering, then ends with a knowledge check. Reference mode: jump straight to any lesson, model, or cheat sheet.

About 63 hours of reading in full, or about 15 hours if you switch lessons to Quick read. Short on time? Use quick read, follow a learning path, or pick a 7-day interview sprint for your role. Suggested full pace: 14 weeks at 5 to 7 hours per week, including labs and projects.

Foundations

Math, information theory, vocabulary, and how to run a valid experiment.

The precise words for samples, features, labels, parameters, losses, and metrics, and how to pick a learning paradigm.

Frame, collect, explore, split, baseline, train, evaluate, deploy, monitor, without leaking the answer.

Classical machine learning

Regression, classification, neighbors, trees, clustering, PCA, and applied ML: features, imbalance, tuning, time series.

Predict continuous values with linear models, regularize them, and choose the right error metric.

Predict classes and calibrated probabilities with logistic regression, then turn scores into decisions with the right metric and threshold.

Nearest neighbors, Naive Bayes, and support vector machines, three very different ideas of how to classify.

Decision trees, random forests, and gradient boosting, the strongest default family for tabular data.

Clustering and anomaly detection without labels, and how to tell a real group from an artifact.

Compress many features into a few informative directions with PCA, and use t-SNE and UMAP carefully.

The day-to-day craft of tabular ML: engineer features without leakage, handle rare positives, tune efficiently, forecast time series, and detect anomalies.

Deep learning

Text as vectors, neural networks, PyTorch, training and debugging, architectures, generative models, vision, audio, and training at scale.

Turn text into numbers with tokenization, bag-of-words, n-grams, TF-IDF, and word embeddings, then extract entities and discover topics.

Neurons, layers, weights, biases, activations, and tensor shapes, the building blocks of every deep model.

How models learn: follow the gradient downhill, and compute that gradient efficiently with the chain rule.

Make networks generalize: weight decay, dropout, early stopping, normalization, augmentation, schedules, and tuning.

Turn sound into model input and text: spectrograms, mel filterbanks, MFCCs, CTC, transducers, attention decoders, and word error rate.

Train models too big or too slow for one GPU: mixed precision and clipping, gradient checkpointing, collective communication, data/tensor/pipeline parallelism, and ZeRO/FSDP sharding.

Transformers and LLMs

Attention and its variants, reinforcement learning for post-training, pretraining, MoE, fine-tuning, prompting, RAG, and evaluation.

Steer a model without training it: prompts as tested specifications, few-shot examples, chain-of-thought and voting, and deciding what goes into the context window.

Ground LLM answers in your documents: ingest, chunk, embed, retrieve, rerank, generate, and evaluate.

Measure LLM systems layer by layer: task quality, retrieval, grounding, safety, and operations.

LLM inference and agents

KV cache, batching, quantization, serving cost, tool calling, memory, MCP, and multi-agent systems.

Where the time and memory go when an LLM generates text, and how servers batch, cache, and parallelize to serve many users cheaply.

Let models act: tool calling with JSON schemas, the agent loop, context and memory, MCP, workflows versus agents, and the engineering that makes agents reliable.

AI engineering and system design

Production systems, security, fairness and privacy, ML system design, monitoring, A/B testing, and projects.

Architecture, reliability, observability, cost, and latency for systems built around models.

Threat-model AI systems (prompt injection, data exfiltration, tool abuse), measure and choose fairness criteria, and protect training data with differential privacy.

Design an ML system end to end with a repeatable framework, size a recommendation funnel against a latency budget, and prove it works with a well-powered A/B test.

A 12-week plan and five portfolio projects that turn the course into evidence of engineering skill.