📅  最后修改于: 2022-03-11 14:46:36.657000             🧑  作者: Mango
model = XGBClassifier()
param_grid = {"n_estimators": [100]}
cv = StratifiedKFold(n_splits=5, shuffle=True)
gs = GridSearchCV(model, param_grid=param_grid)