Sklearn Tuner
is designed to use cross-validation (CV) for model selection, not the traditional train-validation-test split. Since you've already provided the cv
argument, the tuner will perform cross-validation automatically. Therefore, you can remove the validation_split
argument, and your code should work as expected.