code: def _get_param_iterator(self):
          
          return model_selection.ParameterSampler(
              self.param_distributions, self.n_iter, random_state=self.random_state
          )
docs: Return ParameterSampler instance for the given distributions