final_ensemble.estimators_ = []
for ensemble in all_ensembles:
    final_ensemble.estimators_ += ensemble.estimators_
final_ensemble.n_estimators = len(final_ensemble.estimators_)
return final_ensemble
parallel generation of random forests using scikit-learn