Generates figure of the bootstrap distribution of (function) evaluations.
The main method in this module generates figures of Empirical Cumulative Distribution Functions of the bootstrap distribution of the (function) evaluations needed to reach a target divided by the dimension for many algorithms.
The outputs show the ECDFs of the running times of the simulated runs divided by dimension for 50 different targets logarithmically uniformly distributed in [1e−8, 1e2]. The crosses (×) give the median number of function evaluations of unsuccessful runs divided by dimension.
Example
Function | all |
Undocumented |
Function | beautify |
Customize figure presentation. |
Function | main |
Generates a figure showing the performance of algorithms. |
Function | plot |
This function is obsolete? Generates a graph of the run length distribution of an algorithm. |
Function | plotdata |
Draw a normalized ECDF. What means normalized? |
Function | plot |
Display right-side legend. |
Function | plt |
Undocumented |
Function | text |
to be displayed in the figure corner |
Constant | EDA |
Undocumented |
Constant | GA |
Undocumented |
Constant | MC |
Undocumented |
Constant | TAO |
Undocumented |
Variable | annotation |
Undocumented |
Variable | annotation |
Undocumented |
Variable | best |
Undocumented |
Variable | best2 |
Undocumented |
Variable | bestbest |
Undocumented |
Variable | bestnoisy |
Undocumented |
Variable | budget |
Undocumented |
Variable | classics |
Undocumented |
Variable | close |
Undocumented |
Variable | displaybest |
Undocumented |
Variable | divide |
Undocumented |
Variable | eseda |
Undocumented |
Variable |
|
Undocumented |
Variable | fmulti |
Undocumented |
Variable | funi |
Undocumented |
Variable | funilipschitz |
Undocumented |
Variable | funisep |
Undocumented |
Variable | label |
Undocumented |
Variable | max |
Undocumented |
Variable | max |
Undocumented |
Variable | max |
Undocumented |
Variable | nbperdecade |
Undocumented |
Variable | nikos |
Undocumented |
Variable | nikos40 |
Undocumented |
Variable | petr |
Undocumented |
Variable |
|
Undocumented |
Variable | save |
Undocumented |
Variable | save |
Undocumented |
Variable | show |
Undocumented |
Variable | size |
Undocumented |
Variable |
|
Undocumented |
Variable | third |
Undocumented |
Variable | title |
Undocumented |
Variable | xticks |
Undocumented |
Variable | yticks |
Undocumented |
Undocumented
Generates a figure showing the performance of algorithms.
From a dictionary of DataSetList
sorted by algorithms,
generates the cumulative distribution function of the bootstrap
distribution of evaluations for algorithms on multiple functions for
multiple targets altogether.
Parameters | |
dict | Undocumented |
order | Undocumented |
outputdir | Undocumented |
info | Undocumented |
dimension | Undocumented |
parent | Undocumented |
plot | Undocumented |
settings | Undocumented |
dict dict | dictionary of DataSetList instances
one instance is equivalent to one algorithm, |
list targets | target function values |
list order | sorted list of keys to dictAlg for plotting order |
str outputdir | output directory |
str info | output file name suffix |
str parent | defines the parent html page |
This function is obsolete? Generates a graph of the run length distribution of an algorithm.
We display the empirical cumulative distribution function ECDF of
the bootstrapped distribution of the runlength for an algorithm
(in number of function evaluations) to reach the target functions
value targets
.
Parameters | |
ds | Undocumented |
targets | Undocumented |
craftingeffort | Undocumented |
data set for one algorithm | |
seq targets | target function values |
float crafting effort | the data will be multiplied by the exponential of this value |
dict kwargs | additional parameters provided to plot function. |
**kwargs | Undocumented |
Returns | |
handles |
Draw a normalized ECDF. What means normalized?
Parameters | |
data | Undocumented |
maxval | Undocumented |
maxevals | Undocumented |
Undocumented | |
maxevals2 | a single value or values to be plotted as median(maxevals2) with the same marker as maxevals |
seq data | data set, a 1-D ndarray of runlengths |
float maxval | right-most value to be displayed, will use the largest non-inf, non-nan value in data if not provided |
seq maxevals | if provided, will plot the median of this sequence as a single cross marker |
float | Crafting effort the data will be multiplied by the exponential of this value |
**kwargs | optional arguments provided to plot function. |
Display right-side legend.
The figure is stopped at maxval (upper x-bound), and the graphs in the figure are prolonged with straight lines to the right to connect with labels of the graphs (uniformly spread out vertically). The order of the graphs at the upper x-bound line give the order of the labels, in case of ties, the best is the graph for which the x-value of the first step (from the right) is smallest.
The annotation string is stripped from preceeding pathnames.
Parameters | |
handles | Undocumented |
maxval | Undocumented |
float maxval | rightmost x boundary |
Returns | |
list of (ordered) labels and handles. |
to be displayed in the figure corner
TODO: is a method with no arguments because if made a variable, an error is raised as it is computed before testbedsettings.current_testbed is instantiated in some import
Undocumented
Value |
|