pub struct EntityRecognizerMetadata {
pub entity_types: Option<Vec<EntityRecognizerMetadataEntityTypesListItem>>,
pub evaluation_metrics: Option<EntityRecognizerEvaluationMetrics>,
pub number_of_test_documents: Option<i64>,
pub number_of_trained_documents: Option<i64>,
}Expand description
Detailed information about an entity recognizer.
Fields§
§entity_types: Option<Vec<EntityRecognizerMetadataEntityTypesListItem>>Entity types from the metadata of an entity recognizer.
evaluation_metrics: Option<EntityRecognizerEvaluationMetrics>Detailed information about the accuracy of an entity recognizer.
number_of_test_documents: Option<i64>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.
number_of_trained_documents: Option<i64>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.
Trait Implementations§
Source§impl Clone for EntityRecognizerMetadata
impl Clone for EntityRecognizerMetadata
Source§fn clone(&self) -> EntityRecognizerMetadata
fn clone(&self) -> EntityRecognizerMetadata
Returns a duplicate 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 EntityRecognizerMetadata
impl Debug for EntityRecognizerMetadata
Source§impl Default for EntityRecognizerMetadata
impl Default for EntityRecognizerMetadata
Source§fn default() -> EntityRecognizerMetadata
fn default() -> EntityRecognizerMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityRecognizerMetadata
impl<'de> Deserialize<'de> for EntityRecognizerMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityRecognizerMetadata
impl PartialEq for EntityRecognizerMetadata
impl StructuralPartialEq for EntityRecognizerMetadata
Auto Trait Implementations§
impl Freeze for EntityRecognizerMetadata
impl RefUnwindSafe for EntityRecognizerMetadata
impl Send for EntityRecognizerMetadata
impl Sync for EntityRecognizerMetadata
impl Unpin for EntityRecognizerMetadata
impl UnwindSafe for EntityRecognizerMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more