text_plain_output_1.png
from xgboost import XGBClassifier

from xgboost import XGBClassifier
m = XGBClassifier(max_depth=2, gamma=11, eta=0.8, reg_alpha=0.7, reg_lambda=0.9, eval_metric=None)
m.fit(x_train, y_train)
pred = m.predict(x_test)