Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)
Parameter configurations of the target algorithm (one per row).

parameters

(list())
Data structure containing the parameter space definition. The data structure has to similar to the one returned by the function readParameters.

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.

Author(s)

Manuel López-Ibáñez and Leslie Pérez Cáceres

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

## 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)

irace

Iterated Racing for Automatic Algorithm Configuration

v3.4.1
GPL (>= 2)
Authors
Manuel López-Ibáñez [aut, cre] (<https://orcid.org/0000-0001-9974-1295>), Jérémie Dubois-Lacoste [aut], Leslie Pérez Cáceres [aut], Thomas Stützle [aut], Mauro Birattari [aut], Eric Yuan [ctb], Prasanna Balaprakash [ctb], Nguyen Dang [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.