Feature Request: ability to pass dataframe to validation
argument of xgboost
#765
Labels
feature
a feature request or enhancement
Related to #760
Current implementation of the
validation
parameter inboost_tree
is to only set the proportion of training data to use as the validation set. It would be great to have the ability to pass a dataframe as an argument tovalidation
as well. This would be really helpful if there is a grouping structure within the data and you want to test if the model generalizes to difference groups, and would align theparsnip
capabilities to matchxbg.train()
Not a great example but just for demonstration
The text was updated successfully, but these errors were encountered: