slices
Creates, updates, deletes, gets or lists a slices
resource.
Overview
Name | slices |
Type | Resource |
Id | google.aiplatform.slices |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The resource name of the ModelEvaluationSlice. |
createTime | string | Output only. Timestamp when this ModelEvaluationSlice was created. |
metrics | any | Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri |
metricsSchemaUri | string | Output only. Points to a YAML file stored on Google Cloud Storage describing the metrics of this ModelEvaluationSlice. The schema is defined as an OpenAPI 3.0.2 Schema Object. |
modelExplanation | object | Aggregated explanation metrics for a Model over a set of instances. |
slice | object | Definition of a slice. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | evaluationsId, locationsId, modelsId, projectsId, slicesId | Gets a ModelEvaluationSlice. |
list | SELECT | evaluationsId, locationsId, modelsId, projectsId | Lists ModelEvaluationSlices in a ModelEvaluation. |
batch_import | EXEC | evaluationsId, locationsId, modelsId, projectsId, slicesId | Imports a list of externally generated EvaluatedAnnotations. |
SELECT
examples
Lists ModelEvaluationSlices in a ModelEvaluation.
SELECT
name,
createTime,
metrics,
metricsSchemaUri,
modelExplanation,
slice
FROM google.aiplatform.slices
WHERE evaluationsId = '{{ evaluationsId }}'
AND locationsId = '{{ locationsId }}'
AND modelsId = '{{ modelsId }}'
AND projectsId = '{{ projectsId }}';