

def minimize(self, dummy_iterator):
    trials = Trials()
    algo = rand.suggest
    elem = dummy_iterator.next()
    import random
    random.seed(elem)
    rand_seed = np.random.randint(elem)
    best_run = base_minimizer(model=None, data=None, algo=algo, max_evals=self.max_evals, trials=trials, full_model_string=self.model_string, rseed=rand_seed)
    (yield trials)

dataset/ETHPy150Open maxpumperla/elephas/elephas/hyperparam.py HyperasWorker.minimize/original