bob.ip.binseg.utils.table¶
Functions
|
Tables result comparison in a given format |
-
bob.ip.binseg.utils.table.
performance_table
(data, fmt)[source]¶ Tables result comparison in a given format
- Parameters
data (dict) –
A dictionary in which keys are strings defining plot labels and values are dictionaries with two entries:
df
:pandas.DataFrame
A dataframe that is produced by our evaluator engine, indexed by integer “thresholds”, containing the following columns:
threshold
(sorted ascending),precision
,recall
,pr_upper
(upper precision bounds),pr_lower
(lower precision bounds),re_upper
(upper recall bounds),re_lower
(lower recall bounds).threshold
:list
A threshold to graph with a dot for each set. Specific threshold values do not affect “second-annotator” dataframes.
- fmtstr
One of the formats supported by tabulate.
- Returns
table – A table in a specific format
- Return type