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
0c708d37
Unverified
Commit
0c708d37
authored
Sep 11, 2020
by
James Lamb
Committed by
GitHub
Sep 11, 2020
Browse files
[python] remove unused variable (#3376)
parent
788f3a1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python-package/lightgbm/basic.py
python-package/lightgbm/basic.py
+1
-1
No files found.
python-package/lightgbm/basic.py
View file @
0c708d37
...
...
@@ -2906,7 +2906,7 @@ class Booster(object):
new_booster
.
handle
,
predictor
.
handle
))
leaf_preds
=
leaf_preds
.
reshape
(
-
1
)
ptr_data
,
type_ptr_data
,
_
=
c_int_array
(
leaf_preds
)
ptr_data
,
_
,
_
=
c_int_array
(
leaf_preds
)
_safe_call
(
_LIB
.
LGBM_BoosterRefit
(
new_booster
.
handle
,
ptr_data
,
...
...
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