View source: R/boxplot_performance.R
boxplot_performance | R Documentation |
Creates a box plot that displays the performance of a set of configurations which can be displayed by iteration.
boxplot_performance(
experiments,
allElites = NULL,
type = c("all", "ibest"),
first_is_best = TRUE,
rpd = TRUE,
show_points = TRUE,
best_color = "#08bfaa",
xlab = "Configurations",
boxplot = FALSE,
filename = NULL,
interactive = base::interactive()
)
experiments |
|
allElites |
List or vector of configuration ids, (default NULL). These configurations
should be included in the plot. If the argument is not provided all configurations
in experiments are included. If allElites is a vector all configurations are
assumed without iteration unless argument |
type |
String, (default "all") possible values are "all" or "ibest". "all" shows all the selected configurations showing iterations if the information is provided. "ibest" shows the elite configurations of each iteration, note that the best configuration is always assumed to be first in the vector of each iteration. |
first_is_best |
Boolean (default TRUE) Enables the display in a different color the best configuration identified as the first one in a vector. If FALSE, all configurations are shown in the same color. |
rpd |
( |
show_points |
Logical, (default TRUE) TRUE to plot performance points together with the box plot. |
best_color |
String, (default |
xlab |
String, (default |
boxplot |
By default, display a violin plot ( |
filename |
( |
interactive |
( |
The performance data is obtained from the experiment matrix provided in the experiments argument. The configurations can be selected using the allElites argument and this argument can be also used to define the iteration of each elite configuration was evaluated.
ggplot2::ggplot()
boxplot object
boxplot_test()
boxplot_training()
iraceResults <- read_logfile(system.file(package="irace", "exdata",
"irace-acotsp.Rdata", mustWork = TRUE))
boxplot_performance(iraceResults$experiments, iraceResults$allElites)
boxplot_performance(iraceResults$testing$experiments, iraceResults$iterationElites)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.