Heatmap that displays the frequency of sampling values of two parameters.
sampling_heatmap(
irace_results,
param_names,
sizes = c(0, 0),
iterations = NULL,
only_elite = TRUE,
filename = NULL
)
The data generated when loading the .Rdata
file created by irace
(or the filename of that file).
(character()
) Parameters to be included in the plot. Example:
c("algorithm","alpha","rho","q0","rasrank")
.
Numeric vector that indicated the number of intervals to be considered for numerical parameters. This argument is positional with respect to param_names. By default, numerical parameters are displayed using 10 intervals. (example sizes = c(0,10))
Numeric vector, iteration number that should be included in the plot (example: iterations = c(1,4,5))
logical (default TRUE), only print elite configurations.
(character(1)
) File name to save the plot, for example "~/path/example/filename.png"
.
sampling heat map plot
iraceResults <- read_logfile(system.file(package="irace", "exdata",
"irace-acotsp.Rdata", mustWork = TRUE))
sampling_heatmap(iraceResults, param_names=c("beta", "alpha"))
sampling_heatmap(iraceResults, param_names=c("beta", "alpha"), iterations = c(3,4))
sampling_heatmap(iraceResults, param_names=c("beta", "alpha"), only_elite = FALSE)