title: Why does different batch-sizes give different accuracy in Keras?
body: <p>I was using Keras' CNN to classify MNIST dataset. I found that using different batch-sizes gave different accuracies. Why is it so?  </p>
  
  <p><a href="https://i.stack.imgur.com/Ad4oO.png" rel="nofollow noreferrer">Using Batch-size 1000</a> (Acc = 0.97600)</p>
  
  <p><a href="https://i.stack.imgur.com/CRLd3.png" rel="nofollow noreferrer">Using Batch-size 10</a>  (Acc = 0.97599)</p>
  
  <p>Although, the difference is very small, why is there even a difference?
  <strong>EDIT - I have found that the difference is only because of precision issues and they are in fact equal.</strong></p>