

def best_ensemble(self, nb_ensemble_models, model, data, max_evals, voting='hard', weights=None):
    model_list = self.best_models(nb_models=nb_ensemble_models, model=model, data=data, max_evals=max_evals)
    return VotingModel(model_list, voting, weights)

dataset/ETHPy150Open maxpumperla/elephas/elephas/hyperparam.py HyperParamModel.best_ensemble/original