Below is my current code, where
-
enet is elastic net model
-
recip is recipe
-
pen_mix_grid is different combinations of penalty and mixture values for glmnet, and
-
folds is a vfold_cv() resample
outputt = tune_grid(enet,
preprocessor = recip,
grid = pen_mix_grid,
resamples = folds)
I would like it to only try different penalty and mixture values of glmnet, so I tried resamples = NULL and removing the argument without success. How can I make it ignore resamples argument?