sed_eval.metric.substitution_rate¶
-
sed_eval.metric.
substitution_rate
(Nref, Nsubstitutions, eps=2.220446049250313e-16)[source]¶ Substitution rate
Parameters: Nref : int >=0
Number of entries in the reference.
Nsubstitutions : int >=0
Number of substitutions.
eps : float
eps. Default value numpy.spacing(1)
Returns: substitution_rate: float
Substitution rate