[BLOCKING] Remove to_string. (#5934)

This commit is contained in:
Jiaming Yuan
2020-07-26 10:21:26 +08:00
committed by GitHub
parent 12110c900e
commit 40361043ae
2 changed files with 23 additions and 4 deletions

View File

@@ -177,6 +177,7 @@ TEST_F(SerializationTest, Exact) {
TestLearnerSerialization({{"booster", "gbtree"},
{"seed", "0"},
{"nthread", "1"},
{"base_score", "3.14195265"},
{"max_depth", "2"},
{"enable_experimental_json_serialization", "1"},
{"tree_method", "exact"}},
@@ -185,6 +186,7 @@ TEST_F(SerializationTest, Exact) {
TestLearnerSerialization({{"booster", "gbtree"},
{"seed", "0"},
{"nthread", "1"},
{"base_score", "3.14195265"},
{"max_depth", "2"},
{"num_parallel_tree", "4"},
{"enable_experimental_json_serialization", "1"},
@@ -194,6 +196,7 @@ TEST_F(SerializationTest, Exact) {
TestLearnerSerialization({{"booster", "dart"},
{"seed", "0"},
{"nthread", "1"},
{"base_score", "3.14195265"},
{"max_depth", "2"},
{"enable_experimental_json_serialization", "1"},
{"tree_method", "exact"}},