Batch size (machine learning)

A.Prof Frank Gaillard et al.

Batch size is a term used in machine learning and refers to the number of training examples utilised in one iteration. The batch size can be one of three options:

  1. batch mode: where the batch size is equal to the total dataset thus making the iteration and epoch values equivalent
  2. mini-batch mode: where the batch size is greater than one but less than the total dataset size. Usually, a number that can be divided into the total dataset size.
  3. stochastic mode: where the batch size is equal to one. Therefore the gradient and the neural network parameters are updated after each sample.
Machine learning
Share article

Article information

rID: 56140
Synonyms or Alternate Spellings:

Support Radiopaedia and see fewer ads

Updating… Please wait.
Loadinganimation

Alert accept

Error Unable to process the form. Check for errors and try again.

Alert accept Thank you for updating your details.