Skip to content

Commit

Permalink
remove unused code (#3802)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Jan 21, 2021
1 parent d4d05fa commit 1c60cfa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/LightGBM/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -1173,8 +1173,6 @@ inline std::string ParseMetricAlias(const std::string& type) {
return "kullback_leibler";
} else if (type == std::string("mean_absolute_percentage_error") || type == std::string("mape")) {
return "mape";
} else if (type == std::string("auc_mu")) {
return "auc_mu";
} else if (type == std::string("none") || type == std::string("null") || type == std::string("custom") || type == std::string("na")) {
return "custom";
}
Expand Down

0 comments on commit 1c60cfa

Please sign in to comment.