[Breaking] Change default evaluation metric for binary:logitraw objective to logloss (#6647)

This commit is contained in:
Philip Hyunsu Cho
2021-01-29 00:12:12 +09:00
committed by GitHub
parent d167892c7e
commit 0f2ed21a9d
3 changed files with 11 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ struct LogisticRawOneAPI : public LogisticRegressionOneAPI {
predt = SigmoidOneAPI(predt);
return std::max(predt * (T(1.0f) - predt), eps);
}
static const char* DefaultEvalMetric() { return "auc"; }
static const char* DefaultEvalMetric() { return "logloss"; }
static const char* Name() { return "binary:logitraw_oneapi"; }
};