sed_eval.metric.deletion_rate

sed_eval.metric.deletion_rate(Nref, Ndeletions, eps=2.220446049250313e-16)[source]

Deletion rate

Parameters:

Nref : int >=0

Number of entries in the reference.

Ndeletions : int >=0

Number of deletions.

eps : float

eps. Default value numpy.spacing(1)

Returns:

deletion_rate: float

Deletion rate