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 class
ModelEvaluation.Builder
A collection of metrics calculated by comparing Model's predictions on all of the test data against annotations from the test data.static class
ModelEvaluation.ModelEvaluationExplanationSpec
Protobuf typegoogle.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec
static interface
ModelEvaluation.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 int
ANNOTATION_SCHEMA_URI_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DATA_ITEM_SCHEMA_URI_FIELD_NUMBER
static int
DISPLAY_NAME_FIELD_NUMBER
static int
EXPLANATION_SPECS_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
METRICS_FIELD_NUMBER
static int
METRICS_SCHEMA_URI_FIELD_NUMBER
static int
MODEL_EXPLANATION_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
SLICE_DIMENSIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
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].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].com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.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].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].static ModelEvaluation
getDefaultInstance()
ModelEvaluation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getDisplayName()
The display name of the ModelEvaluation.com.google.protobuf.ByteString
getDisplayNameBytes()
The display name of the ModelEvaluation.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.int
getExplanationSpecsCount()
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.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.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.Value
getMetadata()
The metadata of the ModelEvaluation.com.google.protobuf.ValueOrBuilder
getMetadataOrBuilder()
The metadata of the ModelEvaluation.com.google.protobuf.Value
getMetrics()
Evaluation metrics of the Model.com.google.protobuf.ValueOrBuilder
getMetricsOrBuilder()
Evaluation metrics of the Model.String
getMetricsSchemaUri()
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.ByteString
getMetricsSchemaUriBytes()
Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation.ModelExplanation
getModelExplanation()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses.ModelExplanationOrBuilder
getModelExplanationOrBuilder()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.protobuf.Parser<ModelEvaluation>
getParserForType()
int
getSerializedSize()
String
getSliceDimensions(int index)
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.com.google.protobuf.ByteString
getSliceDimensionsBytes(int index)
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.int
getSliceDimensionsCount()
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.com.google.protobuf.ProtocolStringList
getSliceDimensionsList()
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasMetadata()
The metadata of the ModelEvaluation.boolean
hasMetrics()
Evaluation metrics of the Model.boolean
hasModelExplanation()
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ModelEvaluation.Builder
newBuilder()
static ModelEvaluation.Builder
newBuilder(ModelEvaluation prototype)
ModelEvaluation.Builder
newBuilderForType()
protected ModelEvaluation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ModelEvaluation
parseDelimitedFrom(InputStream input)
static ModelEvaluation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelEvaluation
parseFrom(byte[] data)
static ModelEvaluation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelEvaluation
parseFrom(com.google.protobuf.ByteString data)
static ModelEvaluation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelEvaluation
parseFrom(com.google.protobuf.CodedInputStream input)
static ModelEvaluation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelEvaluation
parseFrom(InputStream input)
static ModelEvaluation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ModelEvaluation
parseFrom(ByteBuffer data)
static ModelEvaluation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ModelEvaluation>
parser()
ModelEvaluation.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getName
in 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:
getNameBytes
in interfaceModelEvaluationOrBuilder
- Returns:
- The bytes for name.
-
getDisplayName
public String getDisplayName()
The display name of the ModelEvaluation.
string display_name = 10;
- Specified by:
getDisplayName
in interfaceModelEvaluationOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the ModelEvaluation.
string display_name = 10;
- Specified by:
getDisplayNameBytes
in 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:
getMetricsSchemaUri
in 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:
getMetricsSchemaUriBytes
in 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:
hasMetrics
in 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:
getMetrics
in 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:
getMetricsOrBuilder
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
getSliceDimensionsList
in 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:
getSliceDimensionsCount
in 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:
getSliceDimensions
in 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:
getSliceDimensionsBytes
in 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:
getDataItemSchemaUri
in 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:
getDataItemSchemaUriBytes
in 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:
getAnnotationSchemaUri
in 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:
getAnnotationSchemaUriBytes
in 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:
hasModelExplanation
in 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:
getModelExplanation
in 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:
getModelExplanationOrBuilder
in 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:
getExplanationSpecsList
in 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:
getExplanationSpecsOrBuilderList
in 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:
getExplanationSpecsCount
in 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:
getExplanationSpecs
in 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:
getExplanationSpecsOrBuilder
in 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:
hasMetadata
in 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:
getMetadata
in 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:
getMetadataOrBuilder
in interfaceModelEvaluationOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ModelEvaluation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ModelEvaluation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-