irace (version 3.1)

parameterFrequency: Plot of histogram of parameter values

Description

parameterFrequency plots the frequency of the parameters values in a set of target algorithm configurations. It generates plots showing the frequency of parameter values for each parameter, with rows * cols parameters being shown per plot. If a filename is provided the plots are saved in one or more files.

Usage

parameterFrequency(configurations, parameters, rows = 4, cols = 3,
  filename = NULL, pdf.width = 12, col = "gray")

Arguments

configurations

Data frame containing target algorithms configurations in the format used by irace.

parameters

List of target algorithm parameters in the irace format.

rows

Number of plots per column.

cols

Number of plots per row.

filename

Filename prefix to generate the plots. If NULL the plot displayed but not saved.

pdf.width

Width for the pdf file generated.

col

Color of the bar plot.

See Also

readParameters to obtain a valid parameter structure from a parameters file. readConfigurationsFile to obtain a set of target algorithm configurations from a configurations file.

Examples

Run this code
# NOT RUN {
 ## To use data obtained by irace

 # First, load the data produced by irace.
 irace.logfile <- file.path(system.file(package="irace"), "exdata", "irace-acotsp.Rdata")
 load(irace.logfile)
 attach(iraceResults)
 parameterFrequency(allConfigurations, parameters)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab