Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::Evaluation.
Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an EvaluationJob runs successfully.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation_type
def annotation_type() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
-
(::Google::Cloud::DataLabeling::V1beta1::AnnotationType) — 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.
#annotation_type=
def annotation_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
-
value (::Google::Cloud::DataLabeling::V1beta1::AnnotationType) — 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) — 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.
#config
def config() -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationConfig
- (::Google::Cloud::DataLabeling::V1beta1::EvaluationConfig) — Output only. Options used in the evaluation job that created this evaluation.
#config=
def config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationConfig
- value (::Google::Cloud::DataLabeling::V1beta1::EvaluationConfig) — Output only. Options used in the evaluation job that created this evaluation.
- (::Google::Cloud::DataLabeling::V1beta1::EvaluationConfig) — Output only. Options used in the evaluation job that created this evaluation.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp for when this evaluation was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. Timestamp for when this evaluation was created.
- (::Google::Protobuf::Timestamp) — Output only. Timestamp for when this evaluation was created.
#evaluated_item_count
def evaluated_item_count() -> ::Integer
- (::Integer) — 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.
#evaluated_item_count=
def evaluated_item_count=(value) -> ::Integer
- value (::Integer) — 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.
- (::Integer) — 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.
#evaluation_job_run_time
def evaluation_job_run_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp for when the evaluation job that created this evaluation ran.
#evaluation_job_run_time=
def evaluation_job_run_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Output only. Timestamp for when the evaluation job that created this evaluation ran.
- (::Google::Protobuf::Timestamp) — Output only. Timestamp for when the evaluation job that created this evaluation ran.
#evaluation_metrics
def evaluation_metrics() -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationMetrics
- (::Google::Cloud::DataLabeling::V1beta1::EvaluationMetrics) — Output only. Metrics comparing predictions to ground truth labels.
#evaluation_metrics=
def evaluation_metrics=(value) -> ::Google::Cloud::DataLabeling::V1beta1::EvaluationMetrics
- value (::Google::Cloud::DataLabeling::V1beta1::EvaluationMetrics) — Output only. Metrics comparing predictions to ground truth labels.
- (::Google::Cloud::DataLabeling::V1beta1::EvaluationMetrics) — Output only. Metrics comparing predictions to ground truth labels.
#name
def name() -> ::String
-
(::String) — Output only. Resource name of an evaluation. The name has the following
format:
"projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}'
#name=
def name=(value) -> ::String
-
value (::String) — Output only. Resource name of an evaluation. The name has the following
format:
"projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}'
-
(::String) — Output only. Resource name of an evaluation. The name has the following
format:
"projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}'