Closed
Description
I want to be able to tune()
all available hyperparameters in xgboost
(in particular lambda
and alpha
).
It seems that I can only tune()
what is listed in the help https://parsnip.tidymodels.org/reference/details_boost_tree_xgboost.html:
tree_depth
trees
learn_rate
mtry
min_n
loss_reduction
sample_size
stop_iter
Currently, to specify lambda
I need to specify explicitly:
boost_tree("regression",
trees = tune(),
learn_rate = tune()) %>%
set_engine("xgboost", lambda = 100)
How can I tune()
lambda
in that case? In general, why can't I tune()
all hyperparameters available on
https://xgboost.readthedocs.io/en/latest/parameter.html