rxn.metrics.utils.get_sequence_multiplier

rxn.metrics.utils.get_sequence_multiplier(ground_truth, predictions)[source]

Get the multiplier for the number of predictions by ground truth sample.

Raises

ValueError – if the lists have inadequate sizes (possibly forwarded from get_multiplier).

Parameters
  • ground_truth (Sequence[TypeVar(T)]) –

  • predictions (Sequence[TypeVar(T)]) –

Return type

int