Package com.google.cloud.aiplatform.v1
Class ModelEvaluation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.aiplatform.v1.ModelEvaluation
-
- All Implemented Interfaces:
ModelEvaluationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class ModelEvaluation extends com.google.protobuf.GeneratedMessageV3 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 typegoogle.cloud.aiplatform.v1.ModelEvaluation- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModelEvaluation.BuilderA collection of metrics calculated by comparing Model's predictions on all of the test data against annotations from the test data.static classModelEvaluation.ModelEvaluationExplanationSpecProtobuf typegoogle.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpecstatic interfaceModelEvaluation.ModelEvaluationExplanationSpecOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATION_SCHEMA_URI_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDATA_ITEM_SCHEMA_URI_FIELD_NUMBERstatic intDISPLAY_NAME_FIELD_NUMBERstatic intEXPLANATION_SPECS_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intMETRICS_FIELD_NUMBERstatic intMETRICS_SCHEMA_URI_FIELD_NUMBERstatic intMODEL_EXPLANATION_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSLICE_DIMENSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAnnotationSchemaUri()Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.predictions][], [EvaluatedDataItemView.ground_truths][], [EvaluatedAnnotation.predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], and [EvaluatedAnnotation.ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths].com.google.protobuf.ByteStringgetAnnotationSchemaUriBytes()Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.predictions][], [EvaluatedDataItemView.ground_truths][], [EvaluatedAnnotation.predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], and [EvaluatedAnnotation.ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths].com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetDataItemSchemaUri()Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.data_item_payload][] and [EvaluatedAnnotation.data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload].com.google.protobuf.ByteStringgetDataItemSchemaUriBytes()Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.data_item_payload][] and [EvaluatedAnnotation.data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload].static ModelEvaluationgetDefaultInstance()ModelEvaluationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDisplayName()The display name of the ModelEvaluation.com.google.protobuf.ByteStringgetDisplayNameBytes()The display name of the ModelEvaluation.ModelEvaluation.ModelEvaluationExplanationSpecgetExplanationSpecs(int index)Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.intgetExplanationSpecsCount()Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.List<ModelEvaluation.ModelEvaluationExplanationSpec>getExplanationSpecsList()Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.ModelEvaluation.ModelEvaluationExplanationSpecOrBuildergetExplanationSpecsOrBuilder(int index)Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.List<? extends ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder>getExplanationSpecsOrBuilderList()Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.com.google.protobuf.ValuegetMetadata()The metadata of the ModelEvaluation.com.google.protobuf.ValueOrBuildergetMetadataOrBuilder()The metadata of the ModelEvaluation.com.google.protobuf.ValuegetMetrics()Evaluation metrics of the Model.com.google.protobuf.ValueOrBuildergetMetricsOrBuilder()Evaluation metrics of the Model.StringgetMetricsSchemaUri()Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation.com.google.protobuf.ByteStringgetMetricsSchemaUriBytes()Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation.ModelExplanationgetModelExplanation()Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses.ModelExplanationOrBuildergetModelExplanationOrBuilder()Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<ModelEvaluation>getParserForType()intgetSerializedSize()StringgetSliceDimensions(int index)All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.com.google.protobuf.ByteStringgetSliceDimensionsBytes(int index)All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.intgetSliceDimensionsCount()All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.com.google.protobuf.ProtocolStringListgetSliceDimensionsList()All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.booleanhasCreateTime()Output only.inthashCode()booleanhasMetadata()The metadata of the ModelEvaluation.booleanhasMetrics()Evaluation metrics of the Model.booleanhasModelExplanation()Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ModelEvaluation.BuildernewBuilder()static ModelEvaluation.BuildernewBuilder(ModelEvaluation prototype)ModelEvaluation.BuildernewBuilderForType()protected ModelEvaluation.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ModelEvaluationparseDelimitedFrom(InputStream input)static ModelEvaluationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationparseFrom(byte[] data)static ModelEvaluationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationparseFrom(com.google.protobuf.ByteString data)static ModelEvaluationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationparseFrom(com.google.protobuf.CodedInputStream input)static ModelEvaluationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationparseFrom(InputStream input)static ModelEvaluationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ModelEvaluationparseFrom(ByteBuffer data)static ModelEvaluationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ModelEvaluation>parser()ModelEvaluation.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_SCHEMA_URI_FIELD_NUMBER
public static final int METRICS_SCHEMA_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METRICS_FIELD_NUMBER
public static final int METRICS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SLICE_DIMENSIONS_FIELD_NUMBER
public static final int SLICE_DIMENSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_ITEM_SCHEMA_URI_FIELD_NUMBER
public static final int DATA_ITEM_SCHEMA_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATION_SCHEMA_URI_FIELD_NUMBER
public static final int ANNOTATION_SCHEMA_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MODEL_EXPLANATION_FIELD_NUMBER
public static final int MODEL_EXPLANATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPLANATION_SPECS_FIELD_NUMBER
public static final int EXPLANATION_SPECS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceModelEvaluationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the ModelEvaluation.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
The display name of the ModelEvaluation.
string display_name = 10;- Specified by:
getDisplayNamein interfaceModelEvaluationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the ModelEvaluation.
string display_name = 10;- Specified by:
getDisplayNameBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for displayName.
-
getMetricsSchemaUri
public String getMetricsSchemaUri()
Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string metrics_schema_uri = 2;- Specified by:
getMetricsSchemaUriin interfaceModelEvaluationOrBuilder- Returns:
- The metricsSchemaUri.
-
getMetricsSchemaUriBytes
public com.google.protobuf.ByteString getMetricsSchemaUriBytes()
Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject).
string metrics_schema_uri = 2;- Specified by:
getMetricsSchemaUriBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for metricsSchemaUri.
-
hasMetrics
public boolean hasMetrics()
Evaluation metrics of the Model. The schema of the metrics is stored in [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
.google.protobuf.Value metrics = 3;- Specified by:
hasMetricsin interfaceModelEvaluationOrBuilder- Returns:
- Whether the metrics field is set.
-
getMetrics
public com.google.protobuf.Value getMetrics()
Evaluation metrics of the Model. The schema of the metrics is stored in [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
.google.protobuf.Value metrics = 3;- Specified by:
getMetricsin interfaceModelEvaluationOrBuilder- Returns:
- The metrics.
-
getMetricsOrBuilder
public com.google.protobuf.ValueOrBuilder getMetricsOrBuilder()
Evaluation metrics of the Model. The schema of the metrics is stored in [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri]
.google.protobuf.Value metrics = 3;- Specified by:
getMetricsOrBuilderin interfaceModelEvaluationOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceModelEvaluationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceModelEvaluationOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this ModelEvaluation was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceModelEvaluationOrBuilder
-
getSliceDimensionsList
public com.google.protobuf.ProtocolStringList getSliceDimensionsList()
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices. The dimensions can be used as the filter of the [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of `slice.dimension = <dimension>`.
repeated string slice_dimensions = 5;- Specified by:
getSliceDimensionsListin interfaceModelEvaluationOrBuilder- Returns:
- A list containing the sliceDimensions.
-
getSliceDimensionsCount
public int getSliceDimensionsCount()
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices. The dimensions can be used as the filter of the [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of `slice.dimension = <dimension>`.
repeated string slice_dimensions = 5;- Specified by:
getSliceDimensionsCountin interfaceModelEvaluationOrBuilder- Returns:
- The count of sliceDimensions.
-
getSliceDimensions
public String getSliceDimensions(int index)
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices. The dimensions can be used as the filter of the [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of `slice.dimension = <dimension>`.
repeated string slice_dimensions = 5;- Specified by:
getSliceDimensionsin interfaceModelEvaluationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sliceDimensions at the given index.
-
getSliceDimensionsBytes
public com.google.protobuf.ByteString getSliceDimensionsBytes(int index)
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices. The dimensions can be used as the filter of the [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of `slice.dimension = <dimension>`.
repeated string slice_dimensions = 5;- Specified by:
getSliceDimensionsBytesin interfaceModelEvaluationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sliceDimensions at the given index.
-
getDataItemSchemaUri
public String getDataItemSchemaUri()
Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.data_item_payload][] and [EvaluatedAnnotation.data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.
string data_item_schema_uri = 6;- Specified by:
getDataItemSchemaUriin interfaceModelEvaluationOrBuilder- Returns:
- The dataItemSchemaUri.
-
getDataItemSchemaUriBytes
public com.google.protobuf.ByteString getDataItemSchemaUriBytes()
Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.data_item_payload][] and [EvaluatedAnnotation.data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.
string data_item_schema_uri = 6;- Specified by:
getDataItemSchemaUriBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for dataItemSchemaUri.
-
getAnnotationSchemaUri
public String getAnnotationSchemaUri()
Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.predictions][], [EvaluatedDataItemView.ground_truths][], [EvaluatedAnnotation.predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], and [EvaluatedAnnotation.ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.
string annotation_schema_uri = 7;- Specified by:
getAnnotationSchemaUriin interfaceModelEvaluationOrBuilder- Returns:
- The annotationSchemaUri.
-
getAnnotationSchemaUriBytes
public com.google.protobuf.ByteString getAnnotationSchemaUriBytes()
Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.predictions][], [EvaluatedDataItemView.ground_truths][], [EvaluatedAnnotation.predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], and [EvaluatedAnnotation.ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]. The schema is defined as an OpenAPI 3.0.2 [Schema Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation.
string annotation_schema_uri = 7;- Specified by:
getAnnotationSchemaUriBytesin interfaceModelEvaluationOrBuilder- Returns:
- The bytes for annotationSchemaUri.
-
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;- Specified by:
hasModelExplanationin interfaceModelEvaluationOrBuilder- Returns:
- Whether the modelExplanation field is set.
-
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;- Specified by:
getModelExplanationin interfaceModelEvaluationOrBuilder- Returns:
- The modelExplanation.
-
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;- Specified by:
getModelExplanationOrBuilderin interfaceModelEvaluationOrBuilder
-
getExplanationSpecsList
public List<ModelEvaluation.ModelEvaluationExplanationSpec> getExplanationSpecsList()
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;- Specified by:
getExplanationSpecsListin interfaceModelEvaluationOrBuilder
-
getExplanationSpecsOrBuilderList
public List<? extends ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder> getExplanationSpecsOrBuilderList()
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;- Specified by:
getExplanationSpecsOrBuilderListin interfaceModelEvaluationOrBuilder
-
getExplanationSpecsCount
public int getExplanationSpecsCount()
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;- Specified by:
getExplanationSpecsCountin interfaceModelEvaluationOrBuilder
-
getExplanationSpecs
public ModelEvaluation.ModelEvaluationExplanationSpec getExplanationSpecs(int index)
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;- Specified by:
getExplanationSpecsin interfaceModelEvaluationOrBuilder
-
getExplanationSpecsOrBuilder
public ModelEvaluation.ModelEvaluationExplanationSpecOrBuilder getExplanationSpecsOrBuilder(int index)
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data.
repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;- Specified by:
getExplanationSpecsOrBuilderin interfaceModelEvaluationOrBuilder
-
hasMetadata
public boolean hasMetadata()
The 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".
.google.protobuf.Value metadata = 11;- Specified by:
hasMetadatain interfaceModelEvaluationOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public com.google.protobuf.Value getMetadata()
The 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".
.google.protobuf.Value metadata = 11;- Specified by:
getMetadatain interfaceModelEvaluationOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
public com.google.protobuf.ValueOrBuilder getMetadataOrBuilder()
The 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".
.google.protobuf.Value metadata = 11;- Specified by:
getMetadataOrBuilderin interfaceModelEvaluationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ModelEvaluation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ModelEvaluation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelEvaluation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelEvaluation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ModelEvaluation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelEvaluation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ModelEvaluation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ModelEvaluation.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ModelEvaluation.Builder newBuilder()
-
newBuilder
public static ModelEvaluation.Builder newBuilder(ModelEvaluation prototype)
-
toBuilder
public ModelEvaluation.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelEvaluation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ModelEvaluation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ModelEvaluation> parser()
-
getParserForType
public com.google.protobuf.Parser<ModelEvaluation> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelEvaluation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-