Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket

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) ⇒ GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket

Returns a new instance of GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket.



26943
26944
26945
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26943

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

Instance Attribute Details

#countFloat

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

Returns:

  • (Float)


26931
26932
26933
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26931

def count
  @count
end

#leftFloat

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

Returns:

  • (Float)


26936
26937
26938
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26936

def left
  @left
end

#rightFloat

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

Returns:

  • (Float)


26941
26942
26943
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26941

def right
  @right
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26948
26949
26950
26951
26952
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26948

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