Skip to main content

πŸ“ Terminology

A compact glossary for terms used across this site.

TermDefinitionExampleNotes
BatchA group of training examples processed together in one forward and backward passA batch size of 64 processes 64 examples togetherIn deep learning, β€œbatch” usually means a mini-batch
CalibrationPredicted confidence matches observed frequencyOf 100 predictions made with 0.8 confidence, about 80 are correctFit a calibration mapping on a separate held-out split
Down-samplingDeliberately keeping fewer examples from an overrepresented group or classKeep a subset of negative examples when positives are rareIt can change class prevalence, so probability calibration may need correction
EpochOne complete pass through all training batches50,000 examples with batches of 100 give 500 steps per epochTraining data is usually shuffled each epoch
Iteration / stepOne parameter update using one batchoptimizer.step() updates the model parametersWith gradient accumulation, one step can combine several micro-batches
LogitAn unnormalized model score before sigmoid or softmax converts it to a probabilityA binary classifier can output a logit z=2z=2 before applying sigmoidA logit is not itself a probability
Mini-batchA small subset of the training set used for one training step64 examples from a training set of 50,000Batch size is a training hyperparameter
Weight decayA regularization method that penalizes large parameter values during trainingAn optimizer may use weight_decay=0.01Often equivalent to L2 regularization for plain SGD; adaptive optimizers commonly use decoupled weight decay