I am using Keras Tuner to hypertune my model. I am setting the parameter value “validation_split = 0.2” in the search() call. Does it still make sense to pass “shuffle = True” or is that redundant / counter-productive?
tuner = RandomSearch(
hypermodel = build_model,
objective = kt.Objective("val_loss", direction = "min"),
max_trials = 100,
executions_per_trial = 2,
directory = "V5",
project_name = "case8",
seed = RANDOM_SEED,
overwrite = True
)
tuner.search(
x = x_train_new,
y = y_train.values,
batch_size = 1024,
epochs = 100,
validation_split = 0.2,
shuffle = True,
callbacks = [ model_early_stopping]
)