Ensemble Methods in Python
Román de las Heras
Data Scientist, Appodeal
scikit-learn
numpy
pandas
seaborn
from sklearn.ensemble import MetaEstimator
# Base estimators est1 = Model1() est2 = Model2() estN = ModelN()
# Meta estimator est_combined = MetaEstimator( estimators=[est1, est2, ..., estN], # Additional parameters )
# Train and test est_combined.fit(X_train, y_train) pred = est_combined.predict(X_test)
Ensemble Methods in Python