Learn R Programming

aslib (version 0.1.2)

plotAlgoPerf: EDA plots for performance values of algorithms across all instances.

Description

If NAs occur, they are imputed (before aggregation) by base + 0.3 range + jitter . base is is the cutoff value for runtimes scenarios with cutoff or the worst performance for all others.

For the CDFs we only show the visible area where successful runs occurred.

Stochastic replications are aggregated by the mean value.

Usage

plotAlgoPerfBoxplots(
  asscenario,
  measure,
  impute.zero.vals = FALSE,
  log = FALSE,
  impute.failed.runs = TRUE,
  rm.censored.runs = TRUE
)

plotAlgoPerfCDFs( asscenario, measure, impute.zero.vals = FALSE, log = FALSE, rm.censored.runs = TRUE )

plotAlgoPerfDensities( asscenario, measure, impute.failed.runs = TRUE, impute.zero.vals = FALSE, log = FALSE, rm.censored.runs = TRUE )

plotAlgoPerfScatterMatrix( asscenario, measure, impute.zero.vals = FALSE, log = FALSE, rm.censored.runs = TRUE )

Value

ggplot2 plot object.

Arguments

asscenario

[ASScenario]
Algorithm selection scenario.

measure

[character(1)]
Measure to plot. Default is first measure in scenario.

impute.zero.vals

[logical(1)]
Should values which are exactly 0 be imputed to 1e-6? This allows to take the logarithm later on, handy for subsequent visualizations. Note that this really only makes sense for non-negative measures! Default is FALSE.

log

[logical(1)]
Should the performance values be log10-transformed in the plot? Default is FALSE.

impute.failed.runs

[logical(1)]
Should runtimes for failed runs be imputed? Default is TRUE.

rm.censored.runs

[logical(1)]
Should runtimes for censored runs (i.e. runs that have hitted the walltime) be removed (and eventually be imputed along with the remaining NAs)? Default is TRUE.