@@ -38,31 +38,70 @@ message ModelEvaluation {
3838 pattern : "projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}"
3939 };
4040
41+ message ModelEvaluationExplanationSpec {
42+ // Explanation type.
43+ //
44+ // For AutoML Image Classification models, possible values are:
45+ //
46+ // * `image-integrated-gradients`
47+ // * `image-xrai`
48+ string explanation_type = 1 ;
49+
50+ // Explanation spec details.
51+ ExplanationSpec explanation_spec = 2 ;
52+ }
53+
4154 // Output only. The resource name of the ModelEvaluation.
4255 string name = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
4356
44- // Output only. Points to a YAML file stored on Google Cloud Storage describing the
57+ // Points to a YAML file stored on Google Cloud Storage describing the
4558 // [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is
4659 // defined as an OpenAPI 3.0.2 [Schema
4760 // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
48- string metrics_schema_uri = 2 [ (google.api .field_behavior ) = OUTPUT_ONLY ] ;
61+ string metrics_schema_uri = 2 ;
4962
50- // Output only. Evaluation metrics of the Model. The schema of the metrics is stored in
63+ // Evaluation metrics of the Model. The schema of the metrics is stored in
5164 // [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
52- google.protobuf.Value metrics = 3 [ (google.api .field_behavior ) = OUTPUT_ONLY ] ;
65+ google.protobuf.Value metrics = 3 ;
5366
5467 // Output only. Timestamp when this ModelEvaluation was created.
5568 google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior ) = OUTPUT_ONLY ];
5669
57- // Output only. All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
70+ // All possible [dimensions][ModelEvaluationSlice.slice.dimension] of
5871 // ModelEvaluationSlices. The dimensions can be used as the filter of the
5972 // [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of
6073 // `slice.dimension = <dimension>`.
61- repeated string slice_dimensions = 5 [(google.api.field_behavior ) = OUTPUT_ONLY ];
74+ repeated string slice_dimensions = 5 ;
75+
76+ // Points to a YAML file stored on Google Cloud Storage describing
77+ // [EvaluatedDataItemView.data_item_payload][] and
78+ // [EvaluatedAnnotation.data_item_payload][]. The schema is defined as an
79+ // OpenAPI 3.0.2 [Schema
80+ // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
81+ //
82+ // This field is not populated if there are neither EvaluatedDataItemViews nor
83+ // EvaluatedAnnotations under this ModelEvaluation.
84+ string data_item_schema_uri = 6 ;
6285
63- // Output only. Aggregated explanation metrics for the Model's prediction output over the
86+ // Points to a YAML file stored on Google Cloud Storage describing
87+ // [EvaluatedDataItemView.predictions][],
88+ // [EvaluatedDataItemView.ground_truths][],
89+ // [EvaluatedAnnotation.predictions][], and
90+ // [EvaluatedAnnotation.ground_truths][]. The schema is defined as an
91+ // OpenAPI 3.0.2 [Schema
92+ // Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
93+ //
94+ // This field is not populated if there are neither EvaluatedDataItemViews nor
95+ // EvaluatedAnnotations under this ModelEvaluation.
96+ string annotation_schema_uri = 7 ;
97+
98+ // Aggregated explanation metrics for the Model's prediction output over the
6499 // data this ModelEvaluation uses. This field is populated only if the Model
65100 // is evaluated with explanations, and only for AutoML tabular Models.
66101 //
67- ModelExplanation model_explanation = 8 [(google.api.field_behavior ) = OUTPUT_ONLY ];
102+ ModelExplanation model_explanation = 8 ;
103+
104+ // Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining
105+ // the predicted values on the evaluated data.
106+ repeated ModelEvaluationExplanationSpec explanation_specs = 9 ;
68107}
0 commit comments