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
79edd9a6
Commit
79edd9a6
authored
Jan 22, 2018
by
Guolin Ke
Browse files
fix a warning
parent
f8cf0d2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/metric/regression_metric.hpp
src/metric/regression_metric.hpp
+1
-1
No files found.
src/metric/regression_metric.hpp
View file @
79edd9a6
...
...
@@ -274,7 +274,7 @@ public:
inline
static
const
char
*
Name
()
{
return
"gamma-deviance"
;
}
inline
static
double
AverageLoss
(
double
sum_loss
,
double
sum_weights
)
{
inline
static
double
AverageLoss
(
double
sum_loss
,
double
)
{
return
sum_loss
*
2
;
}
};
...
...
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