NAME
Google::Cloud::Automl::V1beta1::Regression - Compiled Protocol Buffers messages for google/cloud/automl/v1beta1/regression.proto
SYNOPSIS
use Google::Cloud::Automl::V1beta1::Regression;
my $msg = Google::Cloud::Automl::V1beta1::Regression::RegressionEvaluationMetrics->new({
root_mean_squared_error => $root_mean_squared_error,
mean_absolute_error => $mean_absolute_error,
mean_absolute_percentage_error => $mean_absolute_percentage_error,
r_squared => $r_squared,
});
# Read or update a field
my $val = $msg->root_mean_squared_error();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Automl::V1beta1::Regression::RegressionEvaluationMetrics->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/regression.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::V1beta1::Regression::RegressionEvaluationMetrics
Metrics for regression problems.
Inherits from Protobuf::Message.
Accessors
$msg->root_mean_squared_error()/$msg->root_mean_squared_error($value)Type:
FloatOutput only. Root Mean Squared Error (RMSE).
$msg->mean_absolute_error()/$msg->mean_absolute_error($value)Type:
FloatOutput only. Mean Absolute Error (MAE).
$msg->mean_absolute_percentage_error()/$msg->mean_absolute_percentage_error($value)Type:
FloatOutput only. Mean absolute percentage error. Only set if all ground truth values are are positive.
$msg->r_squared()/$msg->r_squared($value)Type:
FloatOutput only. R squared.
$msg->root_mean_squared_log_error()/$msg->root_mean_squared_log_error($value)Type:
FloatOutput only. Root mean squared log error.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Automl::V1beta1::Regression::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.