"include/LightGBM/vscode:/vscode.git/clone" did not exist on "491dd019a24e86003506c0db794be47844f8fff7"
Unverified Commit bdc310a8 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] Sort indices in lgb.cv() (fixes #2503) #2524

parent 44b0acac
......@@ -87,7 +87,7 @@ Dataset <- R6::R6Class(
private$categorical_feature <- categorical_feature
private$predictor <- predictor
private$free_raw_data <- free_raw_data
private$used_indices <- used_indices
private$used_indices <- sort(used_indices, decreasing = FALSE)
private$info <- info
},
......@@ -481,7 +481,7 @@ Dataset <- R6::R6Class(
private$categorical_feature,
private$predictor,
private$free_raw_data,
idxset,
sort(idxset, decreasing = FALSE),
NULL,
...)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment