|
|
| NDCGMetric (const Config &config) |
| |
| void | Init (const Metadata &metadata, data_size_t num_data) override |
| | Initialize.
|
| |
| const std::vector< std::string > & | GetName () const override |
| |
| double | factor_to_bigger_better () const override |
| |
| std::vector< double > | Eval (const double *score, const ObjectiveFunction *) const override |
| | Calcaluting and printing metric result.
|
| |
|
virtual | ~Metric () |
| | virtual destructor
|
| |
|
Metric & | operator= (const Metric &)=delete |
| | Disable copy.
|
| |
|
| Metric (const Metric &)=delete |
| | Disable copy.
|
| |
◆ Eval()
| std::vector< double > LightGBM::NDCGMetric::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::NDCGMetric::factor_to_bigger_better |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetName()
| const std::vector< std::string > & LightGBM::NDCGMetric::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: