ParameterGrid
- class sklearn.model_selection.ParameterGrid(param_grid)
Grid of parameters with a discrete number of values for each.
Can be used to iterate over parameter value combinations with the Python built-in function iter. The order of the generated parameter combinations is deterministic.
Read more in the User Guide.
- Parameters:
- param_grid : dict of str to sequence, or sequence of such
The parameter grid to explore, as a dictionary mapping estimator parameters to sequences of allowed values.