class Google::Apis::BigqueryV2::Cluster

Message containing the information about one cluster.

Attributes

centroid_id[RW]

Centroid id. Corresponds to the JSON property `centroidId` @return [Fixnum]

count[RW]

Count of training data rows that were assigned to this cluster. Corresponds to the JSON property `count` @return [Fixnum]

feature_values[RW]

Values of highly variant features for this cluster. Corresponds to the JSON property `featureValues` @return [Array<Google::Apis::BigqueryV2::FeatureValue>]

Public Class Methods

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