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
b80b4ebb
Unverified
Commit
b80b4ebb
authored
Nov 10, 2020
by
Guolin Ke
Committed by
GitHub
Nov 10, 2020
Browse files
fix constant hessian for huber loss (#3545)
parent
2315c0d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/objective/regression_objective.hpp
src/objective/regression_objective.hpp
+0
-4
No files found.
src/objective/regression_objective.hpp
View file @
b80b4ebb
...
@@ -338,10 +338,6 @@ class RegressionHuberLoss: public RegressionL2loss {
...
@@ -338,10 +338,6 @@ class RegressionHuberLoss: public RegressionL2loss {
return
"huber"
;
return
"huber"
;
}
}
bool
IsConstantHessian
()
const
override
{
return
false
;
}
private:
private:
/*! \brief delta for Huber loss */
/*! \brief delta for Huber loss */
double
alpha_
;
double
alpha_
;
...
...
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