Function classifier_measures::pr_auc_mut
[−]
[src]
pub fn pr_auc_mut<F: Float>(pairs: &mut [(bool, F)]) -> Option<F>
Computes the area under a PR curve of a given classifier sorting pairs
in-place.
Returns None
if one of the classes is not present or any values are non-finite.
Otherwise, returns Some(area_under_curve)
.