Return the elite configurations of the final iteration.
Source:R/parameterAnalysis.R
getFinalElites.Rd
Return the elite configurations of the final iteration.
Arguments
- iraceResults
(
list()
|character(1)
)iraceResults
object created by irace and typically saved in the log fileirace.Rdata
. If a character string is given, then it is interpreted as the path to the log file from which theiraceResults
object will be loaded.- n
Number of elite configurations to return, if
n
is larger than the number of configurations, then only the existing ones are returned. The default (n=0
) returns all of them.- drop.metadata
Remove metadata, such the configuration ID and the ID of the parent, from the returned configurations. See
removeConfigurationsMetaData
.
Examples
log_file <- system.file("exdata/irace-acotsp.Rdata", package="irace", mustWork=TRUE)
print(removeConfigurationsMetaData(getFinalElites(log_file, n=1)))
#> algorithm localsearch alpha beta rho ants nnls q0 dlb rasrank
#> 149 acs 3 1.5633 1.1449 0.2693 8 14 0.3597 1 NA
#> elitistants
#> 149 NA