optim_metric {fastai} | R Documentation |
Replace metric 'f' with a version that optimizes argument 'argname'
optim_metric(f, argname, bounds, tol = 0.01, do_neg = TRUE, get_x = FALSE)
f |
f |
argname |
argname |
bounds |
bounds |
tol |
tol |
do_neg |
do_neg |
get_x |
get_x |
None