Grid Search Using Data Loaders

Hello All:

I was looking for a boilerplate code for hyperparameter searching in deep nets. All the available examples fit the model on a randomly generated input whereas practically we use a data loader function to process the input data and fit the model.

  1. Can you please provide any code snippet that considers data loaders while executing the GridSearchCV method from the Sklearn library.

Thank you very much.