evalml.tuners.RandomSearchTuner.__init__

RandomSearchTuner.__init__(pipeline_hyperparameter_ranges, random_state=0, with_replacement=False, replacement_max_attempts=10)[source]

Sets up check for duplication if needed.

Parameters
  • pipeline_hyperparameter_ranges (dict) – a set of hyperparameter ranges corresponding to a pipeline’s parameters

  • random_state (int) – Unused in this class. Defaults to 0.

  • with_replacement (bool) – If false, only unique hyperparameters will be shown

  • replacement_max_attempts (int) – The maximum number of tries to get a unique set of random parameters. Only used if tuner is initalized with with_replacement=True