get_tuning_grid function

Generate the tuning grid for tuning hyperparameters