Struct aws_sdk_comprehend::model::ClassifierMetadata
source · [−]#[non_exhaustive]pub struct ClassifierMetadata { /* private fields */ }Expand description
Provides information about a document classifier.
Implementations
sourceimpl ClassifierMetadata
impl ClassifierMetadata
sourcepub fn number_of_labels(&self) -> Option<i32>
pub fn number_of_labels(&self) -> Option<i32>
The number of labels in the input data.
sourcepub fn number_of_trained_documents(&self) -> Option<i32>
pub fn number_of_trained_documents(&self) -> Option<i32>
The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.
sourcepub fn number_of_test_documents(&self) -> Option<i32>
pub fn number_of_test_documents(&self) -> Option<i32>
The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.
sourcepub fn evaluation_metrics(&self) -> Option<&ClassifierEvaluationMetrics>
pub fn evaluation_metrics(&self) -> Option<&ClassifierEvaluationMetrics>
Describes the result metrics for the test data associated with an documentation classifier.
sourceimpl ClassifierMetadata
impl ClassifierMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClassifierMetadata.
Trait Implementations
sourceimpl Clone for ClassifierMetadata
impl Clone for ClassifierMetadata
sourcefn clone(&self) -> ClassifierMetadata
fn clone(&self) -> ClassifierMetadata
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 moresourceimpl Debug for ClassifierMetadata
impl Debug for ClassifierMetadata
sourceimpl PartialEq<ClassifierMetadata> for ClassifierMetadata
impl PartialEq<ClassifierMetadata> for ClassifierMetadata
sourcefn eq(&self, other: &ClassifierMetadata) -> bool
fn eq(&self, other: &ClassifierMetadata) -> bool
impl StructuralPartialEq for ClassifierMetadata
Auto Trait Implementations
impl RefUnwindSafe for ClassifierMetadata
impl Send for ClassifierMetadata
impl Sync for ClassifierMetadata
impl Unpin for ClassifierMetadata
impl UnwindSafe for ClassifierMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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