ablation {irace} | R Documentation |
Performs ablation between two configurations (from source to target).
Description
Ablation is a method for analyzing the differences between two configurations.
Usage
ablation(
iraceResults,
src = 1L,
target = NULL,
ab.params = NULL,
type = c("full", "racing"),
n_instances = 1L,
seed = 1234567,
ablationLogFile = "log-ablation.Rdata",
...
)
Arguments
iraceResults |
( |
src , target |
Source and target configuration IDs. By default, the first configuration ever evaluated (ID 1) is used as |
ab.params |
Specific parameter names to be used for the ablation. They must be in |
type |
Type of ablation to perform: |
n_instances |
( |
seed |
( |
ablationLogFile |
( |
... |
Further arguments to override scenario settings, e.g., |
Value
A list containing the following elements:
- configurations
Configurations tested in the ablation.
- 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.- experiments
A matrix with the results of the experiments (columns are configurations, rows are instances).
- scenario
Scenario object with the settings used for the experiments.
- trajectory
IDs of the best configurations at each step of the ablation.
- best
Best configuration found in the experiments.
Author(s)
Leslie Pérez Cáceres and Manuel López-Ibáñez
References
C. Fawcett and H. H. Hoos. Analysing differences between algorithm configurations through ablation. Journal of Heuristics, 22(4):431–458, 2016.
See Also
Examples
logfile <- system.file(package="irace", "exdata", "sann.rda")
# Execute ablation between the first and the best configuration found by irace.
ablog <- ablation(logfile, ablationLogFile = NULL)
plotAblation(ablog)
# Execute ablation between two selected configurations, and selecting only a
# subset of parameters, directly reading the setup from the irace log file.
ablog <- ablation(logfile, src = 1, target = 10,
ab.params = c("temp"), ablationLogFile = NULL)
plotAblation(ablog)