Does Gridsearch CV shuffle the data before creating the folds?
By default, GridSearchCV will use a clean StratifiedKFold or KFold cross-validator. The default for these cross-validators is shuffle=False
. The cv
parameter documentation of GridSearchCV provides some additional information, too.