I am using GridSearchCV with a parameter grid that also contains the classifier/estimator object. This is not the way I learned to use the parameter grid, but seems
GridSearchCV