1.Xgboost建模,sklearn评估 2.网格搜索交叉验证找最优参数 3.early-stop早停止 4.特征重要度 5.并行训练加速 #预估器建模方式:sklearn与XGboost配合使用 #xgboost建模,sklearn评估 import pickle import xgboost as xgb import numpy as np from sklearn.model_selection import KFold, train_test_split, GridSearchCV from sklearn.metrics import confusion_matrix, mean