Week 2 Programming Assignment random_mini_batches

Hi, @JanGoLearn and @gotominhaz.

The most common problem I’ve seen is getting the indexes wrong when generating the last mini-batch:

  • You have already processed num_complete_minibatches mini-batches of size mini_batch_size. What should the starting index be?
  • You want to read all the remaining examples. What should the stopping index be?

Let me know if that helped :slight_smile:

4 Likes