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
83012fe4
Unverified
Commit
83012fe4
authored
Feb 27, 2020
by
Nikita Titov
Committed by
GitHub
Feb 27, 2020
Browse files
fix index and remove unused includes (#2829)
* removed unused includes * fixed index
parent
4fa32529
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
src/boosting/gbdt.cpp
src/boosting/gbdt.cpp
+0
-1
src/boosting/goss.hpp
src/boosting/goss.hpp
+0
-1
src/treelearner/feature_histogram.hpp
src/treelearner/feature_histogram.hpp
+1
-1
No files found.
src/boosting/gbdt.cpp
View file @
83012fe4
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
#include <LightGBM/prediction_early_stop.h>
#include <LightGBM/prediction_early_stop.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/utils/openmp_wrapper.h>
#include <LightGBM/utils/openmp_wrapper.h>
#include <LightGBM/utils/threading.h>
#include <chrono>
#include <chrono>
#include <ctime>
#include <ctime>
...
...
src/boosting/goss.hpp
View file @
83012fe4
...
@@ -8,7 +8,6 @@
...
@@ -8,7 +8,6 @@
#include <LightGBM/boosting.h>
#include <LightGBM/boosting.h>
#include <LightGBM/utils/array_args.h>
#include <LightGBM/utils/array_args.h>
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/openmp_wrapper.h>
#include <string>
#include <string>
#include <algorithm>
#include <algorithm>
...
...
src/treelearner/feature_histogram.hpp
View file @
83012fe4
...
@@ -595,7 +595,7 @@ class FeatureHistogram {
...
@@ -595,7 +595,7 @@ class FeatureHistogram {
double
sum_left_gradient
=
sum_gradient
-
sum_right_gradient
;
double
sum_left_gradient
=
sum_gradient
-
sum_right_gradient
;
if
(
IS_RAND
)
{
if
(
IS_RAND
)
{
if
(
t
+
offset
!=
rand_threshold
)
{
if
(
t
-
1
+
offset
!=
rand_threshold
)
{
continue
;
continue
;
}
}
}
}
...
...
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