Do not return internal value for get_params. (#8634)

This commit is contained in:
Jiaming Yuan
2023-01-05 17:48:26 +08:00
committed by GitHub
parent 26c9882e23
commit e68a152d9e
4 changed files with 73 additions and 47 deletions

View File

@@ -242,9 +242,7 @@ class TestTreeMethod:
self, rows: int, cols: int, rounds: int, cats: int, tree_method: str
) -> None:
onehot, label = tm.make_categorical(rows, cols, cats, True)
print(onehot.columns)
cat, _ = tm.make_categorical(rows, cols, cats, False)
print(cat.columns)
by_etl_results: Dict[str, Dict[str, List[float]]] = {}
by_builtin_results: Dict[str, Dict[str, List[float]]] = {}