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
1e3b57d4
Unverified
Commit
1e3b57d4
authored
Apr 19, 2018
by
Guolin Ke
Committed by
GitHub
Apr 19, 2018
Browse files
[R] fix warning at prediction (#1323)
* Update lgb.Booster.R * Update lgb.Booster.R
parent
ebf962fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
R-package/R/lgb.Booster.R
R-package/R/lgb.Booster.R
+2
-1
No files found.
R-package/R/lgb.Booster.R
View file @
1e3b57d4
...
...
@@ -410,6 +410,7 @@ Booster <- R6Class(
num_iteration
=
NULL
,
rawscore
=
FALSE
,
predleaf
=
FALSE
,
predcontrib
=
FALSE
,
header
=
FALSE
,
reshape
=
FALSE
,
...
)
{
...
...
@@ -420,7 +421,7 @@ Booster <- R6Class(
# Predict on new data
predictor
<-
Predictor
$
new
(
private
$
handle
,
...
)
predictor
$
predict
(
data
,
num_iteration
,
rawscore
,
predleaf
,
header
,
reshape
)
predictor
$
predict
(
data
,
num_iteration
,
rawscore
,
predleaf
,
predcontrib
,
header
,
reshape
)
},
...
...
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