Learn R Programming

irace (version 2.1)

parallelCoordinatesPlot: parallelCoordinatesPlot

Description

'parallelCoordinatesPlot' plots a set of parameter configurations in parallel coordinates.

Usage

parallelCoordinatesPlot(configurations, parameters, param_names = parameters$names, hierarchy = TRUE, filename = NULL, pdf.width = 14, mar = c(8,1,4,1))

Arguments

configurations
Data frame containing target algorithms configurations in the format used by irace.
parameters
List of target algorithm parameters in the irace format.
param_names
Parameters names that should be included. Default: parameters$names.
hierarchy
If TRUE conditional parameters will be displayed in a different plot. Default TRUE.
filename
Filename prefix to generate the plots. If NULL the plot displayed but not saved.
pdf.width
Width for the pdf file generated.
mar
Margin to use for the plot. See par.

Value

A set of parallel coordinates plots showing the parameters values. If a filename is provided this plots are saved in one or more files.

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.
# load("irace.Rdata")
# attach(iraceResults)
# parallelCoordinatesPlot(allConfigurations, parameters, hierarchy = FALSE)
# ## End(Not run)

Run the code above in your browser using DataLab