evalml.tuners.GridSearchTuner¶
-
class
evalml.tuners.
GridSearchTuner
(pipeline_hyperparameter_ranges, n_points=10, random_state=None, random_seed=0)[source]¶ Grid Search Optimizer.
Example
>>> tuner = GridSearchTuner({'My Component': {'param a': [0.0, 10.0], 'param b': ['a', 'b', 'c']}}, n_points=5) >>> proposal = tuner.propose() >>> assert proposal.keys() == {'My Component'} >>> assert proposal['My Component'] == {'param a': 0.0, 'param b': 'a'}
Methods
Generate all of the possible points to search for in the grid
Not applicable to grid search tuner as generated parameters are not dependent on scores of previous parameters.
Checks if it is possible to generate a set of valid parameters.
Returns parameters from _grid_points iterations