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
bdc310a8
Unverified
Commit
bdc310a8
authored
Oct 23, 2019
by
James Lamb
Committed by
GitHub
Oct 23, 2019
Browse files
[R-package] Sort indices in lgb.cv() (fixes #2503) #2524
parent
44b0acac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
R-package/R/lgb.Dataset.R
R-package/R/lgb.Dataset.R
+2
-2
No files found.
R-package/R/lgb.Dataset.R
View file @
bdc310a8
...
@@ -87,7 +87,7 @@ Dataset <- R6::R6Class(
...
@@ -87,7 +87,7 @@ Dataset <- R6::R6Class(
private
$
categorical_feature
<-
categorical_feature
private
$
categorical_feature
<-
categorical_feature
private
$
predictor
<-
predictor
private
$
predictor
<-
predictor
private
$
free_raw_data
<-
free_raw_data
private
$
free_raw_data
<-
free_raw_data
private
$
used_indices
<-
used_indices
private
$
used_indices
<-
sort
(
used_indices
,
decreasing
=
FALSE
)
private
$
info
<-
info
private
$
info
<-
info
},
},
...
@@ -481,7 +481,7 @@ Dataset <- R6::R6Class(
...
@@ -481,7 +481,7 @@ Dataset <- R6::R6Class(
private
$
categorical_feature
,
private
$
categorical_feature
,
private
$
predictor
,
private
$
predictor
,
private
$
free_raw_data
,
private
$
free_raw_data
,
idxset
,
sort
(
idxset
,
decreasing
=
FALSE
),
NULL
,
NULL
,
...
)
...
)
...
...
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