Using the same data for both validation and prediction in Keras

Amirreza Heidari amirrezaheidarysbu at gmail.com
Fri Aug 23 12:38:56 EDT 2019


I was reading a tutorial for time series prediction by Neural Networks. I found that this code have used the same test data in the following code for validation, and later also for prediction. 

history = model.fit(train_X, train_y, epochs=50, batch_size=72, validation_data=(test_X, test_y), verbose=2, shuffle=False)

Does it mean that the validation and test data are the same, or there is a default percentage to split the data into validation and prediction?



More information about the Python-list mailing list