Generate performance scaling figures wrt constraints. See also:
- ppfigdim for the unconstrained case
- compall/ppfigcons for the same plot but with a single target and 2 or more algorithms
- TODOs:
- add legend: on first figure ?
- review the caption and html caption
Function | beautify |
Customize figure presentation. |
Function | generate |
Computes an array of results to be plotted. |
Function | main |
From a DataSetList, returns a convergence and ERT/dim figure vs dim. |
Function | plot |
From a DataSetList, plot a figure of ERT/dim vs number of constraints. |
Function | plot |
plot/draw a notched error bar, x is the x-position, y[0,1,2] are lower, median and upper percentile respectively. |
Function | plot |
Add graph of the reference algorithm, specified in testbedsettings.current_testbed using the last, most difficult target in target. |
Function | scaling |
Provides a figure caption with the help of captions.py for replacing common texts, abbreviations, etc. |
Variable | refcolor |
Undocumented |
Variable | styles |
Undocumented |
Variable | xlim |
Undocumented |
Variable | ynormalize |
Undocumented |
Customize figure presentation.
Uses information from the appropriate benchmark short infos file for figure title.
Computes an array of results to be plotted.
Returns | |
(ert, success rate, number of success, total number of function evaluations, median of successful runs). |
From a DataSetList, returns a convergence and ERT/dim figure vs dim.
If available, uses data of a reference algorithm as specified in :py:genericsettings.py.
Parameters | |
ds | Undocumented |
_values | Undocumented |
outputdir | Undocumented |
data sets | |
seq _values | target precisions, either as list or as pproc.TargetValues class instance. There will be as many graphs as there are elements in this input. |
string outputdir | output directory |
From a DataSetList, plot a figure of ERT/dim vs number of constraints.
There will be one set of graphs per function represented in the input data sets. Most usually the data sets of different functions will be represented separately.
Parameters | |
ds | Undocumented |
values | Undocumented |
styles | Undocumented |
data sets | |
seq values | target precisions via class TargetValues, there might be as many graphs as there are elements in this input. Can be different for each function (a dictionary indexed by ifun). |
Returns | |
handles |
plot/draw a notched error bar, x is the x-position, y[0,1,2] are lower, median and upper percentile respectively.
hold(True) to see everything.
TODO: with linewidth=0, inf is not visible
Add graph of the reference algorithm, specified in testbedsettings.current_testbed using the last, most difficult target in target.