Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution

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

Overview

Dataset distribution for Supervised Tuning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution

Returns a new instance of GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution.



33348
33349
33350
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33348

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

Instance Attribute Details

#bucketsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket>

Output only. Defines the histogram bucket. Corresponds to the JSON property buckets



33311
33312
33313
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33311

def buckets
  @buckets
end

#maxFloat

Output only. The maximum of the population values. Corresponds to the JSON property max

Returns:

  • (Float)


33316
33317
33318
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33316

def max
  @max
end

#meanFloat

Output only. The arithmetic mean of the values in the population. Corresponds to the JSON property mean

Returns:

  • (Float)


33321
33322
33323
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33321

def mean
  @mean
end

#medianFloat

Output only. The median of the values in the population. Corresponds to the JSON property median

Returns:

  • (Float)


33326
33327
33328
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33326

def median
  @median
end

#minFloat

Output only. The minimum of the population values. Corresponds to the JSON property min

Returns:

  • (Float)


33331
33332
33333
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33331

def min
  @min
end

#p5Float

Output only. The 5th percentile of the values in the population. Corresponds to the JSON property p5

Returns:

  • (Float)


33336
33337
33338
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33336

def p5
  @p5
end

#p95Float

Output only. The 95th percentile of the values in the population. Corresponds to the JSON property p95

Returns:

  • (Float)


33341
33342
33343
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33341

def p95
  @p95
end

#sumFixnum

Output only. Sum of a given population of values. Corresponds to the JSON property sum

Returns:

  • (Fixnum)


33346
33347
33348
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33346

def sum
  @sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 33353

def update!(**args)
  @buckets = args[:buckets] if args.key?(:buckets)
  @max = args[:max] if args.key?(:max)
  @mean = args[:mean] if args.key?(:mean)
  @median = args[:median] if args.key?(:median)
  @min = args[:min] if args.key?(:min)
  @p5 = args[:p5] if args.key?(:p5)
  @p95 = args[:p95] if args.key?(:p95)
  @sum = args[:sum] if args.key?(:sum)
end