Control aspects of the simulated annealing search process
control_sim_anneal( verbose = TRUE, no_improve = Inf, restart = 8L, radius = c(0.05, 0.15), flip = 3/4, cooling_coef = 0.02, extract = NULL, save_pred = FALSE, time_limit = NA, pkgs = NULL, save_workflow = FALSE, save_history = FALSE, event_level = "first", parallel_over = NULL )
A logical for logging results as they are generated. Despite
this argument, warnings and errors are always shown. If using a dark IDE
theme, some logging messages might be hard to see. If this is the case,
try setting the
The integer cutoff for the number of iterations without better results.
The number of iterations with no improvement before new tuning parameter candidates are generated from the last, overall best conditions.
Two real numbers on
A real number between
A real, positive number to influence the cooling schedule. Larger values decrease the probability of accepting a sub-optimal parameter setting.
An optional function with at least one argument (or
A logical for whether the out-of-sample predictions should be saved for each model evaluated.
A number for the minimum number of minutes (elapsed) that
the function should execute. The elapsed time is evaluated at internal
checkpoints and, if over time, the results at that time are returned (with
a warning). This means that the
An optional character string of R package names that should be loaded (by namespace) during parallel processing.
A logical for whether the workflow should be appended to the output as an attribute.
A logical to save the iteration details of the search.
These are saved to
A single string containing either "first" or "second".
This argument is passed on to
A single string containing either
control_sim_anneal()#> Simulated annealing control object