The `sampling_pie` function creates a pie plot of the values sampled of a set of selected parameters. Numerical parameters are discretized to maximum n_bins intervals.

The size of the slices are proportional to the number of configurations that have assigned a parameter value within the rank or the value assigned to that slice. Parameters can be selected by providing their names in the param_names argument.

sampling_pie(irace_results, param_names = NULL, n_bins = 3, file_name = NULL)

Arguments

irace_results

The data generated when loading the Rdata file created by irace

param_names

String vector, A set of parameters to be included (example: param_names = c("algorithm","dlb"))

n_bins

Numeric (default 3), number of intervals to generate for numerical parameters.

file_name

String, File name to save plot (example: "~/path/to/file_name.png")

Value

Sampling pie plot

Examples

sampling_pie(iraceResults) sampling_pie(iraceResults, param_names = c("algorithm", "dlb", "ants"))