Previous topic

bioa.util.validation.root_mean_square_deviation

Next topic

bioa.util.validation.positive_predictive_value

This Page

bioa.util.validation.sensitivity

sensitivity(real, predicted)[source]

Sensitivity = |True Positives| / (|True Positives| + |False Negatives|)

Parameters :

real : dict

A dictionary mapping quasispecies to frequencies.

predicted : dict

The calculated dictionary mapping quasispecies to frequencies.

Returns :

sensitivity : float

The sensitivity.