if ((iteration % 10 == 0) and verbose: print 'epoch:%d, iteration:%d/%d, cost:%f' % (epoch, iteration, n_batches, cost)) code example
Example: epoch neural network definition
One Epoch is when an ENTIRE dataset is passed forward and backward
through the neural network only ONCE.