NAME
Google::Cloud::Automl::V1::Classification - Compiled Protocol Buffers messages for google/cloud/automl/v1/classification.proto
SYNOPSIS
use Google::Cloud::Automl::V1::Classification;
my $msg = Google::Cloud::Automl::V1::Classification::ClassificationAnnotation->new({
score => $score,
});
# Read or update a field
my $val = $msg->score();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Automl::V1::Classification::ClassificationAnnotation->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/automl/v1/classification.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::Automl::V1::Classification::ClassificationAnnotation
Contains annotation details specific to classification.
Inherits from Protobuf::Message.
Accessors
$msg->score()/$msg->score($value)Type:
FloatOutput only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence that the annotation is positive. If a user approves an annotation as negative or positive, the score value remains unchanged. If a user creates an annotation, the score is 0 for negative or 1 for positive.
Google::Cloud::Automl::V1::Classification::ClassificationEvaluationMetrics
Model evaluation metrics for classification problems. Note: For Video Classification this metrics only describe quality of the Video Classification predictions of "segment_classification" type.
Inherits from Protobuf::Message.
Accessors
$msg->au_prc()/$msg->au_prc($value)Type:
FloatOutput only. The Area Under Precision-Recall Curve metric. Micro-averaged for the overall evaluation.
$msg->au_roc()/$msg->au_roc($value)Type:
FloatOutput only. The Area Under Receiver Operating Characteristic curve metric. Micro-averaged for the overall evaluation.
$msg->log_loss()/$msg->log_loss($value)Type:
FloatOutput only. The Log Loss metric.
$msg->confidence_metrics_entry()/$msg->confidence_metrics_entry($value)Type:
Message(Google::Cloud::Automl::V1::Classification::ClassificationEvaluationMetrics::ConfidenceMetricsEntry)Output only. Metrics for each confidence_threshold in 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and position_threshold = INT32_MAX_VALUE. ROC and precision-recall curves, and other aggregated metrics are derived from them. The confidence metrics entries may also be supplied for additional values of position_threshold, but from these no aggregated metrics are computed.
$msg->confusion_matrix()/$msg->confusion_matrix($value)Type:
Message(Google::Cloud::Automl::V1::Classification::ClassificationEvaluationMetrics::ConfusionMatrix)Output only. Confusion matrix of the evaluation. Only set for MULTICLASS classification problems where number of labels is no more than 10. Only set for model level evaluation, not for evaluation per label.
$msg->annotation_spec_id()/$msg->annotation_spec_id($value)Type:
StringOutput only. The annotation spec ids used for this evaluation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Automl::V1::Classification::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.