View source: R/readConfiguration.R
readConfigurationsFile | R Documentation |
Reads a set of target-algorithm configurations from a file and puts them in irace format. The configurations are checked to match the parameters description provided.
readConfigurationsFile(filename, parameters, debugLevel = 0L, text)
filename |
|
parameters |
|
debugLevel |
|
text |
|
Example of an input file:
# This is a comment line param_1 param_2 0.5 "value_1" 1.0 NA 1.2 "value_3"
The order of the columns does not necessarily have to be the same as in the file containing the definition of the parameters.
A data frame containing the obtained configurations.
Each row of the data frame is a candidate configuration,
the columns correspond to the parameter names in parameters
.
Manuel López-Ibáñez and Jérémie Dubois-Lacoste
readParameters()
to obtain a valid parameter structure from a parameters file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.