class Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature

Description of the output value or label.

Attributes

numeric[RW]

Description of the output values in the data set. Corresponds to the JSON property `numeric` @return [Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature::Numeric]

text[RW]

Description of the output labels in the data set. Corresponds to the JSON property `text` @return [Array<Google::Apis::PredictionV1_6::Analyze::DataDescription::OutputFeature::Text>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/prediction_v1_6/classes.rb, line 248
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 253
def update!(**args)
  @numeric = args[:numeric] if args.key?(:numeric)
  @text = args[:text] if args.key?(:text)
end