pub struct AUC<T> { /* private fields */ }Expand description
Area Under the Receiver Operating Characteristic Curve (ROC AUC)
Trait Implementations
sourceimpl<T: FloatNumber + PartialOrd> Metrics<T> for AUC<T>
impl<T: FloatNumber + PartialOrd> Metrics<T> for AUC<T>
sourcefn get_score(
&self,
y_true: &dyn ArrayView1<T>,
y_pred_prob: &dyn ArrayView1<T>
) -> f64
fn get_score(
&self,
y_true: &dyn ArrayView1<T>,
y_pred_prob: &dyn ArrayView1<T>
) -> f64
AUC score.
y_true- ground truth (correct) labels.y_pred_prob- probability estimates, as returned by a classifier.
Auto Trait Implementations
impl<T> RefUnwindSafe for AUC<T>where
T: RefUnwindSafe,
impl<T> Send for AUC<T>where
T: Send,
impl<T> Sync for AUC<T>where
T: Sync,
impl<T> Unpin for AUC<T>where
T: Unpin,
impl<T> UnwindSafe for AUC<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more