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
0c22d5cc
Commit
0c22d5cc
authored
Aug 24, 2017
by
Laurae
Committed by
Guolin Ke
Aug 24, 2017
Browse files
leaf_parent does not seem to exist anymore (#862)
parent
3f0061ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
R-package/R/lgb.model.dt.tree.R
R-package/R/lgb.model.dt.tree.R
+0
-1
No files found.
R-package/R/lgb.model.dt.tree.R
View file @
0c22d5cc
...
@@ -121,7 +121,6 @@ single.tree.parse <- function(lgb_tree) {
...
@@ -121,7 +121,6 @@ single.tree.parse <- function(lgb_tree) {
# Overwrite data.table - this should be switched to an envir in the future
# Overwrite data.table - this should be switched to an envir in the future
single_tree_dt
<<-
data.table
::
rbindlist
(
l
=
list
(
single_tree_dt
,
single_tree_dt
<<-
data.table
::
rbindlist
(
l
=
list
(
single_tree_dt
,
tree_node_leaf
[
c
(
"leaf_index"
,
tree_node_leaf
[
c
(
"leaf_index"
,
"leaf_parent"
,
"leaf_value"
,
"leaf_value"
,
"leaf_count"
)]),
"leaf_count"
)]),
use.names
=
TRUE
,
use.names
=
TRUE
,
...
...
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