class Google::Apis::BigqueryV2::CategoricalValue

Representative value of a categorical feature.

Attributes

category_counts[RW]

Counts of all categories for the categorical feature. If there are more than ten categories, we return top ten (by count) and return one more CategoryCount with category “OTHER” and count as aggregate counts of remaining categories. Corresponds to the JSON property `categoryCounts` @return [Array<Google::Apis::BigqueryV2::CategoryCount>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/bigquery_v2/classes.rb, line 1173
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 1178
def update!(**args)
  @category_counts = args[:category_counts] if args.key?(:category_counts)
end