📜  在 GridSearchCV 之前随机播放数据 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:36.657000             🧑  作者: Mango

代码示例1
model = XGBClassifier()
param_grid = {"n_estimators": [100]}
cv = StratifiedKFold(n_splits=5, shuffle=True)
gs = GridSearchCV(model, param_grid=param_grid)