Error: All inputs to `metric_set()` must be functions. These inputs are not: (1, 2).

Can someone please help me identify what I'm doing wrong here.
my_res=tune_grid(
rf_model,
Price~.,
resamples = folds,
grid = rf_grid,
#metrics = metric_set(rmse,mae),
control = control_grid(verbose = TRUE)
)

Error -

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.