Extract make metric name from ranking metric. (#8768)
- Extract the metric parsing routine from ranking. - Add a test. - Accept null for string view.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/**
|
||||
* Copyright 2021 by XGBoost Contributors
|
||||
*/
|
||||
#include <gtest/gtest.h>
|
||||
#include "../../../src/common/ranking_utils.cuh"
|
||||
#include "../../../src/common/device_helpers.cuh"
|
||||
|
||||
Reference in New Issue
Block a user