Module for computing ERT loss ratio
This module outputs figures and tables showing ERT loss ratios. Comparisons are based on computing the ratio between an ERT value and a reference (best) ERT value (or the inverse)
Function | beautify |
Format the figure. |
Function | boxplot |
Makes a box and whisker plot. |
Function | det |
Undocumented |
Function | detf |
Determines a function value given a number of evaluations. |
Function | figure |
Undocumented |
Function | generate |
Undocumented |
Function | generate |
Generates ERT loss ratio figures. |
Function | generate |
Generates single ERT loss ratio table. |
Function | generate |
Generates single ERT loss ratio table. |
Function | generate |
Generates ERT loss ratio tables. |
Function | main |
Generates ERT loss ratio boxplot figures. |
Function | plot |
Plot the ERT log loss figures. |
Function | table |
Undocumented |
Variable | boxescolor |
Undocumented |
Variable | capscolor |
Undocumented |
Variable | evalf |
Undocumented |
Variable | f |
Undocumented |
Variable | flierscolor |
Undocumented |
Variable | medianscolor |
Undocumented |
Variable | whiskerscolor |
Undocumented |
Makes a box and whisker plot.
Adapted from matplotlib.axes 0.98.5.2 Modified such that the caps are set to the 10th and 90th percentiles, and to have some control on the colors.
call signature:
boxplot(x, notch=0, sym='+', positions=None, widths=None)
Make a box and whisker plot for each column of x or each vector in sequence x. The box extends from the lower to upper quartile values of the data, with a line at the median. The whiskers extend from the box to show the range of the data. Flier points are those past the end of the whiskers.
- notch = 0 (default) produces a rectangular box plot.
- notch = 1 will produce a notched box plot
sym (default 'b+') is the default symbol for flier points. Enter an empty string ('') if you don't want to show fliers.
whis (default 1.5) defines the length of the whiskers as a function of the inner quartile range. They extend to the most extreme data point within ( whis*(75%-25%) ) data range.
positions (default 1,2,...,n) sets the horizontal positions of the boxes. The ticks and limits are automatically set to match the positions.
widths is either a scalar or a vector and sets the width of each box. The default is 0.5, or 0.15*(distance between extreme positions) if that is smaller.
x is an array or a sequence of vectors.
Returns a dictionary mapping each component of the boxplot
to a list of the matplotlib.lines.Line2D
instances created.
Copyright (c) 2002-2009 John D. Hunter; All Rights Reserved
Determines a function value given a number of evaluations.
Let A be the algorithm considered. Let f=f_A(evals) be the smallest target value such that the expected running time of algorithm A was smaller than or equal to evals.
Parameters | |
entry | Undocumented |
evals | Undocumented |
data set | |
list evals | numbers of function evaluations considered |
Returns | |
list of the target function values |
Generates ERT loss ratio figures.
Parameters | |
ds | Undocumented |
Undocumented | |
is | Undocumented |
outputdir | Undocumented |
info | Undocumented |
input data set | |
float | crafting effort (see COCO documentation) |
bool is | if set to True, the first call to this
function sets the global
evalf and all subsequent
calls will use this value as boundaries
in the generated figures. |
string outputdir | output folder (must exist) |
string info | string suffix for output file names |
Generates single ERT loss ratio table.
Parameters | |
ds | Undocumented |
funcs | |
m | |
d | |
prc | |
EVALS | |
data | |
outputdir | Undocumented |
info | Undocumented |
input data set | |
string outputdir | output folder (must exist) |
string info | string suffix for output file names |
Generates single ERT loss ratio table.
Parameters | |
ds | Undocumented |
funcs | |
m | |
d | |
prc | |
EVALS | |
data | |
outputdir | Undocumented |
info | Undocumented |
input data set | |
string outputdir | output folder (must exist) |
string info | string suffix for output file names |
Generates ERT loss ratio tables.
Parameters | |
ds | Undocumented |
Undocumented | |
outputdir | Undocumented |
info | Undocumented |
input data set | |
float | crafting effort (see COCO documentation) |
string outputdir | output folder (must exist) |
string info | string suffix for output file names |