This bug happened because we don't know the name of the outcome(s) y when using fit_xy() because it is often a nameless vector. So instead, what I tried to do was to save the names of the x and subset with those when appropriate.
This is NOT a xgboost issue. it is just that xgboost complains more loudly than other engines.
This pull request 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.
to close #1166.
This bug happened because we don't know the name of the outcome(s)
y
when usingfit_xy()
because it is often a nameless vector. So instead, what I tried to do was to save the names of thex
and subset with those when appropriate.This is NOT a xgboost issue. it is just that xgboost complains more loudly than other engines.
Created on 2024-08-30 with reprex v2.1.0