class Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical

Description of the categorical values of this feature.

Attributes

count[RW]

Number of categorical values for this feature in the data. Corresponds to the JSON property `count` @return [String]

values[RW]

List of all the categories for this feature in the data set. Corresponds to the JSON property `values` @return [Array<Google::Apis::PredictionV1_6::Analyze::DataDescription::Feature::Categorical::Value>]

Public Class Methods

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