Don't shuffle columns in categorical tests. (#8446)

This commit is contained in:
Jiaming Yuan
2022-11-28 20:28:06 +08:00
committed by GitHub
parent 67ea1c3435
commit f2209c1fe4
3 changed files with 30 additions and 15 deletions

View File

@@ -170,6 +170,7 @@ def test_json_model() -> None:
onehot=False,
sparsity=0.5,
cat_ratio=0.5,
shuffle=True,
)
reg = xgboost.XGBRegressor(
n_estimators=2, tree_method="hist", enable_categorical=True