We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7389222 commit 8cef8baCopy full SHA for 8cef8ba
R/boost_tree.R
@@ -345,7 +345,11 @@ xgb_train <- function(
345
arg_list$num_class <- num_class
346
}
347
348
- param_names <- names(formals(xgboost::xgb.params))
+ param_names <- names(
349
+ formals(
350
+ getFromNamespace("xgb.params", ns = "xgboost")
351
+ )
352
353
354
if (any(param_names %in% names(others))) {
355
elements <- param_names[param_names %in% names(others)]
0 commit comments