psRace | R Documentation |
psRace
performs a post-selection race of a set of configurations.
psRace(
iraceResults,
max_experiments,
conf_ids = NULL,
iteration_elites = FALSE,
psrace_logFile = NULL
)
iraceResults |
|
max_experiments |
|
conf_ids |
IDs of the configurations in |
iteration_elites |
If |
psrace_logFile |
|
The elite configurations after the post-selection. In addition, if iraceResults$scenario$logFile
is defined,
it saves an updated copy of iraceResults
in that file, where iraceResults$psrace_log
is a list with the following elements:
Configurations used in the post-selection race.
Data frame with the instances used in the post-selection race. First column has the
instances IDs from iraceResults$scenario$instances
, second column the seed assigned to the instance.
Configuration budget assigned to the post-selection race.
Matrix of results generated by the post-selection race, in the same format as the matrix iraceResults$experiments
. Column names are the configuration IDs and row names are the instance IDs.
Best configurations found in the experiments.
Leslie Pérez Cáceres and Manuel López-Ibáñez
irace_log <- read_logfile(system.file(package="irace", "exdata", "sann.rda"))
# Use a temporary file to not change the original "sann.rda".
psrace_logFile <- withr::local_tempfile(fileext = ".Rdata")
# Execute the post-selection after the execution of irace. Use 10% of the total budget.
psRace(irace_log, max_experiments=0.1, psrace_logFile = psrace_logFile)
# Print psrace_log
irace_log <- read_logfile(psrace_logFile)
str(irace_log$psrace_log)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.