- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ModelEvaluation.Builder extends GeneratedMessageV3.Builder<ModelEvaluation.Builder> implements ModelEvaluationOrBuilder
A collection of metrics calculated by comparing Model's predictions on all of the test data against annotations from the test data.
Protobuf type google.cloud.aiplatform.v1.ModelEvaluation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ModelEvaluation.BuilderImplements
ModelEvaluationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllExplanationSpecs(Iterable<? extends ModelEvaluation.ModelEvaluationExplanationSpec> values)
public ModelEvaluation.Builder addAllExplanationSpecs(Iterable<? extends ModelEvaluation.ModelEvaluationExplanationSpec> values)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
values | Iterable<? extends com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec> |
Type | Description |
ModelEvaluation.Builder |
addAllSliceDimensions(Iterable<String> values)
public ModelEvaluation.Builder addAllSliceDimensions(Iterable<String> values)
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Name | Description |
values | Iterable<String> The sliceDimensions to add. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
addExplanationSpecs(ModelEvaluation.ModelEvaluationExplanationSpec value)
public ModelEvaluation.Builder addExplanationSpecs(ModelEvaluation.ModelEvaluationExplanationSpec value)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
value | ModelEvaluation.ModelEvaluationExplanationSpec |
Type | Description |
ModelEvaluation.Builder |
addExplanationSpecs(ModelEvaluation.ModelEvaluationExplanationSpec.Builder builderForValue)
public ModelEvaluation.Builder addExplanationSpecs(ModelEvaluation.ModelEvaluationExplanationSpec.Builder builderForValue)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
builderForValue | ModelEvaluation.ModelEvaluationExplanationSpec.Builder |
Type | Description |
ModelEvaluation.Builder |
addExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec value)
public ModelEvaluation.Builder addExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec value)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
value | ModelEvaluation.ModelEvaluationExplanationSpec |
Type | Description |
ModelEvaluation.Builder |
addExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec.Builder builderForValue)
public ModelEvaluation.Builder addExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec.Builder builderForValue)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
builderForValue | ModelEvaluation.ModelEvaluationExplanationSpec.Builder |
Type | Description |
ModelEvaluation.Builder |
addExplanationSpecsBuilder()
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder addExplanationSpecsBuilder()
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Type | Description |
ModelEvaluation.ModelEvaluationExplanationSpec.Builder |
addExplanationSpecsBuilder(int index)
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder addExplanationSpecsBuilder(int index)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
Type | Description |
ModelEvaluation.ModelEvaluationExplanationSpec.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ModelEvaluation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ModelEvaluation.Builder |
addSliceDimensions(String value)
public ModelEvaluation.Builder addSliceDimensions(String value)
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Name | Description |
value | String The sliceDimensions to add. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
addSliceDimensionsBytes(ByteString value)
public ModelEvaluation.Builder addSliceDimensionsBytes(ByteString value)
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Name | Description |
value | ByteString The bytes of the sliceDimensions to add. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
build()
public ModelEvaluation build()
Type | Description |
ModelEvaluation |
buildPartial()
public ModelEvaluation buildPartial()
Type | Description |
ModelEvaluation |
clear()
public ModelEvaluation.Builder clear()
Type | Description |
ModelEvaluation.Builder |
clearAnnotationSchemaUri()
public ModelEvaluation.Builder clearAnnotationSchemaUri()
Points 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.
string annotation_schema_uri = 7;
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
clearCreateTime()
public ModelEvaluation.Builder clearCreateTime()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ModelEvaluation.Builder |
clearDataItemSchemaUri()
public ModelEvaluation.Builder clearDataItemSchemaUri()
Points 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.
string data_item_schema_uri = 6;
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
clearExplanationSpecs()
public ModelEvaluation.Builder clearExplanationSpecs()
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Type | Description |
ModelEvaluation.Builder |
clearField(Descriptors.FieldDescriptor field)
public ModelEvaluation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ModelEvaluation.Builder |
clearMetrics()
public ModelEvaluation.Builder clearMetrics()
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Type | Description |
ModelEvaluation.Builder |
clearMetricsSchemaUri()
public ModelEvaluation.Builder clearMetricsSchemaUri()
Points 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.
string metrics_schema_uri = 2;
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
clearModelExplanation()
public ModelEvaluation.Builder clearModelExplanation()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Type | Description |
ModelEvaluation.Builder |
clearName()
public ModelEvaluation.Builder clearName()
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ModelEvaluation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ModelEvaluation.Builder |
clearSliceDimensions()
public ModelEvaluation.Builder clearSliceDimensions()
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
clone()
public ModelEvaluation.Builder clone()
Type | Description |
ModelEvaluation.Builder |
getAnnotationSchemaUri()
public String getAnnotationSchemaUri()
Points 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.
string annotation_schema_uri = 7;
Type | Description |
String | The annotationSchemaUri. |
getAnnotationSchemaUriBytes()
public ByteString getAnnotationSchemaUriBytes()
Points 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.
string annotation_schema_uri = 7;
Type | Description |
ByteString | The bytes for annotationSchemaUri. |
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
TimestampOrBuilder |
getDataItemSchemaUri()
public String getDataItemSchemaUri()
Points 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.
string data_item_schema_uri = 6;
Type | Description |
String | The dataItemSchemaUri. |
getDataItemSchemaUriBytes()
public ByteString getDataItemSchemaUriBytes()
Points 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.
string data_item_schema_uri = 6;
Type | Description |
ByteString | The bytes for dataItemSchemaUri. |
getDefaultInstanceForType()
public ModelEvaluation getDefaultInstanceForType()
Type | Description |
ModelEvaluation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExplanationSpecs(int index)
public ModelEvaluation.ModelEvaluationExplanationSpec getExplanationSpecs(int index)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
Type | Description |
ModelEvaluation.ModelEvaluationExplanationSpec |
getExplanationSpecsBuilder(int index)
public ModelEvaluation.ModelEvaluationExplanationSpec.Builder getExplanationSpecsBuilder(int index)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
Type | Description |
ModelEvaluation.ModelEvaluationExplanationSpec.Builder |
getExplanationSpecsBuilderList()
public List<ModelEvaluation.ModelEvaluationExplanationSpec.Builder> getExplanationSpecsBuilderList()
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Type | Description |
List<Builder> |
getExplanationSpecsCount()
public int getExplanationSpecsCount()
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Type | Description |
int |
getExplanationSpecsList()
public List<ModelEvaluation.ModelEvaluationExplanationSpec> getExplanationSpecsList()
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Type | Description |
List<ModelEvaluationExplanationSpec> |
getExplanationSpecsOrBuilder(int index)
public ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder getExplanationSpecsOrBuilder(int index)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
Type | Description |
ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder |
getExplanationSpecsOrBuilderList()
public List<? extends ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder> getExplanationSpecsOrBuilderList()
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Type | Description |
List<? extends com.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder> |
getMetrics()
public Value getMetrics()
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Type | Description |
Value | The metrics. |
getMetricsBuilder()
public Value.Builder getMetricsBuilder()
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Type | Description |
Builder |
getMetricsOrBuilder()
public ValueOrBuilder getMetricsOrBuilder()
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Type | Description |
ValueOrBuilder |
getMetricsSchemaUri()
public String getMetricsSchemaUri()
Points 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.
string metrics_schema_uri = 2;
Type | Description |
String | The metricsSchemaUri. |
getMetricsSchemaUriBytes()
public ByteString getMetricsSchemaUriBytes()
Points 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.
string metrics_schema_uri = 2;
Type | Description |
ByteString | The bytes for metricsSchemaUri. |
getModelExplanation()
public ModelExplanation getModelExplanation()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Type | Description |
ModelExplanation | The modelExplanation. |
getModelExplanationBuilder()
public ModelExplanation.Builder getModelExplanationBuilder()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Type | Description |
ModelExplanation.Builder |
getModelExplanationOrBuilder()
public ModelExplanationOrBuilder getModelExplanationOrBuilder()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Type | Description |
ModelExplanationOrBuilder |
getName()
public String getName()
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getSliceDimensions(int index)
public String getSliceDimensions(int index)
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The sliceDimensions at the given index. |
getSliceDimensionsBytes(int index)
public ByteString getSliceDimensionsBytes(int index)
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the sliceDimensions at the given index. |
getSliceDimensionsCount()
public int getSliceDimensionsCount()
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Type | Description |
int | The count of sliceDimensions. |
getSliceDimensionsList()
public ProtocolStringList getSliceDimensionsList()
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Type | Description |
ProtocolStringList | A list containing the sliceDimensions. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the createTime field is set. |
hasMetrics()
public boolean hasMetrics()
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Type | Description |
boolean | Whether the metrics field is set. |
hasModelExplanation()
public boolean hasModelExplanation()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Type | Description |
boolean | Whether the modelExplanation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public ModelEvaluation.Builder mergeCreateTime(Timestamp value)
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ModelEvaluation.Builder |
mergeFrom(ModelEvaluation other)
public ModelEvaluation.Builder mergeFrom(ModelEvaluation other)
Name | Description |
other | ModelEvaluation |
Type | Description |
ModelEvaluation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ModelEvaluation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ModelEvaluation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ModelEvaluation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ModelEvaluation.Builder |
mergeMetrics(Value value)
public ModelEvaluation.Builder mergeMetrics(Value value)
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Name | Description |
value | Value |
Type | Description |
ModelEvaluation.Builder |
mergeModelExplanation(ModelExplanation value)
public ModelEvaluation.Builder mergeModelExplanation(ModelExplanation value)
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Name | Description |
value | ModelExplanation |
Type | Description |
ModelEvaluation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ModelEvaluation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ModelEvaluation.Builder |
removeExplanationSpecs(int index)
public ModelEvaluation.Builder removeExplanationSpecs(int index)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
Type | Description |
ModelEvaluation.Builder |
setAnnotationSchemaUri(String value)
public ModelEvaluation.Builder setAnnotationSchemaUri(String value)
Points 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.
string annotation_schema_uri = 7;
Name | Description |
value | String The annotationSchemaUri to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setAnnotationSchemaUriBytes(ByteString value)
public ModelEvaluation.Builder setAnnotationSchemaUriBytes(ByteString value)
Points 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.
string annotation_schema_uri = 7;
Name | Description |
value | ByteString The bytes for annotationSchemaUri to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setCreateTime(Timestamp value)
public ModelEvaluation.Builder setCreateTime(Timestamp value)
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | Timestamp |
Type | Description |
ModelEvaluation.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public ModelEvaluation.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | Builder |
Type | Description |
ModelEvaluation.Builder |
setDataItemSchemaUri(String value)
public ModelEvaluation.Builder setDataItemSchemaUri(String value)
Points 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.
string data_item_schema_uri = 6;
Name | Description |
value | String The dataItemSchemaUri to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setDataItemSchemaUriBytes(ByteString value)
public ModelEvaluation.Builder setDataItemSchemaUriBytes(ByteString value)
Points 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.
string data_item_schema_uri = 6;
Name | Description |
value | ByteString The bytes for dataItemSchemaUri to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec value)
public ModelEvaluation.Builder setExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec value)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
value | ModelEvaluation.ModelEvaluationExplanationSpec |
Type | Description |
ModelEvaluation.Builder |
setExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec.Builder builderForValue)
public ModelEvaluation.Builder setExplanationSpecs(int index, ModelEvaluation.ModelEvaluationExplanationSpec.Builder builderForValue)
Describes the values of ExplanationSpec that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;
Name | Description |
index | int |
builderForValue | ModelEvaluation.ModelEvaluationExplanationSpec.Builder |
Type | Description |
ModelEvaluation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ModelEvaluation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ModelEvaluation.Builder |
setMetrics(Value value)
public ModelEvaluation.Builder setMetrics(Value value)
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Name | Description |
value | Value |
Type | Description |
ModelEvaluation.Builder |
setMetrics(Value.Builder builderForValue)
public ModelEvaluation.Builder setMetrics(Value.Builder builderForValue)
Evaluation metrics of the Model. The schema of the metrics is stored in metrics_schema_uri
.google.protobuf.Value metrics = 3;
Name | Description |
builderForValue | Builder |
Type | Description |
ModelEvaluation.Builder |
setMetricsSchemaUri(String value)
public ModelEvaluation.Builder setMetricsSchemaUri(String value)
Points 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.
string metrics_schema_uri = 2;
Name | Description |
value | String The metricsSchemaUri to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setMetricsSchemaUriBytes(ByteString value)
public ModelEvaluation.Builder setMetricsSchemaUriBytes(ByteString value)
Points 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.
string metrics_schema_uri = 2;
Name | Description |
value | ByteString The bytes for metricsSchemaUri to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setModelExplanation(ModelExplanation value)
public ModelEvaluation.Builder setModelExplanation(ModelExplanation value)
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Name | Description |
value | ModelExplanation |
Type | Description |
ModelEvaluation.Builder |
setModelExplanation(ModelExplanation.Builder builderForValue)
public ModelEvaluation.Builder setModelExplanation(ModelExplanation.Builder builderForValue)
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models.
.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;
Name | Description |
builderForValue | ModelExplanation.Builder |
Type | Description |
ModelEvaluation.Builder |
setName(String value)
public ModelEvaluation.Builder setName(String value)
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ModelEvaluation.Builder setNameBytes(ByteString value)
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ModelEvaluation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ModelEvaluation.Builder |
setSliceDimensions(int index, String value)
public ModelEvaluation.Builder setSliceDimensions(int index, String value)
All possible dimensions of
ModelEvaluationSlices. The dimensions can be used as the filter of the
ModelService.ListModelEvaluationSlices request, in the form of
slice.dimension = <dimension>
.
repeated string slice_dimensions = 5;
Name | Description |
index | int The index to set the value at. |
value | String The sliceDimensions to set. |
Type | Description |
ModelEvaluation.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ModelEvaluation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ModelEvaluation.Builder |