class Google::Apis::BigqueryV2::FeatureValue
Representative value of a single feature within the cluster.
Attributes
categorical_value[RW]
Representative value of a categorical feature. Corresponds to the JSON property `categoricalValue` @return [Google::Apis::BigqueryV2::CategoricalValue]
feature_column[RW]
The feature column name. Corresponds to the JSON property `featureColumn` @return [String]
numerical_value[RW]
The numerical feature value. This is the centroid value for this feature. Corresponds to the JSON property `numericalValue` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 2552 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigquery_v2/classes.rb, line 2557 def update!(**args) @categorical_value = args[:categorical_value] if args.key?(:categorical_value) @feature_column = args[:feature_column] if args.key?(:feature_column) @numerical_value = args[:numerical_value] if args.key?(:numerical_value) end