Previous topic

bioa.util.validation.sensitivity

Next topic

Credits

This Page

bioa.util.validation.positive_predictive_value

positive_predictive_value(real, predicted)[source]

PPV = |True Positives| / (|True Positives| + |False Positives|)

Parameters :

real : dict

A dictionary mapping quasispecies to frequencies.

predicted : dict

The calculated dictionary mapping quasispecies to frequencies.

Returns :

PPV : float

The positive predicted value