pub struct Roc {
pub thresholds: Vec<f64>,
pub false_positive_rate: Vec<f64>,
pub true_positive_rate: Vec<f64>,
pub auc: f64,
}Expand description
A receiver operating characteristic curve, from roc.
Fields§
§thresholds: Vec<f64>The thresholds, descending: a row is predicted positive when its
score is at least the threshold. The first is +∞ (nothing
positive).
false_positive_rate: Vec<f64>False positive rate at each threshold.
true_positive_rate: Vec<f64>True positive rate (sensitivity) at each threshold.
auc: f64The area under the curve, by the trapezoid rule (ties in the score count half).
Trait Implementations§
impl StructuralPartialEq for Roc
Auto Trait Implementations§
impl Freeze for Roc
impl RefUnwindSafe for Roc
impl Send for Roc
impl Sync for Roc
impl Unpin for Roc
impl UnsafeUnpin for Roc
impl UnwindSafe for Roc
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more