## Not run: ------------------------------------
# for (i in 1:5) {
# # First we create the training data
# temp_train <- LauraeML_utils.xgb_data(data = mini_data,
# fold = folds[[i]],
# label = label,
# is_train = TRUE)
#
# # Second we create the testing data
# temp_test <- LauraeML_utils.xgb_data(data = mini_data,
# fold = folds[[i]],
# label = label,
# is_train = FALSE)
# }
## ---------------------------------------------
Run the code above in your browser using DataLab