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
9de526f8
Commit
9de526f8
authored
Mar 09, 2019
by
remcob-gr
Committed by
Guolin Ke
Mar 09, 2019
Browse files
Fix typo in GatherInfoForThresholdCategorical (#2040)
parent
5801460a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/treelearner/feature_histogram.hpp
src/treelearner/feature_histogram.hpp
+1
-1
No files found.
src/treelearner/feature_histogram.hpp
View file @
9de526f8
...
...
@@ -384,7 +384,7 @@ class FeatureHistogram {
double
current_gain
=
GetLeafSplitGain
(
sum_right_gradient
,
sum_right_hessian
,
meta_
->
config
->
lambda_l1
,
l2
,
meta_
->
config
->
max_delta_step
)
+
GetLeafSplitGain
(
sum_left_gradient
,
sum_
righ
t_hessian
,
+
GetLeafSplitGain
(
sum_left_gradient
,
sum_
lef
t_hessian
,
meta_
->
config
->
lambda_l1
,
l2
,
meta_
->
config
->
max_delta_step
);
if
(
std
::
isnan
(
current_gain
)
||
current_gain
<=
min_gain_shift
)
{
...
...
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