Before you can read the parent note on L1, L2, and dropout, you must be able to read every squiggle it uses without pausing. This page builds each one from absolute zero, in the order they depend on each other.
Picture a mixing desk. Each slider is a wi. Turning slider i up means "pay more attention to input number i." The whole collection of sliders is written as a bold w (a vector — an ordered list of numbers).
The letter b that appears in the parent's model (CD=w1α+⋯+b) is the bias — one extra slider that shifts everything up or down by a constant, independent of any input. It is usually not penalized.
Picture two dots on a number line: a black dot at the true value y, and a hollow dot at the guess y^. The gap between them is the model's mistake on this one example.
Picture a shopping receipt: each line is one an, and ∑ is the total at the bottom.
The topic needs ∑ because a penalty must combine all the weights into a single number to add to the score — you can't penalize a whole desk of sliders without summing over them.
Picture a valley. The horizontal position is your setting of the weights; the height of the ground is the loss. Training rolls a ball downhill toward the lowest point.
The parent note splits the loss into two named pieces:
Symbol
Plain words
Ldata
how badly guesses miss the true answers
Ltotal
the data loss plus the regularization penalty
The whole point of regularization is: don't minimize Ldata alone; minimize Ltotal, which also cares about knob size.
The tiny ℓ(yn,y^n) inside the sum is the per-example loss — the badness on just one flight n. Summing all of them and dividing by N (the number of examples) gives the average, which is Ldata.
Picture the point w=(w1,w2) on a map. ∥w∥2 is the crow-flies distance to the origin. ∥w∥1 is the taxi-cab distance (you must travel along the grid streets).
We need a derivative (and not, say, just evaluating the loss) because to roll downhill you must know the direction of down at your current spot — that direction is exactly the slope.
The curly ∂ (instead of a straight d) is a flag: "there are several knobs; I'm changing just this one and holding the rest still."
The stacked-together partials for all weights form the gradient, written ∇L (the upside-down triangle "nabla"). It is just the full list of slopes — the complete "downhill arrow."
The "mi∼Bernoulli(1−p)" in the parent means: mi is a random on/off switch that is 1 with probability 1−p and 0 otherwise. Multiplying hi by mi keeps or kills that neuron.
This feeds directly into the parent topic. Related roads: Gradient Descent Variants refines the update rule, Feature Engineering and Overfitting Detection motivate why we penalize, Cross-Validation picks λ, and Ensemble Methods plus Bayesian Inference give deeper reasons dropout works.