pub struct GoogleCloudDocumentaiV1EvaluationMetrics {
pub f1_score: Option<f32>,
pub false_negatives_count: Option<i32>,
pub false_positives_count: Option<i32>,
pub ground_truth_document_count: Option<i32>,
pub ground_truth_occurrences_count: Option<i32>,
pub precision: Option<f32>,
pub predicted_document_count: Option<i32>,
pub predicted_occurrences_count: Option<i32>,
pub recall: Option<f32>,
pub total_documents_count: Option<i32>,
pub true_positives_count: Option<i32>,
}Expand description
Evaluation metrics, either in aggregate or about a specific entity.
This type is not used in any activity, and only used as part of another schema.
Fields§
§f1_score: Option<f32>The calculated f1 score.
false_negatives_count: Option<i32>The amount of false negatives.
false_positives_count: Option<i32>The amount of false positives.
ground_truth_document_count: Option<i32>The amount of documents with a ground truth occurrence.
ground_truth_occurrences_count: Option<i32>The amount of occurrences in ground truth documents.
precision: Option<f32>The calculated precision.
predicted_document_count: Option<i32>The amount of documents with a predicted occurrence.
predicted_occurrences_count: Option<i32>The amount of occurrences in predicted documents.
recall: Option<f32>The calculated recall.
total_documents_count: Option<i32>The amount of documents that had an occurrence of this label.
true_positives_count: Option<i32>The amount of true positives.
Trait Implementations§
Source§impl Clone for GoogleCloudDocumentaiV1EvaluationMetrics
impl Clone for GoogleCloudDocumentaiV1EvaluationMetrics
Source§fn clone(&self) -> GoogleCloudDocumentaiV1EvaluationMetrics
fn clone(&self) -> GoogleCloudDocumentaiV1EvaluationMetrics
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 Default for GoogleCloudDocumentaiV1EvaluationMetrics
impl Default for GoogleCloudDocumentaiV1EvaluationMetrics
Source§fn default() -> GoogleCloudDocumentaiV1EvaluationMetrics
fn default() -> GoogleCloudDocumentaiV1EvaluationMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1EvaluationMetrics
impl<'de> Deserialize<'de> for GoogleCloudDocumentaiV1EvaluationMetrics
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
impl Part for GoogleCloudDocumentaiV1EvaluationMetrics
Auto Trait Implementations§
impl Freeze for GoogleCloudDocumentaiV1EvaluationMetrics
impl RefUnwindSafe for GoogleCloudDocumentaiV1EvaluationMetrics
impl Send for GoogleCloudDocumentaiV1EvaluationMetrics
impl Sync for GoogleCloudDocumentaiV1EvaluationMetrics
impl Unpin for GoogleCloudDocumentaiV1EvaluationMetrics
impl UnwindSafe for GoogleCloudDocumentaiV1EvaluationMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more