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 ==
.impl StructuralPartialEq for ConfusionMatrix
Auto Trait Implementations§
impl Freeze for ConfusionMatrix
impl RefUnwindSafe for ConfusionMatrix
impl Send for ConfusionMatrix
impl Sync for ConfusionMatrix
impl Unpin for ConfusionMatrix
impl UnwindSafe for ConfusionMatrix
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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