pub fn roc_mut<F: Float>(pairs: &mut [(bool, F)]) -> Option<(Vec<F>, Vec<F>)>Expand description
Computes a ROC 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((v_x, v_y)) where v_x are the x-coordinates and v_y are the
y-coordinates of the ROC curve.