✳ BETWEEN QUESTIONS ML STUDY ATLAS

THE LEARNING LIBRARY

Machine learning, one question at a time.

Explore our available lessons. Each starts with a question and connects to related concepts in the learning map.

01 · LESSONHow can a line separate two classes of points?

Move a decision boundary and discover what a simple model does.

Read the lesson ↗
02 · LESSONWhat makes a boundary good?

Explore classification error and the role of surrogate loss.

Read the lesson ↗
03 · LESSONData and Predictions: What Does a Model Actually See?

Understand features, labels, examples, predictions and the difference between training and inference.

Read the lesson ↗
04 · LESSONLinear Classification: How Can a Line Separate Two Classes?

See how weights and bias define a decision boundary, and understand why some datasets need nonlinear models.

Read the lesson ↗
05 · LESSONLinear Regression: Predicting a Number from Data

Explore the linear prediction formula, mean squared error and the limits of a fitted line.

Read the lesson ↗
06 · LESSONVectors and Matrices: A Compact Language for Models

Connect vectors, dot products and matrix multiplication to features, model scores and neural network layers.

Read the lesson ↗
07 · LESSONDerivatives and Gradients: Which Way Does the Output Change?

Build intuition for a derivative, partial derivatives and gradient directions in machine learning.

Read the lesson ↗
08 · LESSONThe Chain Rule: How Does a Change Travel Through a Model?

Follow a numerical derivative through a small computation graph to understand the chain rule.

Read the lesson ↗
09 · LESSONProbability and Expectation: Reasoning Under Uncertainty

Understand probabilities, expected values and the difference between a model score and a calibrated probability.

Read the lesson ↗
10 · LESSONGradient Descent: How Can a Model Improve Its Parameters?

Experiment with learning rates and watch gradient descent move across a simple loss curve.

Read the lesson ↗
11 · LESSONGeneralization and Overfitting: Did the Model Learn or Memorize?

See why training performance alone does not establish performance on unseen examples.

Read the lesson ↗
12 · LESSONTrain, Validation and Test Sets: How Do We Know a Model Works?

Learn the different roles of train, validation and test sets, including leakage and time-based splits.

Read the lesson ↗
13 · LESSONNeurons and Nonlinearity: Why Can’t We Just Stack Lines?

Explore weighted sums, activation functions and why stacked linear layers alone remain linear.

Read the lesson ↗
14 · LESSONNeural Networks: How Do Layers Build a Prediction?

Follow inputs through weights, biases and activation functions to an output prediction.

Read the lesson ↗
15 · LESSONBackpropagation: How Does an Error Reach Every Weight?

Understand computation graphs, local derivatives and the difference between backpropagation and gradient descent.

Read the lesson ↗
16 · LESSONLogarithms and Likelihood: Why Add Log Probabilities?

Explore likelihood, logarithms and negative log loss with a changing probability.

Read the lesson ↗
17 · LESSONSoftmax: How Do Scores Become a Probability Distribution?

Change logits and see how softmax distributes probability among three classes.

Read the lesson ↗
18 · LESSONLogistic Regression: From a Linear Score to a Probability

Explore the sigmoid curve and a decision threshold for a binary classifier.

Read the lesson ↗
19 · LESSONTraining Neural Networks: Why Can Updates Be Noisy?

Compare individual-example gradients with a full-batch gradient in a simple two-example problem.

Read the lesson ↗
20 · LESSONRegularization and Leakage: Two Different Ways Evaluation Can Mislead

Explore the trade-off in an L2-penalized objective and learn why leakage is a separate data problem.

Read the lesson ↗
21 · LESSONDecision Trees: Can a Sequence of Questions Classify Data?

Try a threshold split and observe predictions, mistakes and weighted Gini impurity.

Read the lesson ↗
22 · LESSONClustering: Can We Group Examples Without Labels?

Explore assignments and within-cluster squared distance for two chosen centers.

Read the lesson ↗
23 · LESSONSequence Modeling: Why Does Order Matter?

Reorder a short sequence and compare the last value with an order-insensitive sum.

Read the lesson ↗
24 · LESSONImages and Pixels: What Does a Vision Model Receive?

Change pixels in a tiny image and apply a fixed edge-detection filter.

Read the lesson ↗
25 · LESSONReinforcement Learning: How Can an Agent Learn from Rewards?

Explore a short sequence of rewards and see how discounting changes return.

Read the lesson ↗
26 · LESSONLanguage Modeling: How Can a Model Assign Probability to a Sequence?

Explore conditional next-token probabilities and the probability of a short sequence.

Read the lesson ↗
27 · LESSONTokens and Embeddings: How Can Text Become Vectors?

Explore a tiny token lookup and how a projection scores the resulting embedding.

Read the lesson ↗
28 · LESSONConvolution and Feature Maps: How Can One Filter Scan an Image?

Slide a small filter over a one-dimensional signal and inspect every output.

Read the lesson ↗
29 · LESSONResidual Connections: Why Add the Input Back?

Adjust a residual branch and observe the combined output and gradient.

Read the lesson ↗
30 · LESSONSelf-Supervised Learning: Where Do the Labels Come From?

Hide part of a short sequence and inspect a target created from the data itself.

Read the lesson ↗
31 · LESSONStates, Actions and Transitions: What Does an RL Environment Specify?

Choose an action in a tiny deterministic environment and trace its next state and reward.

Read the lesson ↗
32 · LESSONSampling from Distributions: How Does a Probability Become an Outcome?

Move a random-number draw through a discrete cumulative distribution.

Read the lesson ↗
33 · LESSONPreference Data: How Can We Learn from Comparing Answers?

Adjust two candidate scores and observe a simple pairwise preference probability.

Read the lesson ↗
34 · LESSONAttention: How Can a Word Look at Other Words?

When a word has more than one meaning, its neighbors can help. How can a model combine information from those neighbors?

Read the lesson ↗
35 · LESSONRNNs and LSTMs: Can a Model Carry a Memory?

A sequence arrives one piece at a time. How can a model carry information from earlier steps?

Read the lesson ↗
36 · LESSONCNNs: How Can a Filter Recognize a Pattern Anywhere?

A small pattern can appear in many places. Can we look for it using the same detector at each location?

Read the lesson ↗
37 · LESSONReturns and Discounting: How Much Is a Future Reward Worth?

A decision may pay off later. How can an agent compare rewards arriving at different times?

Read the lesson ↗
38 · LESSONGenerative Modeling: How Can We Make New Examples?

A classifier predicts a label. What if we want a model to generate an example instead?

Read the lesson ↗
39 · LESSONReward Models: How Can Comparisons Become a Score?

Suppose people prefer one answer over another. Can a model learn a score that reflects those comparisons?

Read the lesson ↗
40 · LESSONSupport Vector Machines: How Wide Can the Gap Be?

Two classes can be separated in many ways. Which boundary leaves the widest gap between them?

Read the lesson ↗
41 · LESSONPCA: Which Direction Keeps the Most Variation?

What if a dataset has many coordinates, but most of its variation follows one direction?

Read the lesson ↗
42 · LESSONSequence-to-Sequence: How Can One Sequence Become Another?

Translation takes words in one language and produces words in another. How can the input and output have different lengths?

Read the lesson ↗
43 · LESSONTransformers: How Do Attention and Layers Work Together?

Attention combines information across tokens. How do we turn that operation into a model for sequences?

Read the lesson ↗
44 · LESSONPolicies and Value Functions: What Should an Agent Do?

An agent can choose actions, but how can it judge what those choices may lead to?

Read the lesson ↗
45 · LESSONImage Classification: What Does a Model Predict?

Given an image, can a model choose among a fixed set of categories?

Read the lesson ↗
46 · LESSONLLM Pretraining: What Can Next-Token Prediction Teach?

A language model sees a prefix and predicts what comes next. How can that small task create useful representations?

Read the lesson ↗
47 · LESSONResNet: Why Add a Shortcut Across Layers?

As networks get deeper, training can become harder. Can a shortcut give information another path?

Read the lesson ↗
48 · LESSONTransfer Learning: Can One Model Help with a New Task?

Training from scratch can need lots of data. What if a model has already learned useful features?

Read the lesson ↗
49 · LESSONObject Detection: Where Is the Object?

Image classification can say “cat”. What if we also need to know where the cat is?

Read the lesson ↗
50 · LESSONImage Segmentation: Which Pixels Belong Together?

A box gives a rough location. What if we need a label for each pixel?

Read the lesson ↗
51 · LESSONLatent Representations: Can Hidden Coordinates Describe Data?

Can a few hidden numbers capture useful variation in many observed values?

Read the lesson ↗
52 · LESSONBellman Equations: How Is Today’s Value Related to Tomorrow’s?

A value summarizes future rewards. Can we express it using one step and the value after that step?

Read the lesson ↗
53 · LESSONPolicy Gradients: How Can a Policy Become More Likely to Choose Better Actions?

A policy assigns action probabilities. How can feedback change those probabilities?

Read the lesson ↗
54 · LESSONContrastive Learning: Which Examples Belong Together?

How can a model learn a useful representation by comparing examples?

Read the lesson ↗
55 · LESSONVision Transformers: Can an Image Become a Sequence?

A transformer reads tokens. What if those tokens describe pieces of an image?

Read the lesson ↗
56 · LESSONVision-Language Models: Can Images and Words Share a Representation?

How could a model connect an image of a dog with the words “a dog”?

Read the lesson ↗
57 · LESSONAutoencoders: What Can We Learn by Compressing and Rebuilding?

Can a model learn a useful hidden representation by trying to reconstruct its input?

Read the lesson ↗
58 · LESSONVariational Autoencoders: Why Make the Latent Space Probabilistic?

What if an encoder describes a distribution over hidden values rather than one fixed point?

Read the lesson ↗
59 · LESSONGANs: Can a Generator Learn from a Discriminator?

What happens if one network makes examples and another tries to distinguish them from real ones?

Read the lesson ↗
60 · LESSONDiffusion Models: Can Removing Noise Create an Image?

If we learn to reverse a gradual noising process, can we generate new data?

Read the lesson ↗
61 · LESSONMonte Carlo and TD Learning: When Should We Update a Value?

Can an agent learn about future reward before a whole episode ends?

Read the lesson ↗
62 · LESSONQ-Learning: How Can an Agent Learn the Value of an Action?

What if we estimate the future value of each action in each state?

Read the lesson ↗
63 · LESSONDeep Q-Networks: What If a Neural Network Estimates Q?

A table becomes impractical in a large state space. Can a neural network estimate action values?

Read the lesson ↗
64 · LESSONAdvantage and Baselines: Better Than What?

An action earned a reward. How can we judge whether it was better than expected in that state?

Read the lesson ↗
65 · LESSONActor-Critic: Can a Policy and a Value Estimate Learn Together?

A policy chooses actions. Could another component help judge those choices?

Read the lesson ↗
66 · LESSONPPO: How Can We Make Policy Updates Less Aggressive?

A policy update can be too large. Can we discourage excessively large probability changes?

Read the lesson ↗
67 · LESSONModel-Based RL: Can an Agent Imagine the Next Step?

Before acting, could an agent use a model to predict possible outcomes?

Read the lesson ↗
68 · LESSONSupervised Fine-Tuning: How Can Examples Shape an LLM?

After pretraining, how can examples demonstrate the kind of response we want?

Read the lesson ↗
69 · LESSONRLHF: How Can Human Feedback Guide a Language Model?

If people prefer some answers to others, how can that feedback affect model behavior?

Read the lesson ↗
70 · LESSONDPO: Can Preference Pairs Directly Shape a Model?

Could we use a preferred and a rejected answer without training a separate reward model?

Read the lesson ↗
71 · LESSONPost-Training Evaluation: Did the Model Actually Improve?

A model looks better on one example. How do we tell whether the change generalizes?

Read the lesson ↗