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
5c5dce37
Commit
5c5dce37
authored
Jan 25, 2017
by
Guolin Ke
Browse files
clean code
parent
4f232570
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
R-package/lightgbm_0.1.zip
R-package/lightgbm_0.1.zip
+0
-0
src/treelearner/data_parallel_tree_learner.cpp
src/treelearner/data_parallel_tree_learner.cpp
+2
-2
No files found.
R-package/lightgbm_0.1.zip
deleted
100644 → 0
View file @
4f232570
File deleted
src/treelearner/data_parallel_tree_learner.cpp
View file @
5c5dce37
...
...
@@ -166,7 +166,7 @@ void DataParallelTreeLearner::FindBestThresholds() {
smaller_leaf_histogram_array_
[
feature_index
].
FindBestThreshold
(
smaller_leaf_splits_
->
sum_gradients
(),
smaller_leaf_splits_
->
sum_hessians
(),
smaller_leaf_splits_
->
num_data_in_leaf
(
),
GetGlobalDataCountInLeaf
(
smaller_leaf_splits_
->
LeafIndex
()
),
&
smaller_leaf_splits_
->
BestSplitPerFeature
()[
feature_index
]);
// only root leaf
...
...
@@ -180,7 +180,7 @@ void DataParallelTreeLearner::FindBestThresholds() {
larger_leaf_histogram_array_
[
feature_index
].
FindBestThreshold
(
larger_leaf_splits_
->
sum_gradients
(),
larger_leaf_splits_
->
sum_hessians
(),
larger_leaf_splits_
->
num_data_in_leaf
(
),
GetGlobalDataCountInLeaf
(
larger_leaf_splits_
->
LeafIndex
()
),
&
larger_leaf_splits_
->
BestSplitPerFeature
()[
feature_index
]);
}
...
...
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