MyNixOS website logo
Description

Plots for Visualizing the Data Produced by the 'irace' Package.

Graphical visualization tools for analyzing the data produced by 'irace'. The 'iraceplot' package enables users to analyze the performance and the parameter space data sampled by the configuration during the search process. It provides a set of functions that generate different plots to visualize the configurations sampled during the execution of 'irace' and their performance. The functions just require the log file generated by 'irace' and, in some cases, they can be used with user-provided data.

The iraceplot package

CRANStatus R-CMD-check Codecov test coverage

Maintainers: Leslie Pérez Cáceres, Manuel López-Ibáñez

Creators: Pablo Oñate Marín, Leslie Pérez Cáceres, Manuel López-Ibáñez

Contact:https://groups.google.com/d/forum/irace-package


Introduction

The iraceplot package provides different plots to visualize the data generated by the irace software for automatic algorithm configuration (hyper-parameter optimization).

This package provides visualizations of:

  • Parameter configurations using parallel coordinates with parallel_coord().
  • Boxplots of configurations performance (training and testing) with boxplot_training() and boxplot_test().
  • Sampling distributions with sampling_frequency().
  • Overview of all performance data generate by a single run of irace with plot_experiments_matrix().

For more details about these functions, please check the user guide of the package and the documentation of the functions implemented in the package.

The package also provides an HTML report, using report(), summarizing relevant information obtained during an execution of irace.

The aim of this package is to provide support for the analysis of the best parameter settings found, the assessment of the parameter space explored by irace and the overall performance of the configuration process. Such analysis might lead to insights about the role of algorithmic components their interactions, or to improve the configuration process itself.

Keywords: automatic configuration, offline tuning, parameter tuning, parameter visualization, irace.

Requisites

User guide

A user guide comes with the package. The following is a quick-start guide. The user guide gives more detailed instructions.

Installing R

The official instructions are available at https://cran.r-project.org/doc/manuals/r-release/R-admin.html. We give below a quick R installation guide that will work in most cases.

GNU/Linux

You should install R from your package manager. On a Debian/Ubuntu system it will be something like:

$ sudo apt-get install r-base

Once R is installed, you can launch R from the Terminal and from the R prompt install the iraceplot package. See instructions below.

OS X

You can install R directly from a CRAN mirror (https://cran.r-project.org/bin/macosx/).

Alternatively, if you use homebrew, you can just do

    $ brew install --cask r

(Using brew install r is not recommended because that will build R from source and you will not be able to use any CRAN binary, possibly resulting in annoying build failures).

Once R is installed, you can launch R from the Terminal (or from your Applications), and from the R prompt install the iraceplot package. See instructions below.

Windows

You can install R from a CRAN mirror (https://cran.r-project.org/bin/windows/). Once R is installed, you can launch the R console and install the iraceplot package from it. See instructions below.

Installing the iraceplot package

Stable version

For installing the stable version from CRAN, launch R or Rstudio and evaluate:

install.packages("iraceplot")

Or you may wish to try the development version from GitHub

install.packages("devtools")
devtools::install_github("auto-optimization/iraceplot")

The above commands will install many packages so they may take a while.

Basic Usage

Load the package in the R console:

library(iraceplot)

You need the log file generated by irace (irace.Rdata or the filename given by the option logFile of irace). Then, generate a general-purpose report with:

report("irace.Rdata")

This should create a filename report.html and open it in your browser (if the browser does not open, try to find the file and open it yourself). The result will look something like this report example.

There is a lot more functionality in this package. Check the documentation and the User Guide to identify the plots most suited to your needs.

Metadata

Version

1.3

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows