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
7f778877
Commit
7f778877
authored
Jan 01, 2017
by
Guolin Ke
Committed by
GitHub
Jan 01, 2017
Browse files
fix #154
parent
a034ceeb
Changes
1
Show 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 @
7f778877
...
@@ -1603,7 +1603,7 @@ class Booster(object):
...
@@ -1603,7 +1603,7 @@ class Booster(object):
self
.
handle
,
self
.
handle
,
actual_len
,
actual_len
,
ctypes
.
byref
(
tmp_out_len
),
ctypes
.
byref
(
tmp_out_len
),
ctypes
.
byref
(
ptr_string_buffer
))
)
ptr_string_buffer
))
return
json
.
loads
(
string_buffer
.
value
.
decode
())
return
json
.
loads
(
string_buffer
.
value
.
decode
())
def
predict
(
self
,
data
,
num_iteration
=-
1
,
raw_score
=
False
,
pred_leaf
=
False
,
data_has_header
=
False
,
is_reshape
=
True
):
def
predict
(
self
,
data
,
num_iteration
=-
1
,
raw_score
=
False
,
pred_leaf
=
False
,
data_has_header
=
False
,
is_reshape
=
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