text_plain_output_1.png
from sklearn.model_selection import train_test_split,cross_val_score

import xgboost as xgb

model = xgb.XGBRegressor(max_depth=5, n_estimators=10, random_state=73)
print(cross_val_score(model, X, y, cv=5).mean())