Neural Style Transfer
The one task where you freeze the network and train the image instead.
The one task where you freeze the network and train the image instead.
When every person is a class and new people arrive daily, classification stops being the right formulation.
Classification per pixel sounds simple until you have to recover the resolution you threw away.
Detection is classification plus regression plus a deduplication problem nobody mentions until it breaks.
Almost nobody trains an image classifier from scratch. Here is what the alternative actually looks like.
Each architecture solved one specific problem left over from the previous one.
A convolution is a fully connected layer with two constraints. Those constraints are the whole idea.
When training data and production data differ, the usual bias-variance diagnosis gives the wrong answer.
The hard part is not training a model. It is knowing which of ten possible improvements to try next.
Multiple GPUs are not free speed. Here is what actually has to be synchronized.
Most training loops are slower than they need to be, and the bottleneck is rarely where people assume.
An experiment you cannot repeat is an anecdote, not a result.
Six lines in the right order, and the reasons each one has to be there.
Autograd is the computation graph you already built, constructed for you at runtime.
Tuning is a search problem with a budget. Spend it on the parameters that matter.
A practical framework for recognizing overfitting and choosing the right regularization method.
Every normalization layer answers the same question differently: which axes do we average over?
The learning rate is the single most important hyperparameter, and a constant value is almost never the right choice.
Understand what popular deep-learning optimizers remember, how they update parameters, and when to tune the learning rate.
A wrong gradient produces a model that trains slowly instead of crashing. Here is how to catch it.
Initialization is not a detail. It decides whether a deep network trains at all.
The loss function is the only place where you tell a network what “better” means. Choose it deliberately.
Extend binary logistic regression to many classes with softmax, cross-entropy, and a numerically stable NumPy implementation.
Follow data and gradients through an L-layer neural network with dimension rules and reusable NumPy formulas.
Implement a one-hidden-layer neural network from scratch and understand every forward and backward equation.
A visual and numerical explanation of how local derivatives combine into backpropagation through a computation graph.
A beginner-friendly explanation of neural-network structure, notation, hidden layers, and forward propagation with a verified NumPy example.
A practical guide to logistic regression, from probability and cross-entropy to vectorized gradients and a complete NumPy implementation.
Replace slow loops with clear matrix operations and learn how to prevent silent broadcasting and shape errors in NumPy.
Every loss function in this series is a probability statement in disguise. Here is the vocabulary.
A neural network is a stack of matrix multiplications. This is the algebra that makes that sentence mean something.
A histogram of timestamps estimates an event rate, and its error has a minimum in the bin width. See how to estimate that minimum from the counts, and when the method fails.
Compute the bound next to the quantity it bounds.
The classical half of sequential decision making, and the prerequisite for deep RL.
A bandit earns more reward and gives you a worse estimate of the effect.
A distribution over parameters costs a prior, a sampler, and two diagnostics that can both be wrong.
The alarm and the harm are different things.
Simulated replays separate feature leakage, staleness, and serving-input bugs. Shared definitions help, but timing and retrieval still need verification.
Bit-identity, a stable metric, and someone else reproducing you are three different goals.
Offline scores measure predictions on logged data. Deployment value also depends on exposure, action capacity, outcome value, and intervention effects.
An offline metric argues a model might help; an experiment is the evidence it did.
Prediction asks what Y will be; intervention asks what Y would be if you set X.
Fairness criteria can conflict under stated conditions. An audit must define the decision, population, and criterion being compared.
Three different questions wear the sentence “which features matter”.
Some rows have not happened yet, and both obvious fixes are wrong in the same direction.
The evaluation protocol moves the number more than the model does.
The rows are not exchangeable and the baseline is strong.
Unlabeled data is free; the assumption it comes with is not.
Choosing a detector is choosing a definition, usually with no evidence.
Almost every property people take from these plots is one the methods do not provide.