Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unused argument (info = info_list) #119

Closed
nipnipj opened this issue Mar 22, 2024 · 2 comments
Closed

unused argument (info = info_list) #119

nipnipj opened this issue Mar 22, 2024 · 2 comments

Comments

@nipnipj
Copy link

nipnipj commented Mar 22, 2024

I'm trying to fit a model as follows:

xgboost_model <-
  boost_tree( ) %>%
  set_engine("xgboost") %>% 
  set_mode("regression")

wf_xgboost <- workflow() %>% 
  add_recipe(rec) %>% 
  add_model(xgboost_model)

trained_wf <- wf_xgboost %>% fit(train_data)

I get the following error:

Error in xgboost::xgb.DMatrix(data = x[trn_index, , drop = FALSE], missing = NA,  : 
  unused argument (info = info_list)
@EmilHvitfeldt
Copy link
Member

Closing as duplicate of tidymodels/parsnip#1087

Copy link

github-actions bot commented Apr 6, 2024

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants