[catboost] Add UserPerObjMetric and UserQuerywiseMetric metrics to allObjectives list
TConstArrayRef<ELossFunction> GetAllObjectives() {
static TVector<ELossFunction> allObjectives = {
- ELossFunction::Logloss, ELossFunction::CrossEntropy, ELossFunction::RMSE,
- ELossFunction::MAE, ELossFunction::Quantile, ELossFunction::LogLinQuantile,
- ELossFunction::Expectile,
+ ELossFunction::Logloss, ELossFunction::CrossEntropy, ELossFunction::RMSE, ELossFunction::MAE,
+ ELossFunction::Quantile, ELossFunction::LogLinQuantile, ELossFunction::Expectile,
ELossFunction::MAPE, ELossFunction::Poisson, ELossFunction::MultiClass,
- ELossFunction::MultiClassOneVsAll, ELossFunction::PairLogit,
- ELossFunction::PairLogitPairwise, ELossFunction::YetiRank, ELossFunction::YetiRankPairwise,
- ELossFunction::QueryRMSE, ELossFunction::QuerySoftMax, ELossFunction::QueryCrossEntropy,
- ELossFunction::Lq, ELossFunction::Huber, ELossFunction::StochasticFilter};
+ ELossFunction::MultiClassOneVsAll, ELossFunction::PairLogit, ELossFunction::PairLogitPairwise,
+ ELossFunction::YetiRank, ELossFunction::YetiRankPairwise, ELossFunction::QueryRMSE,
+ ELossFunction::QuerySoftMax, ELossFunction::QueryCrossEntropy, ELossFunction::Lq,
+ ELossFunction::Huber, ELossFunction::StochasticFilter, ELossFunction::UserPerObjMetric,
+ ELossFunction::UserQuerywiseMetric
+ };
return allObjectives;
}
