Nothing
#' Summarise by iteration
#'
#' @template arg_irace_results
#'
#' @return tibble
#'
#' @examples
#' irace_result <- read_logfile(system.file(package="irace", "exdata",
#' "irace-acotsp.Rdata", mustWork = TRUE))
#' summarise_by_iteration(irace_result)
#' @export
summarise_by_iteration <- function(irace_results)
{
iteration <- configuration <- instance <- NULL # Silence CRAN warnings.
as_tibble(irace_results$state$experiment_log) %>%
# Replace iteration 0 (used for estimating computation time)
mutate(iteration = replace(iteration, iteration == 0L, 1L)) %>%
group_by(iteration) %>%
summarise(configurations = n_distinct(configuration),
instances = n_distinct(instance), experiments=dplyr::n()) %>%
mutate(elites = sapply(irace_results$allElites, length),
best_id = irace_results$iterationElites)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.