Batching in machine learning is a method of running an algorithm on multiple feature sets before updating the parameters of the algorithm.
Typically the cost function is run on all outputs of the algorithm and then the value is averaged to update the parameters but other functions may be used like summation or loss aggregation (such as taking the maximum or minimum loss value).
Forms
Batching can take many forms ranging from small batches of just