Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
1c60cfa6
Unverified
Commit
1c60cfa6
authored
Jan 21, 2021
by
Nikita Titov
Committed by
GitHub
Jan 21, 2021
Browse files
remove unused code (#3802)
parent
d4d05fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
include/LightGBM/config.h
include/LightGBM/config.h
+0
-2
No files found.
include/LightGBM/config.h
View file @
1c60cfa6
...
@@ -1173,8 +1173,6 @@ inline std::string ParseMetricAlias(const std::string& type) {
...
@@ -1173,8 +1173,6 @@ inline std::string ParseMetricAlias(const std::string& type) {
return
"kullback_leibler"
;
return
"kullback_leibler"
;
}
else
if
(
type
==
std
::
string
(
"mean_absolute_percentage_error"
)
||
type
==
std
::
string
(
"mape"
))
{
}
else
if
(
type
==
std
::
string
(
"mean_absolute_percentage_error"
)
||
type
==
std
::
string
(
"mape"
))
{
return
"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"
))
{
}
else
if
(
type
==
std
::
string
(
"none"
)
||
type
==
std
::
string
(
"null"
)
||
type
==
std
::
string
(
"custom"
)
||
type
==
std
::
string
(
"na"
))
{
return
"custom"
;
return
"custom"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment