Skip to main content
. 2019 Aug 9;19(16):3492. doi: 10.3390/s19163492
Algorithm 2. Minibatch gradient descent algorithm: Algorithm of minibatch stochastic gradient descent method.
Initialize unknown parameters.
for i=1:N
  • (a)

    Sample a minibatch of size m from the training data.

  • (b)

    Compute the gradient estimate using all data of the minibatch.

  • (c)

    Update the parameters.

end