BinaryRecall metric
Bases: BinaryFBetaScore
Computes recall on binary structures.
Mirrors BinaryF1Score. Per-field recall is TP / (TP + FN),
aggregated via average.
Example:
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
average
|
str
|
One of |
None
|
threshold
|
float
|
Threshold for binarizing float fields. |
0.5
|
name
|
str
|
(Optional) string name of the metric instance. |
'binary_recall'
|
in_mask
|
list
|
(Optional) list of keys to keep to compute the metric. |
None
|
out_mask
|
list
|
(Optional) list of keys to remove to compute the metric. |
None
|
in_mask_pattern
|
str
|
(Optional) Regex pattern. |
None
|
out_mask_pattern
|
str
|
(Optional) Regex pattern. |
None
|