|
double | Eval (HostDeviceVector< float > const &predt, MetaInfo const &info, std::shared_ptr< ltr::PreCache > p_cache) final |
|
| EvalRankWithCache (StringView name, const char *param) |
|
| EvalRankWithCache (StringView name, const char *param) |
|
void | Configure (Args const &) override |
| Configure the Metric with the specified parameters.
|
|
void | LoadConfig (Json const &in) override |
| Load configuration from JSON object.
|
|
void | SaveConfig (Json *p_out) const override |
| Save configuration to JSON object.
|
|
double | Evaluate (HostDeviceVector< float > const &preds, std::shared_ptr< DMatrix > p_fmat) override |
| Evaluate a metric with DMatrix as input.
|
|
const char * | Name () const override |
|
void | LoadConfig (Json const &) override |
| Load configuration from JSON object By default, metric has no internal configuration; override this function to maintain internal configuration.
|
|
void | SaveConfig (Json *p_out) const override |
| Save configuration to JSON object By default, metric has no internal configuration; override this function to maintain internal configuration.
|
|
| ~Metric () override=default |
| virtual destructor
|
|
◆ Eval()
The documentation for this class was generated from the following file:
- External/xgboost/src/metric/rank_metric.cc