#[non_exhaustive]pub struct EntityRecognizerMetadata { /* private fields */ }Expand description
Detailed information about an entity recognizer.
Implementations§
source§impl EntityRecognizerMetadata
impl EntityRecognizerMetadata
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 entity recognizer. 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 entity recognizer. Typically this is 10 to 20 percent of the input documents.
sourcepub fn evaluation_metrics(&self) -> Option<&EntityRecognizerEvaluationMetrics>
pub fn evaluation_metrics(&self) -> Option<&EntityRecognizerEvaluationMetrics>
Detailed information about the accuracy of an entity recognizer.
sourcepub fn entity_types(
&self
) -> Option<&[EntityRecognizerMetadataEntityTypesListItem]>
pub fn entity_types(
&self
) -> Option<&[EntityRecognizerMetadataEntityTypesListItem]>
Entity types from the metadata of an entity recognizer.
source§impl EntityRecognizerMetadata
impl EntityRecognizerMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture EntityRecognizerMetadata.
Trait Implementations§
source§impl Clone for EntityRecognizerMetadata
impl Clone for EntityRecognizerMetadata
source§fn clone(&self) -> EntityRecognizerMetadata
fn clone(&self) -> EntityRecognizerMetadata
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