Struct tangram_metrics::BinaryClassificationMetricsOutput [−][src]
pub struct BinaryClassificationMetricsOutput { pub auc_roc_approx: f32, pub thresholds: Vec<BinaryClassificationMetricsOutputForThreshold>, }
Expand description
BinaryClassificationMetrics contains common metrics used to evaluate binary classifiers.
Fields
auc_roc_approx: f32
The area under the receiver operating characteristic curve is computed using a fixed number of thresholds equal to n_thresholds
which is passed to BinaryClassificationMetrics::new
.
thresholds: Vec<BinaryClassificationMetricsOutputForThreshold>
This contains metrics specific to each classification threshold.
Trait Implementations
Auto Trait Implementations
impl Send for BinaryClassificationMetricsOutput
impl Sync for BinaryClassificationMetricsOutput
impl Unpin for BinaryClassificationMetricsOutput
Blanket Implementations
Mutably borrows from an owned value. Read more