text_plain_output_1.png
from sklearn import ensemble

import sklearn
sklearn_boost = ensemble.GradientBoostingRegressor(loss='ls', learning_rate=0.1, n_estimators=100)
sklearn_boost.fit(X_train, Y_train)
print('train score', sklearn_boost.score(X_train, Y_train))
print('test score', sklearn_boost.score(X_test, Y_test))