"...git@developer.sourcefind.cn:kecinstone/2024-pra-vllm.git" did not exist on "86f9eb6d39f12372c7349809485d743241f58907"
Unverified Commit df37bcee authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] use keyword arguments in internal function calls (#3391)

* [R-package] use keyword arguments in internal function calls

* empty commit
parent 28704900
......@@ -121,7 +121,7 @@ lightgbm <- function(data,
# Check whether data is lgb.Dataset, if not then create lgb.Dataset manually
if (!lgb.is.Dataset(dtrain)) {
dtrain <- lgb.Dataset(data, label = label, weight = weight)
dtrain <- lgb.Dataset(data = data, label = label, weight = weight)
}
train_args <- list(
......@@ -152,7 +152,7 @@ lightgbm <- function(data,
)
# Store model under a specific name
bst$save_model(save_name)
bst$save_model(filename = save_name)
return(bst)
}
......
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