Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ModelEvaluationSlice.
A collection of metrics calculated by comparing Model's predictions on a slice of the test data against ground truth annotations.
Generated from protobuf message google.cloud.aiplatform.v1.ModelEvaluationSlice
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Output only. The resource name of the ModelEvaluationSlice. |
↳ slice |
Google\Cloud\AIPlatform\V1\ModelEvaluationSlice\Slice
Output only. The slice of the test data that is used to evaluate the Model. |
↳ metrics_schema_uri |
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. |
↳ metrics |
Google\Protobuf\Value
Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri |
↳ create_time |
Google\Protobuf\Timestamp
Output only. Timestamp when this ModelEvaluationSlice was created. |
getName
Output only. The resource name of the ModelEvaluationSlice.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The resource name of the ModelEvaluationSlice.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSlice
Output only. The slice of the test data that is used to evaluate the Model.
Generated from protobuf field .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice slice = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\ModelEvaluationSlice\Slice|null |
hasSlice
clearSlice
setSlice
Output only. The slice of the test data that is used to evaluate the Model.
Generated from protobuf field .google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice slice = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\ModelEvaluationSlice\Slice
|
Returns | |
---|---|
Type | Description |
$this |
getMetricsSchemaUri
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.
Generated from protobuf field string metrics_schema_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
string |
setMetricsSchemaUri
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.
Generated from protobuf field string metrics_schema_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMetrics
Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
Generated from protobuf field .google.protobuf.Value metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Value|null |
hasMetrics
clearMetrics
setMetrics
Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
Generated from protobuf field .google.protobuf.Value metrics = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Value
|
Returns | |
---|---|
Type | Description |
$this |
getCreateTime
Output only. Timestamp when this ModelEvaluationSlice was created.
Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when this ModelEvaluationSlice was created.
Generated from protobuf field .google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |