Reference documentation and code samples for the Cloud AutoML V1beta1 Client class RegressionEvaluationMetrics.
Metrics for regression problems.
Generated from protobuf message google.cloud.automl.v1beta1.RegressionEvaluationMetrics
Namespace
Google \ Cloud \ AutoMl \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ root_mean_squared_error |
float
Output only. Root Mean Squared Error (RMSE). |
↳ mean_absolute_error |
float
Output only. Mean Absolute Error (MAE). |
↳ mean_absolute_percentage_error |
float
Output only. Mean absolute percentage error. Only set if all ground truth values are are positive. |
↳ r_squared |
float
Output only. R squared. |
↳ root_mean_squared_log_error |
float
Output only. Root mean squared log error. |
getRootMeanSquaredError
Output only. Root Mean Squared Error (RMSE).
Returns | |
---|---|
Type | Description |
float |
setRootMeanSquaredError
Output only. Root Mean Squared Error (RMSE).
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMeanAbsoluteError
Output only. Mean Absolute Error (MAE).
Returns | |
---|---|
Type | Description |
float |
setMeanAbsoluteError
Output only. Mean Absolute Error (MAE).
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMeanAbsolutePercentageError
Output only. Mean absolute percentage error. Only set if all ground truth values are are positive.
Returns | |
---|---|
Type | Description |
float |
setMeanAbsolutePercentageError
Output only. Mean absolute percentage error. Only set if all ground truth values are are positive.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getRSquared
Output only. R squared.
Returns | |
---|---|
Type | Description |
float |
setRSquared
Output only. R squared.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getRootMeanSquaredLogError
Output only. Root mean squared log error.
Returns | |
---|---|
Type | Description |
float |
setRootMeanSquaredLogError
Output only. Root mean squared log error.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |