pub struct GoogleCloudAiplatformV1EvaluatedAnnotation {
pub data_item_payload: Option<Value>,
pub explanations: Option<Vec<GoogleCloudAiplatformV1EvaluatedAnnotationExplanation>>,
pub ground_truths: Option<Vec<Value>>,
pub type_: Option<String>,
pub error_analysis_annotations: Option<Vec<GoogleCloudAiplatformV1ErrorAnalysisAnnotation>>,
pub evaluated_data_item_view_id: Option<String>,
pub predictions: Option<Vec<Value>>,
}Expand description
True positive, false positive, or false negative. EvaluatedAnnotation is only available under ModelEvaluationSlice with slice of annotationSpec dimension.
This type is not used in any activity, and only used as part of another schema.
Fields§
§data_item_payload: Option<Value>Output only. The data item payload that the Model predicted this EvaluatedAnnotation on.
explanations: Option<Vec<GoogleCloudAiplatformV1EvaluatedAnnotationExplanation>>Explanations of predictions. Each element of the explanations indicates the explanation for one explanation Method. The attributions list in the EvaluatedAnnotationExplanation.explanation object corresponds to the predictions list. For example, the second element in the attributions list explains the second element in the predictions list.
ground_truths: Option<Vec<Value>>Output only. The ground truth Annotations, i.e. the Annotations that exist in the test data the Model is evaluated on. For true positive, there is one and only one ground truth annotation, which matches the only prediction in predictions. For false positive, there are zero or more ground truth annotations that are similar to the only prediction in predictions, but not enough for a match. For false negative, there is one and only one ground truth annotation, which doesn’t match any predictions created by the model. The schema of the ground truth is stored in ModelEvaluation.annotation_schema_uri
type_: Option<String>Output only. Type of the EvaluatedAnnotation.
error_analysis_annotations: Option<Vec<GoogleCloudAiplatformV1ErrorAnalysisAnnotation>>Annotations of model error analysis results.
evaluated_data_item_view_id: Option<String>Output only. ID of the EvaluatedDataItemView under the same ancestor ModelEvaluation. The EvaluatedDataItemView consists of all ground truths and predictions on data_item_payload.
predictions: Option<Vec<Value>>Output only. The model predicted annotations. For true positive, there is one and only one prediction, which matches the only one ground truth annotation in ground_truths. For false positive, there is one and only one prediction, which doesn’t match any ground truth annotation of the corresponding data_item_view_id. For false negative, there are zero or more predictions which are similar to the only ground truth annotation in ground_truths but not enough for a match. The schema of the prediction is stored in ModelEvaluation.annotation_schema_uri
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1EvaluatedAnnotation
impl Clone for GoogleCloudAiplatformV1EvaluatedAnnotation
Source§fn clone(&self) -> GoogleCloudAiplatformV1EvaluatedAnnotation
fn clone(&self) -> GoogleCloudAiplatformV1EvaluatedAnnotation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1EvaluatedAnnotation
impl Default for GoogleCloudAiplatformV1EvaluatedAnnotation
Source§fn default() -> GoogleCloudAiplatformV1EvaluatedAnnotation
fn default() -> GoogleCloudAiplatformV1EvaluatedAnnotation
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1EvaluatedAnnotation
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1EvaluatedAnnotation
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>,
impl Part for GoogleCloudAiplatformV1EvaluatedAnnotation
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1EvaluatedAnnotation
impl RefUnwindSafe for GoogleCloudAiplatformV1EvaluatedAnnotation
impl Send for GoogleCloudAiplatformV1EvaluatedAnnotation
impl Sync for GoogleCloudAiplatformV1EvaluatedAnnotation
impl Unpin for GoogleCloudAiplatformV1EvaluatedAnnotation
impl UnwindSafe for GoogleCloudAiplatformV1EvaluatedAnnotation
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
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>
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>
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