public final class Evaluation extends GeneratedMessageV3 implements EvaluationOrBuilder
Describes an evaluation between a machine learning model's predictions and
ground truth labels. Created when an EvaluationJob runs successfully.
Protobuf type google.cloud.datalabeling.v1beta1.Evaluation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANNOTATION_TYPE_FIELD_NUMBER
public static final int ANNOTATION_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONFIG_FIELD_NUMBER
public static final int CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EVALUATED_ITEM_COUNT_FIELD_NUMBER
public static final int EVALUATED_ITEM_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EVALUATION_JOB_RUN_TIME_FIELD_NUMBER
public static final int EVALUATION_JOB_RUN_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EVALUATION_METRICS_FIELD_NUMBER
public static final int EVALUATION_METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Evaluation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Evaluation.Builder newBuilder()
newBuilder(Evaluation prototype)
public static Evaluation.Builder newBuilder(Evaluation prototype)
public static Evaluation parseDelimitedFrom(InputStream input)
public static Evaluation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Evaluation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Evaluation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Evaluation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Evaluation parseFrom(CodedInputStream input)
public static Evaluation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Evaluation parseFrom(InputStream input)
public static Evaluation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Evaluation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Evaluation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Evaluation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAnnotationType()
public AnnotationType getAnnotationType()
Output only. Type of task that the model version being evaluated performs,
as defined in the
evaluationJobConfig.inputConfig.annotationType
field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
getAnnotationTypeValue()
public int getAnnotationTypeValue()
Output only. Type of task that the model version being evaluated performs,
as defined in the
evaluationJobConfig.inputConfig.annotationType
field of the evaluation job that created this evaluation.
.google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for annotationType.
|
getConfig()
public EvaluationConfig getConfig()
Output only. Options used in the evaluation job that created this
evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
getConfigOrBuilder()
public EvaluationConfigOrBuilder getConfigOrBuilder()
Output only. Options used in the evaluation job that created this
evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
getCreateTime()
public Timestamp getCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
getDefaultInstanceForType()
public Evaluation getDefaultInstanceForType()
getEvaluatedItemCount()
public long getEvaluatedItemCount()
Output only. The number of items in the ground truth dataset that were used
for this evaluation. Only populated when the evaulation is for certain
AnnotationTypes.
int64 evaluated_item_count = 7;
Returns |
---|
Type | Description |
long | The evaluatedItemCount.
|
getEvaluationJobRunTime()
public Timestamp getEvaluationJobRunTime()
Output only. Timestamp for when the evaluation job that created this
evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Returns |
---|
Type | Description |
Timestamp | The evaluationJobRunTime.
|
getEvaluationJobRunTimeOrBuilder()
public TimestampOrBuilder getEvaluationJobRunTimeOrBuilder()
Output only. Timestamp for when the evaluation job that created this
evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
getEvaluationMetrics()
public EvaluationMetrics getEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
getEvaluationMetricsOrBuilder()
public EvaluationMetricsOrBuilder getEvaluationMetricsOrBuilder()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
getName()
Output only. Resource name of an evaluation. The name has the following
format:
"projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. Resource name of an evaluation. The name has the following
format:
"projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
string name = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Evaluation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasConfig()
public boolean hasConfig()
Output only. Options used in the evaluation job that created this
evaluation.
.google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
Returns |
---|
Type | Description |
boolean | Whether the config field is set.
|
hasCreateTime()
public boolean hasCreateTime()
Output only. Timestamp for when this evaluation was created.
.google.protobuf.Timestamp create_time = 4;
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
hasEvaluationJobRunTime()
public boolean hasEvaluationJobRunTime()
Output only. Timestamp for when the evaluation job that created this
evaluation ran.
.google.protobuf.Timestamp evaluation_job_run_time = 3;
Returns |
---|
Type | Description |
boolean | Whether the evaluationJobRunTime field is set.
|
hasEvaluationMetrics()
public boolean hasEvaluationMetrics()
Output only. Metrics comparing predictions to ground truth labels.
.google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
Returns |
---|
Type | Description |
boolean | Whether the evaluationMetrics field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Evaluation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Evaluation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Evaluation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides