My question is simple, what validation data is passed to model.fit in the serial model used for ?
And does this affect how the model is trained (usually a validation set is used, for example, to select hyperparameters in the model, but I think this does not happen here)?
I am talking about a test suite that can be conveyed as follows:
model = Sequential()
model.add(...)
history = model.fit(X_train, Y_train, validation_split=0.1)
history = model.fit(X_train, Y_train, validation_data=(X_test, Y_test))
I did a little research, and I saw what keras.models.Sequential.fitcalls keras.models.training.fit, which creates type variables val_accand val_loss(which can be accessed from Callbacks). keras.models.training.fitalso calls keras.models.training._fit_loop, which adds validation data to callbacks.validation_data, and also calls keras.models.training._test_loop, which will loop the validation data into packets in the self.test_functionmodel. The result of this function is used to populate log values that are values available from callbacks.
, , model.fit - , , , . , okey , ?
- , , model.fit, - ?