Skip to main content

evaluations

Creates, updates, deletes, gets or lists a evaluations resource.

Overview

Nameevaluations
TypeResource
Idgoogle.aiplatform.evaluations

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the ModelEvaluation.
annotationSchemaUristringPoints to a YAML file stored on Google Cloud Storage describing EvaluatedDataItemView.predictions, EvaluatedDataItemView.ground_truths, EvaluatedAnnotation.predictions, and EvaluatedAnnotation.ground_truths. The schema is defined as an OpenAPI 3.0.2 Schema Object. This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.
createTimestringOutput only. Timestamp when this ModelEvaluation was created.
dataItemSchemaUristringPoints to a YAML file stored on Google Cloud Storage describing EvaluatedDataItemView.data_item_payload and EvaluatedAnnotation.data_item_payload. The schema is defined as an OpenAPI 3.0.2 Schema Object. This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.
displayNamestringThe display name of the ModelEvaluation.
explanationSpecsarrayDescribes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
metadataanyThe metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path", "row_based_metrics_path".
metricsanyEvaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
metricsSchemaUristringPoints to a YAML file stored on Google Cloud Storage describing the metrics of this ModelEvaluation. The schema is defined as an OpenAPI 3.0.2 Schema Object.
modelExplanationobjectAggregated explanation metrics for a Model over a set of instances.
sliceDimensionsarrayAll possible dimensions of ModelEvaluationSlices. The dimensions can be used as the filter of the ModelService.ListModelEvaluationSlices request, in the form of slice.dimension = .

Methods

NameAccessible byRequired ParamsDescription
getSELECTevaluationsId, locationsId, modelsId, projectsIdGets a ModelEvaluation.
listSELECTlocationsId, modelsId, projectsIdLists ModelEvaluations in a Model.
importEXEClocationsId, modelsId, projectsIdImports an externally generated ModelEvaluation.

SELECT examples

Lists ModelEvaluations in a Model.

SELECT
name,
annotationSchemaUri,
createTime,
dataItemSchemaUri,
displayName,
explanationSpecs,
metadata,
metrics,
metricsSchemaUri,
modelExplanation,
sliceDimensions
FROM google.aiplatform.evaluations
WHERE locationsId = '{{ locationsId }}'
AND modelsId = '{{ modelsId }}'
AND projectsId = '{{ projectsId }}';