pub struct RocPoint {
pub fpr: f64,
pub tpr: f64,
pub threshold: f64,
}Expand description
A single operating point on an ROC curve.
Fields§
§fpr: f64False positive rate, FP / N.
tpr: f64True positive rate (recall / sensitivity), TP / P.
threshold: f64The score threshold at which this point is reached (predictions with
score >= threshold are called positive). The leading (0, 0) point
carries +inf.
Trait Implementations§
impl Copy for RocPoint
impl StructuralPartialEq for RocPoint
Auto Trait Implementations§
impl Freeze for RocPoint
impl RefUnwindSafe for RocPoint
impl Send for RocPoint
impl Sync for RocPoint
impl Unpin for RocPoint
impl UnsafeUnpin for RocPoint
impl UnwindSafe for RocPoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more