pub struct RocPoint<T: Scalar> {
pub tp_rate: T,
pub fp_rate: T,
pub threshold: T,
}
Expand description
Represents a single point along a roc curve
Fields§
§tp_rate: T
True positive rate
fp_rate: T
False positive rate
threshold: T
Score threshold
Trait Implementations§
impl<T: Copy + Scalar> Copy for RocPoint<T>
impl<T: Scalar> StructuralPartialEq for RocPoint<T>
Auto Trait Implementations§
impl<T> Freeze for RocPoint<T>where
T: Freeze,
impl<T> RefUnwindSafe for RocPoint<T>where
T: RefUnwindSafe,
impl<T> Send for RocPoint<T>where
T: Send,
impl<T> Sync for RocPoint<T>where
T: Sync,
impl<T> Unpin for RocPoint<T>where
T: Unpin,
impl<T> UnwindSafe for RocPoint<T>where
T: UnwindSafe,
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