Class EvaluationMetrics (3.21.0)

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

Evaluation metrics of a model. These are either computed on all training data or just the eval data based on whether eval data was used during training. These are not present for imported models.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
regression_metrics google.cloud.bigquery_v2.types.Model.RegressionMetrics
Populated for regression models and explicit feedback type matrix factorization models. This field is a member of oneof_ metrics.
binary_classification_metrics google.cloud.bigquery_v2.types.Model.BinaryClassificationMetrics
Populated for binary classification/classifier models. This field is a member of oneof_ metrics.
multi_class_classification_metrics google.cloud.bigquery_v2.types.Model.MultiClassClassificationMetrics
Populated for multi-class classification/classifier models. This field is a member of oneof_ metrics.
clustering_metrics google.cloud.bigquery_v2.types.Model.ClusteringMetrics
Populated for clustering models. This field is a member of oneof_ metrics.
ranking_metrics google.cloud.bigquery_v2.types.Model.RankingMetrics
Populated for implicit feedback type matrix factorization models. This field is a member of oneof_ metrics.
arima_forecasting_metrics google.cloud.bigquery_v2.types.Model.ArimaForecastingMetrics
Populated for ARIMA models. This field is a member of oneof_ metrics.

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.