sed_eval.metric.insertion_rate

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

Insertion rate

Parameters:

Nref : int >=0

Number of entries in the reference.

Ninsertions : int >=0

Number of insertions.

eps : float

eps. Default value numpy.spacing(1)

Returns:

insertion_rate: float

Insertion rate