medpy.metric.binary.recall#

medpy.metric.binary.recall(result, reference)[source]#

Recall.

Parameters:
resultarray_like

Input data containing objects. Can be any type but will be converted into binary: background where 0, object everywhere else.

referencearray_like

Input data containing objects. Can be any type but will be converted into binary: background where 0, object everywhere else.

Returns:
recallfloat

The recall between two binary datasets, here mostly binary objects in images, which is defined as the fraction of relevant instances that are retrieved. The recall is not symmetric.

See also

precision

Notes

Not symmetric. The inverse of the recall is precision. High recall means that an algorithm returned most of the relevant results.

References