pub struct AUC<T> { /* private fields */ }Expand description
Area Under the Receiver Operating Characteristic Curve (ROC AUC)
Trait Implementations§
source§impl<T: FloatNumber + PartialOrd> Metrics<T> for AUC<T>
impl<T: FloatNumber + PartialOrd> Metrics<T> for AUC<T>
source§fn 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.