Ensemble Methods in Python
Román de las Heras
Data Scientist, Appodeal
from sklearn.ensemble import GradientBoostingClassifier
clf_gbm = GradientBoostingClassifier(
n_estimators=100,
learning_rate=0.1,
max_depth=3,
min_samples_split,
min_samples_leaf,
max_features
)
n_estimators
learning_rate
max_depth
min_samples_split
min_samples_leaf
max_features
from sklearn.ensemble import GradientBoostingRegressor
reg_gbm = GradientBoostingRegressor(
n_estimators=100,
learning_rate=0.1,
max_depth=3,
min_samples_split,
min_samples_leaf,
max_features
)
Ensemble Methods in Python