|
Medial Code Documentation
|
Error rate metric for binary classification task. More...
#include <binary_metric.hpp>
Public Member Functions | |
| BinaryErrorMetric (const Config &config) | |
Public Member Functions inherited from LightGBM::BinaryMetric< BinaryErrorMetric > | |
| BinaryMetric (const 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 *objective) const override |
| Calcaluting and printing metric result. | |
Public Member Functions inherited from LightGBM::Metric | |
| virtual | ~Metric () |
| virtual destructor | |
| Metric & | operator= (const Metric &)=delete |
| Disable copy. | |
| Metric (const Metric &)=delete | |
| Disable copy. | |
Static Public Member Functions | |
| static double | LossOnPoint (label_t label, double prob) |
| static const char * | Name () |
Static Public Member Functions inherited from LightGBM::Metric | |
| static LIGHTGBM_EXPORT Metric * | CreateMetric (const std::string &type, const Config &config) |
| Create object of metrics. | |
Error rate metric for binary classification task.