evalml.tuners.RandomSearchTuner¶
-
class
evalml.tuners.
RandomSearchTuner
(space, random_state=0, with_replacement=False, replacement_max_attempts=10)[source]¶ Random Search Optimizer
Example
>>> tuner = RandomSearchTuner([(1,10), ['A', 'B']], random_state=0) >>> print(tuner.propose()) (6, 'B') >>> print(tuner.propose()) (4, 'B') >>> print(tuner.propose()) (5, 'A')
Methods
Sets up check for duplication if needed.
Not applicable to random 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.
Generate a unique set of parameters.