|
std::tuple< double, double, double > | EvalBinary (HostDeviceVector< float > const &predts, MetaInfo const &info) |
|
double | EvalMultiClass (HostDeviceVector< float > const &predts, MetaInfo const &info, size_t n_classes) |
|
std::pair< double, uint32_t > | EvalRanking (HostDeviceVector< float > const &predts, MetaInfo const &info) |
|
const char * | Name () const override |
|
double | Evaluate (HostDeviceVector< float > const &predts, std::shared_ptr< DMatrix > p_fmat) final |
| Evaluate a metric with DMatrix as input.
|
|
virtual void | Configure (const std::vector< std::pair< std::string, std::string > > &) |
| Configure the Metric with the specified parameters.
|
|
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
|
|
|
static Metric * | Create (const std::string &name, Context const *ctx) |
| create a metric according to name.
|
|
Context const * | ctx_ {nullptr} |
|
◆ Name()
const char * xgboost::metric::EvalPRAUC::Name |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- External/xgboost/src/metric/auc.cc