One neuron
Follow two ticket features through weights, a score, and a probability. See why changing a routing threshold does not change the model.
Open lesson →Fundamentals of Machine Learning · All lessons
Learn how a small model calculates a prediction, measures error, and updates its weights. See how the same learning process applies to different prediction tasks. Each lesson includes a worked example, browser controls, and AI feedback on your explanation.
Follow two ticket features through weights, a score, and a probability. See why changing a routing threshold does not change the model.
Open lesson →Measure how much probability reaches the right answer, then apply the same calculation to demonstrated response tokens in SFT.
Open lesson →Find which direction a weight should move, and check the derivative by making a small change yourself.
Open lesson →Compare learning rates, repeat parameter updates, and find out why a training checkpoint needs more than weights.
Open lesson →Work out how one set of weights processes many requests, what shape comes out, and why batching can improve throughput.
Open lesson →Convert competing class scores into probabilities without numerical overflow. Understand why the correct class is a training target, not a random draw.
Open lesson →N-grams, embeddings, and transformers are now in Building Language Models from Scratch. This ML track ends with softmax; the language-model track is an optional next step.
The shared NumPy examples run locally and show the calculations without a training framework. The slides and PowerPoint are optional references.