psRace {irace} | R Documentation |
Postselection race
Description
psRace
performs a postselection race of a set of configurations.
Usage
psRace(
iraceResults,
max_experiments,
conf_ids = NULL,
iteration_elites = FALSE
)
Arguments
iraceResults |
|
max_experiments |
|
conf_ids |
IDs of the configurations in iraceResults$allConfigurations to be used for ablation.
If NULL, the |
iteration_elites |
If TRUE, only select the best configuration of each iteration.
If FALSE, select from all elite configurations of all iterations. |
Value
If iraceLogFile is NULL, it returns a list with the following elements:
- configurations
Configurations used in the race.
- instances
A matrix with the instances used in the experiments. First column has the instances ids from iraceResults$scenario$instances, second column the seed assigned to the instance.
- maxExperiments
Maximum number of experiments set for the race.
- experiments
A matrix with the results of the experiments (columns are configurations, rows are instances).
- elites
Best configurations found in the experiments.
If iraceLogFile
is provided this list object will be saved in iraceResults$psrace_log
.
Author(s)
Leslie Pérez Cáceres and Manuel López-Ibáñez
Examples
logfile <- system.file(package="irace", "exdata", "sann.rda")
# Execute the postselection after the execution of irace. Use 10% of the total budget.
psRace(logfile, max_experiments=0.1)