irace: irace

Description Usage Arguments Details Value Author(s) See Also Examples

Description

irace implements iterated Race. It receives some parameters to be tuned and returns the best configurations found, namely, the elite configurations obtained from the last iterations (and sorted by rank).

Usage

1
   irace(scenario, parameters)

Arguments

scenario

Data structure containing irace settings.The data structure has to be the one returned by the function defaultScenario() and readScenario(). See documentation of this function for details.

parameters

Data structure containing the parameter definition. The data structure has to be the one returned by the function readParameters(). See documentation of this function for details.

Details

The function irace executes the tuning procedure using the information provided in scenario and parameters. Initially it checks the correctness of scenario and recovers a previous execution if scenario$recoveryFile is set. A R data file log of the execution is created in scenario$logFile.

Value

A data frame with the set of best algorithm configurations found by irace. The data frame has the following columns:

Additinally, this function saves an R data file containing an object called iraceResults. The path of the file is indicated in scenario$logFile. The iraceResults object is a list with the following structure:

Author(s)

Manuel Lopez-Ibañez and Jérémie Dubois-Lacoste

See Also

irace.main a higher-level command-line interface to irace.

readScenario to read the scenario setup from a file.

defaultScenario to provide a default scenario for irace.

readParameters to read the target algorithm parameters from a file.

Examples

1
2
3
4
5
6
7
## Not run: 
parameters <- readParameters("parameters.txt")
scenario <- readScenario(filename="scenario.txt", 
                         scenario=defaultScenario())
irace(scenario=scenario, parameters=parameters)

## End(Not run)

MLopez-Ibanez/iracelhs documentation built on May 15, 2019, 1:57 a.m.