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
8415924c
Commit
8415924c
authored
Aug 19, 2019
by
James Lamb
Committed by
Nikita Titov
Aug 19, 2019
Browse files
[R-package] corrected typo in R unit tests (fixes #2336) (#2337)
parent
c0883f17
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
R-package/tests/testthat/test_basic.R
R-package/tests/testthat/test_basic.R
+1
-1
No files found.
R-package/tests/testthat/test_basic.R
View file @
8415924c
...
...
@@ -76,6 +76,6 @@ test_that("training continuation works", {
test_that
(
"cv works"
,
{
dtrain
<-
lgb.Dataset
(
train
$
data
,
label
=
train
$
label
)
params
<-
list
(
objective
=
"regression"
,
metric
=
"l2,l1"
)
bst
<-
lgb.cv
(
params
,
dtrain
,
10
,
nf
l
od
=
5
,
min_data
=
1
,
learning_rate
=
1
,
early_stopping_rounds
=
10
)
bst
<-
lgb.cv
(
params
,
dtrain
,
10
,
nfo
l
d
=
5
,
min_data
=
1
,
learning_rate
=
1
,
early_stopping_rounds
=
10
)
expect_false
(
is.null
(
bst
$
record_evals
))
})
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