Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution

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 distribution for Supervised Tuning.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution

Returns a new instance of GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution.



29808
29809
29810
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29808

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

Instance Attribute Details

#billable_sumFixnum

Output only. Sum of a given population of values that are billable. Corresponds to the JSON property billableSum

Returns:

  • (Fixnum)


29766
29767
29768
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29766

def billable_sum
  @billable_sum
end

#bucketsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket>

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



29771
29772
29773
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29771

def buckets
  @buckets
end

#maxFloat

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

Returns:

  • (Float)


29776
29777
29778
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29776

def max
  @max
end

#meanFloat

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

Returns:

  • (Float)


29781
29782
29783
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29781

def mean
  @mean
end

#medianFloat

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

Returns:

  • (Float)


29786
29787
29788
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29786

def median
  @median
end

#minFloat

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

Returns:

  • (Float)


29791
29792
29793
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29791

def min
  @min
end

#p5Float

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

Returns:

  • (Float)


29796
29797
29798
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29796

def p5
  @p5
end

#p95Float

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

Returns:

  • (Float)


29801
29802
29803
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29801

def p95
  @p95
end

#sumFixnum

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

Returns:

  • (Fixnum)


29806
29807
29808
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29806

def sum
  @sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 29813

def update!(**args)
  @billable_sum = args[:billable_sum] if args.key?(:billable_sum)
  @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