rxn.metrics.metrics.coverage
- rxn.metrics.metrics.coverage(ground_truth, predictions)[source]
Compute the coverage values, split by n-th predictions.
- Raises
ValueError – if the list sizes are incompatible, forwarded from get_sequence_multiplier().
- Return type
Dict
[int
,float
]- Returns
Dictionary of coverage “n” values.
- Parameters
ground_truth (
Sequence
[TypeVar
(T
)]) –predictions (
Sequence
[TypeVar
(T
)]) –