Struct aws_sdk_glue::types::ConfusionMatrix
source · #[non_exhaustive]pub struct ConfusionMatrix {
pub num_true_positives: Option<i64>,
pub num_false_positives: Option<i64>,
pub num_true_negatives: Option<i64>,
pub num_false_negatives: Option<i64>,
}
Expand description
The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.
For more information, see Confusion matrix in Wikipedia.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.num_true_positives: Option<i64>
The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
num_false_positives: Option<i64>
The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.
num_true_negatives: Option<i64>
The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
num_false_negatives: Option<i64>
The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
Implementations§
source§impl ConfusionMatrix
impl ConfusionMatrix
sourcepub fn num_true_positives(&self) -> Option<i64>
pub fn num_true_positives(&self) -> Option<i64>
The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
sourcepub fn num_false_positives(&self) -> Option<i64>
pub fn num_false_positives(&self) -> Option<i64>
The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.
sourcepub fn num_true_negatives(&self) -> Option<i64>
pub fn num_true_negatives(&self) -> Option<i64>
The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
sourcepub fn num_false_negatives(&self) -> Option<i64>
pub fn num_false_negatives(&self) -> Option<i64>
The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
source§impl ConfusionMatrix
impl ConfusionMatrix
sourcepub fn builder() -> ConfusionMatrixBuilder
pub fn builder() -> ConfusionMatrixBuilder
Creates a new builder-style object to manufacture ConfusionMatrix
.
Trait Implementations§
source§impl Clone for ConfusionMatrix
impl Clone for ConfusionMatrix
source§fn clone(&self) -> ConfusionMatrix
fn clone(&self) -> ConfusionMatrix
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfusionMatrix
impl Debug for ConfusionMatrix
source§impl PartialEq for ConfusionMatrix
impl PartialEq for ConfusionMatrix
source§fn eq(&self, other: &ConfusionMatrix) -> bool
fn eq(&self, other: &ConfusionMatrix) -> bool
self
and other
values to be equal, and is used
by ==
.