
Last chance! 50% off unlimited learning
Sale ends in
Create plot from an ablation log
plotAblation(
ablog,
pdf_file = NULL,
width = 20,
height = 7,
type = c("mean", "boxplot", "rank"),
n = 0L,
mar = NULL,
ylab = "Mean configuration cost",
ylim = NULL,
rename_labels = NULL,
...
)
(list()
|character(1)
) Ablation log object returned by ablation()
. Alternatively, the path to an .Rdata
file, e.g., "log-ablation.Rdata"
, from which the object will be loaded.
Output filename.
Width provided to create the PDF file.
Height provided to create the PDF file.
Type of plot. Supported values are "mean"
and "boxplot"
. Adding "rank"
will plot rank per instance instead of raw cost value.
integer(1)
Number of parameters included in the plot. By default all parameters are included.
Vector with the margins for the ablation plot.
Label of y-axis.
Numeric vector of length 2 giving the y-axis range.
character()
Renaming table for nicer labels. For example, c("No value"="NA", "LongParameterName"="LPN")
.
Further graphical parameters may also be supplied as
arguments. See graphics::plot.default()
.
Leslie Pérez Cáceres and Manuel López-Ibáñez
ablation()
ablation_cmdline()
logfile <- file.path(system.file(package="irace"), "exdata", "log-ablation.Rdata")
plotAblation(ablog = logfile)
plotAblation(ablog = logfile, type = "mean")
plotAblation(ablog = logfile, type = c("rank","boxplot"), rename_labels = c(
"localsearch"="ls", algorithm="algo", source="default"))
Run the code above in your browser using DataLab