Auc Metric for binary classification task.
More...
#include <binary_metric.hpp>
Auc Metric for binary classification task.
◆ Eval()
std::vector< double > LightGBM::AUCMetric::Eval |
( |
const double * |
score, |
|
|
const ObjectiveFunction * |
objective |
|
) |
| const |
|
inlineoverridevirtual |
Calcaluting and printing metric result.
- Parameters
-
score | Current prediction score |
Implements LightGBM::Metric.
◆ factor_to_bigger_better()
double LightGBM::AUCMetric::factor_to_bigger_better |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetName()
const std::vector< std::string > & LightGBM::AUCMetric::GetName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Init()
Initialize.
- Parameters
-
test_name | Specific name for this metric, will output on log |
metadata | Label data |
num_data | Number of data |
Implements LightGBM::Metric.
The documentation for this class was generated from the following file: