@@ -560,14 +560,23 @@ class Cluster(proto.Message):
560
560
class FeatureValue (proto .Message ):
561
561
r"""Representative value of a single feature within the cluster.
562
562
563
+ This message has `oneof`_ fields (mutually exclusive fields).
564
+ For each oneof, at most one member field can be set at the same time.
565
+ Setting any member of the oneof automatically clears all other
566
+ members.
567
+
568
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
569
+
563
570
Attributes:
564
571
feature_column (str):
565
572
The feature column name.
566
573
numerical_value (google.protobuf.wrappers_pb2.DoubleValue):
567
574
The numerical feature value. This is the
568
575
centroid value for this feature.
576
+ This field is a member of `oneof`_ ``value``.
569
577
categorical_value (google.cloud.bigquery_v2.types.Model.ClusteringMetrics.Cluster.FeatureValue.CategoricalValue):
570
578
The categorical feature value.
579
+ This field is a member of `oneof`_ ``value``.
571
580
"""
572
581
573
582
class CategoricalValue (proto .Message ):
@@ -784,23 +793,36 @@ class EvaluationMetrics(proto.Message):
784
793
data was used during training. These are not present for
785
794
imported models.
786
795
796
+ This message has `oneof`_ fields (mutually exclusive fields).
797
+ For each oneof, at most one member field can be set at the same time.
798
+ Setting any member of the oneof automatically clears all other
799
+ members.
800
+
801
+ .. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
802
+
787
803
Attributes:
788
804
regression_metrics (google.cloud.bigquery_v2.types.Model.RegressionMetrics):
789
805
Populated for regression models and explicit
790
806
feedback type matrix factorization models.
807
+ This field is a member of `oneof`_ ``metrics``.
791
808
binary_classification_metrics (google.cloud.bigquery_v2.types.Model.BinaryClassificationMetrics):
792
809
Populated for binary
793
810
classification/classifier models.
811
+ This field is a member of `oneof`_ ``metrics``.
794
812
multi_class_classification_metrics (google.cloud.bigquery_v2.types.Model.MultiClassClassificationMetrics):
795
813
Populated for multi-class
796
814
classification/classifier models.
815
+ This field is a member of `oneof`_ ``metrics``.
797
816
clustering_metrics (google.cloud.bigquery_v2.types.Model.ClusteringMetrics):
798
817
Populated for clustering models.
818
+ This field is a member of `oneof`_ ``metrics``.
799
819
ranking_metrics (google.cloud.bigquery_v2.types.Model.RankingMetrics):
800
820
Populated for implicit feedback type matrix
801
821
factorization models.
822
+ This field is a member of `oneof`_ ``metrics``.
802
823
arima_forecasting_metrics (google.cloud.bigquery_v2.types.Model.ArimaForecastingMetrics):
803
824
Populated for ARIMA models.
825
+ This field is a member of `oneof`_ ``metrics``.
804
826
"""
805
827
806
828
regression_metrics = proto .Field (
0 commit comments