class Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature
Attributes
categorical[RW]
Description of the categorical values of this feature. Corresponds to the JSON property `categorical` @return [Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical]
index[RW]
The feature index. Corresponds to the JSON property `index` @return [String]
numeric[RW]
Description of the numeric values of this feature. Corresponds to the JSON property `numeric` @return [Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Numeric]
text[RW]
Description of multiple-word text values of this feature. Corresponds to the JSON property `text` @return [Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Text]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/prediction_v1_6/classes.rb, line 121 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/prediction_v1_6/classes.rb, line 126 def update!(**args) @categorical = args[:categorical] if args.key?(:categorical) @index = args[:index] if args.key?(:index) @numeric = args[:numeric] if args.key?(:numeric) @text = args[:text] if args.key?(:text) end