|
|
| CrossEntropy (const Config &) |
| |
|
| CrossEntropy (const std::vector< std::string > &) |
| |
| void | Init (const Metadata &metadata, data_size_t num_data) override |
| | Initialize.
|
| |
| void | GetGradients (const double *score, score_t *gradients, score_t *hessians) const override |
| | calculating first order derivative of loss function
|
| |
| const char * | GetName () const override |
| |
| void | ConvertOutput (const double *input, double *output) const override |
| |
| std::string | ToString () const override |
| |
| double | BoostFromScore (int) const override |
| |
|
virtual | ~ObjectiveFunction () |
| | virtual destructor
|
| |
|
virtual bool | IsConstantHessian () const |
| |
|
virtual bool | IsRenewTreeOutput () const |
| |
|
virtual double | RenewTreeOutput (double ori_output, const double *, const data_size_t *, const data_size_t *, data_size_t) const |
| |
|
virtual double | RenewTreeOutput (double ori_output, double, const data_size_t *, const data_size_t *, data_size_t) const |
| |
|
virtual bool | ClassNeedTrain (int) const |
| |
|
virtual bool | SkipEmptyClass () const |
| |
|
virtual int | NumModelPerIteration () const |
| |
|
virtual int | NumPredictOneRow () const |
| |
| virtual bool | NeedAccuratePrediction () const |
| | The prediction should be accurate or not. True will disable early stopping for prediction.
|
| |
|
ObjectiveFunction & | operator= (const ObjectiveFunction &)=delete |
| | Disable copy.
|
| |
|
| ObjectiveFunction (const ObjectiveFunction &)=delete |
| | Disable copy.
|
| |
Objective function for cross-entropy (with optional linear weights)