text_html_output_1.png
from xgboost import XGBRegressor

model = XGBRegressor(n_estimators=1000, learning_rate=0.01, n_jobs=4)
model.fit(X_train, y_train, early_stopping_rounds=5, eval_set=[(X_valid, y_valid)], verbose=False)