Open jasonrichdarmawan opened 1 year ago
Wonder if there is an answer for this thread?
Have you tried passing in fit__validation_data
to the .fit()
call?
Have you tried passing in
fit__validation_data
to the.fit()
call?
fit__validation_data
is not in the fit() parameter for scikeras. Only fit__validation_split
is in.
If we use validation_split, there will be data leakage. Therefore, we need to make sure the validation set is constant by using validation_data parameter, instead of validation_split.