Struct aws_sdk_glue::model::FindMatchesMetrics
source · [−]#[non_exhaustive]pub struct FindMatchesMetrics {
pub area_under_pr_curve: Option<f64>,
pub precision: Option<f64>,
pub recall: Option<f64>,
pub f1: Option<f64>,
pub confusion_matrix: Option<ConfusionMatrix>,
pub column_importances: Option<Vec<ColumnImportance>>,
}Expand description
The evaluation metrics for the find matches algorithm. The quality of your machine learning transform is measured by getting your transform to predict some matches and comparing the results to known matches from the same dataset. The quality metrics are based on a subset of your data, so they are not precise.
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.area_under_pr_curve: Option<f64>The area under the precision/recall curve (AUPRC) is a single number measuring the overall quality of the transform, that is independent of the choice made for precision vs. recall. Higher values indicate that you have a more attractive precision vs. recall tradeoff.
For more information, see Precision and recall in Wikipedia.
precision: Option<f64>The precision metric indicates when often your transform is correct when it predicts a match. Specifically, it measures how well the transform finds true positives from the total true positives possible.
For more information, see Precision and recall in Wikipedia.
recall: Option<f64>The recall metric indicates that for an actual match, how often your transform predicts the match. Specifically, it measures how well the transform finds true positives from the total records in the source data.
For more information, see Precision and recall in Wikipedia.
f1: Option<f64>The maximum F1 metric indicates the transform's accuracy between 0 and 1, where 1 is the best accuracy.
For more information, see F1 score in Wikipedia.
confusion_matrix: Option<ConfusionMatrix>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.
column_importances: Option<Vec<ColumnImportance>>A list of ColumnImportance structures containing column importance metrics, sorted in order of descending importance.
Implementations
sourceimpl FindMatchesMetrics
impl FindMatchesMetrics
sourcepub fn area_under_pr_curve(&self) -> Option<f64>
pub fn area_under_pr_curve(&self) -> Option<f64>
The area under the precision/recall curve (AUPRC) is a single number measuring the overall quality of the transform, that is independent of the choice made for precision vs. recall. Higher values indicate that you have a more attractive precision vs. recall tradeoff.
For more information, see Precision and recall in Wikipedia.
sourcepub fn precision(&self) -> Option<f64>
pub fn precision(&self) -> Option<f64>
The precision metric indicates when often your transform is correct when it predicts a match. Specifically, it measures how well the transform finds true positives from the total true positives possible.
For more information, see Precision and recall in Wikipedia.
sourcepub fn recall(&self) -> Option<f64>
pub fn recall(&self) -> Option<f64>
The recall metric indicates that for an actual match, how often your transform predicts the match. Specifically, it measures how well the transform finds true positives from the total records in the source data.
For more information, see Precision and recall in Wikipedia.
sourcepub fn f1(&self) -> Option<f64>
pub fn f1(&self) -> Option<f64>
The maximum F1 metric indicates the transform's accuracy between 0 and 1, where 1 is the best accuracy.
For more information, see F1 score in Wikipedia.
sourcepub fn confusion_matrix(&self) -> Option<&ConfusionMatrix>
pub fn confusion_matrix(&self) -> Option<&ConfusionMatrix>
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.
sourcepub fn column_importances(&self) -> Option<&[ColumnImportance]>
pub fn column_importances(&self) -> Option<&[ColumnImportance]>
A list of ColumnImportance structures containing column importance metrics, sorted in order of descending importance.
sourceimpl FindMatchesMetrics
impl FindMatchesMetrics
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FindMatchesMetrics
Trait Implementations
sourceimpl Clone for FindMatchesMetrics
impl Clone for FindMatchesMetrics
sourcefn clone(&self) -> FindMatchesMetrics
fn clone(&self) -> FindMatchesMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FindMatchesMetrics
impl Debug for FindMatchesMetrics
sourceimpl PartialEq<FindMatchesMetrics> for FindMatchesMetrics
impl PartialEq<FindMatchesMetrics> for FindMatchesMetrics
sourcefn eq(&self, other: &FindMatchesMetrics) -> bool
fn eq(&self, other: &FindMatchesMetrics) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &FindMatchesMetrics) -> bool
fn ne(&self, other: &FindMatchesMetrics) -> bool
This method tests for !=.
impl StructuralPartialEq for FindMatchesMetrics
Auto Trait Implementations
impl RefUnwindSafe for FindMatchesMetrics
impl Send for FindMatchesMetrics
impl Sync for FindMatchesMetrics
impl Unpin for FindMatchesMetrics
impl UnwindSafe for FindMatchesMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more