Struct aws_sdk_glue::types::ConfusionMatrix
source · #[non_exhaustive]pub struct ConfusionMatrix { /* private fields */ }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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ConfusionMatrix
impl Debug for ConfusionMatrix
source§impl PartialEq<ConfusionMatrix> for ConfusionMatrix
impl PartialEq<ConfusionMatrix> for ConfusionMatrix
source§fn eq(&self, other: &ConfusionMatrix) -> bool
fn eq(&self, other: &ConfusionMatrix) -> bool
This method tests for
self and other values to be equal, and is used
by ==.