Struct aws_sdk_comprehend::model::ClassifierMetadata
source · #[non_exhaustive]pub struct ClassifierMetadata { /* private fields */ }Expand description
Provides information about a document classifier.
Implementations§
source§impl 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.
source§impl ClassifierMetadata
impl ClassifierMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClassifierMetadata.
Trait Implementations§
source§impl Clone for ClassifierMetadata
impl Clone for ClassifierMetadata
source§fn clone(&self) -> ClassifierMetadata
fn clone(&self) -> ClassifierMetadata
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 more