Class RegressionMetrics (2.1.0)

RegressionMetrics(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Evaluation metrics for regression and explicit feedback type matrix factorization models.

Attributes

NameDescription
mean_absolute_error `.wrappers.DoubleValue`
Mean absolute error.
mean_squared_error `.wrappers.DoubleValue`
Mean squared error.
mean_squared_log_error `.wrappers.DoubleValue`
Mean squared log error.
median_absolute_error `.wrappers.DoubleValue`
Median absolute error.
r_squared `.wrappers.DoubleValue`
R^2 score.

Inheritance

builtins.object > proto.message.Message > RegressionMetrics

Methods

__delattr__

__delattr__(key)

Delete the value on the given field.

This is generally equivalent to setting a falsy value.

__eq__

__eq__(other)

Return True if the messages are equal, False otherwise.

__ne__

__ne__(other)

Return True if the messages are unequal, False otherwise.

__setattr__

__setattr__(key, value)

Set the value on the given field.

For well-known protocol buffer types which are marshalled, either the protocol buffer object or the Python equivalent is accepted.