A doubt about the GridSearchCV function in Sklearn?
The probability that there's a mistake in SK-Learn is very low.

Reasons:


It's a mature library
Among the contributors is Sebastian Raschka. Those guys are very meticulous.


https://sebastianraschka.com/faq/docs/evaluate-a-model.html