Why does different batch-sizes give different accuracy in Keras?
问题 I was using Keras' CNN to classify MNIST dataset. I found that using different batch-sizes gave different accuracies. Why is it so? Using Batch-size 1000 (Acc = 0.97600) Using Batch-size 10 (Acc = 0.97599) Although, the difference is very small, why is there even a difference? EDIT - I have found that the difference is only because of precision issues and they are in fact equal. 回答1: That is because of the Mini-batch gradient descent effect during training process. You can find good