NAME

Google::Cloud::Datalabeling::V1beta1::Evaluation - Compiled Protocol Buffers messages for google/cloud/datalabeling/v1beta1/evaluation.proto

SYNOPSIS

use Google::Cloud::Datalabeling::V1beta1::Evaluation;

my $msg = Google::Cloud::Datalabeling::V1beta1::Evaluation::Evaluation->new({
    name => $name,
    config => $config,
    evaluation_job_run_time => $evaluation_job_run_time,
    create_time => $create_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Datalabeling::V1beta1::Evaluation::Evaluation->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/datalabeling/v1beta1/evaluation.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Datalabeling::V1beta1::Evaluation::Evaluation

Describes an evaluation between a machine learning model's predictions and ground truth labels. Created when an [EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob] runs successfully.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    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>}'

  • $msg->config() / $msg->config($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Evaluation::EvaluationConfig)

    Output only. Options used in the evaluation job that created this evaluation.

  • $msg->evaluation_job_run_time() / $msg->evaluation_job_run_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp for when the evaluation job that created this evaluation ran.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Timestamp for when this evaluation was created.

  • $msg->evaluation_metrics() / $msg->evaluation_metrics($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Evaluation::EvaluationMetrics)

    Output only. Metrics comparing predictions to ground truth labels.

  • $msg->annotation_type() / $msg->annotation_type($value)

    Type: Enum (Google::Cloud::Datalabeling::V1beta1::AnnotationType)

    Output only. Type of task that the model version being evaluated performs, as defined in the

    [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config] field of the evaluation job that created this evaluation.

  • $msg->evaluated_item_count() / $msg->evaluated_item_count($value)

    Type: Int64

    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.

Google::Cloud::Datalabeling::V1beta1::Evaluation::EvaluationConfig

Configuration details used for calculating evaluation metrics and creating an [Evaluation][google.cloud.datalabeling.v1beta1.Evaluation].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Evaluation::BoundingBoxEvaluationOptions

Options regarding evaluation between bounding boxes.

Inherits from Protobuf::Message.

Accessors

  • $msg->iou_threshold() / $msg->iou_threshold($value)

    Type: Float

    Minimum [intersection-over-union

    (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) required for 2 bounding boxes to be considered a match. This must be a number between 0 and 1.

Google::Cloud::Datalabeling::V1beta1::Evaluation::EvaluationMetrics

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Evaluation::ClassificationMetrics

Metrics calculated for a classification model.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Evaluation::ObjectDetectionMetrics

Metrics calculated for an image object detection (bounding box) model.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Datalabeling::V1beta1::Evaluation::PrCurve

Inherits from Protobuf::Message.

Accessors

  • $msg->annotation_spec() / $msg->annotation_spec($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::AnnotationSpecSet::AnnotationSpec)

    The annotation spec of the label for which the precision-recall curve calculated. If this field is empty, that means the precision-recall curve is an aggregate curve for all labels.

  • $msg->area_under_curve() / $msg->area_under_curve($value)

    Type: Float

    Area under the precision-recall curve. Not to be confused with area under a receiver operating characteristic (ROC) curve.

  • $msg->confidence_metrics_entries() / $msg->confidence_metrics_entries($value)

    Type: Message (Google::Cloud::Datalabeling::V1beta1::Evaluation::PrCurve::ConfidenceMetricsEntry)

    Entries that make up the precision-recall graph. Each entry is a "point" on the graph drawn for a different `confidence_threshold`.

  • $msg->mean_average_precision() / $msg->mean_average_precision($value)

    Type: Float

    Mean average prcision of this curve.

Google::Cloud::Datalabeling::V1beta1::Evaluation::ConfusionMatrix

Confusion matrix of the model running the classification. Only applicable when the metrics entry aggregates multiple labels. Not applicable when the entry is for a single label.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Datalabeling::V1beta1::Evaluation::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.