class Google::Apis::BigqueryV2::ClusterInfo

Information about a single cluster for clustering model.

Attributes

centroid_id[RW]

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

cluster_radius[RW]

Cluster radius, the average distance from centroid to each point assigned to the cluster. Corresponds to the JSON property `clusterRadius` @return [Float]

cluster_size[RW]

Cluster size, the total number of points assigned to the cluster. Corresponds to the JSON property `clusterSize` @return [Fixnum]

Public Class Methods

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