[BLOCKING] Remove to_string. (#5934)
This commit is contained in:
@@ -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"}},
|
||||
|
||||
Reference in New Issue
Block a user