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
d43a6a3c
Commit
d43a6a3c
authored
Jan 28, 2017
by
Guolin Ke
Browse files
fix error when cnt too small in bagging_helper
parent
da0eb2bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/boosting/gbdt.cpp
src/boosting/gbdt.cpp
+0
-1
No files found.
src/boosting/gbdt.cpp
View file @
d43a6a3c
...
@@ -205,7 +205,6 @@ data_size_t GBDT::BaggingHelper(Random& cur_rand, data_size_t start, data_size_t
...
@@ -205,7 +205,6 @@ data_size_t GBDT::BaggingHelper(Random& cur_rand, data_size_t start, data_size_t
right_buffer
[
cur_right_cnt
++
]
=
start
+
i
;
right_buffer
[
cur_right_cnt
++
]
=
start
+
i
;
}
}
}
}
CHECK
(
buffer
[
bag_data_cnt
-
1
]
>
buffer
[
bag_data_cnt
]);
CHECK
(
cur_left_cnt
==
bag_data_cnt
);
CHECK
(
cur_left_cnt
==
bag_data_cnt
);
return
cur_left_cnt
;
return
cur_left_cnt
;
}
}
...
...
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