Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Dataset bucket used to create a histogram for the distribution given a population of values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DatasetDistributionDistributionBucket

Returns a new instance of GoogleCloudAiplatformV1DatasetDistributionDistributionBucket.



7171
7172
7173
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7171

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#countFixnum

Output only. Number of values in the bucket. Corresponds to the JSON property count

Returns:

  • (Fixnum)


7159
7160
7161
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7159

def count
  @count
end

#leftFloat

Output only. Left bound of the bucket. Corresponds to the JSON property left

Returns:

  • (Float)


7164
7165
7166
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7164

def left
  @left
end

#rightFloat

Output only. Right bound of the bucket. Corresponds to the JSON property right

Returns:

  • (Float)


7169
7170
7171
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7169

def right
  @right
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7176
7177
7178
7179
7180
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7176

def update!(**args)
  @count = args[:count] if args.key?(:count)
  @left = args[:left] if args.key?(:left)
  @right = args[:right] if args.key?(:right)
end