Consider this piece of code:
lm.fit(train_data, train_labels, epochs=2, validation_data=(val_data, val_labels), shuffle=True)
fit_generator with batches, each individual batch can be created with shuffle=True or False separately. But when using
fit(), you don’t get the option to shuffle or not shuffle the validation set independent of the training set.
So my question is, when setting shuffle=True above, is only the training data getting shuffled OR is the validation data set getting shuffled as well?