If you want to do grid search in sklearn without cross validation (what GridSearchCV does), you can apparently use the ParameterGrid class (see here: Is there easy way to grid search without cross validation in python?). Does anyone know of a similar method to do random search without CV (i.e. the equivalent of RandomizedSearchCV)?
8
votes
1 Answers
10
votes
Found the answer myself, you can use the ParameterSampler class from sklearn (see here), it behaves similar to ParameterGrid.