Class RegressionMetrics (3.42.3)
Stay organized with collections
Save and categorize content based on your preferences.
RegressionMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Evaluation metrics for regression and explicit feedback type
matrix factorization models.
Attributes |
| Name |
Description |
mean_absolute_error |
google.protobuf.wrappers_pb2.DoubleValue
Mean absolute error.
|
mean_squared_error |
google.protobuf.wrappers_pb2.DoubleValue
Mean squared error.
|
mean_squared_log_error |
google.protobuf.wrappers_pb2.DoubleValue
Mean squared log error.
|
median_absolute_error |
google.protobuf.wrappers_pb2.DoubleValue
Median absolute error.
|
r_squared |
google.protobuf.wrappers_pb2.DoubleValue
R^2 score. This corresponds to r2_score in ML.EVALUATE.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-01 UTC.
[null,null,["Last updated 2026-08-01 UTC."],[],[]]