code: def _create_base_ensemble(self, out, n_estimators, n_folds):
          
          ensemble_scores = numpy.empty((n_estimators, n_folds))
          base_ensemble = numpy.empty_like(ensemble_scores, dtype=numpy.object)
          for model, fold, score, est in out:
              ensemble_scores[model, fold] = score
              base_ensemble[model, fold] = est
  
          return ensemble_scores, base_ensemble
docs: For each base estimator collect models trained on each fold