Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution

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

Distribution computed over a tuning dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1DatasetDistribution

Returns a new instance of GoogleCloudAiplatformV1beta1DatasetDistribution.



13934
13935
13936
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13934

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

Instance Attribute Details

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

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



13897
13898
13899
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13897

def buckets
  @buckets
end

#maxFloat

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

Returns:

  • (Float)


13902
13903
13904
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13902

def max
  @max
end

#meanFloat

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

Returns:

  • (Float)


13907
13908
13909
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13907

def mean
  @mean
end

#medianFloat

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

Returns:

  • (Float)


13912
13913
13914
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13912

def median
  @median
end

#minFloat

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

Returns:

  • (Float)


13917
13918
13919
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13917

def min
  @min
end

#p5Float

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

Returns:

  • (Float)


13922
13923
13924
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13922

def p5
  @p5
end

#p95Float

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

Returns:

  • (Float)


13927
13928
13929
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13927

def p95
  @p95
end

#sumFloat

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

Returns:

  • (Float)


13932
13933
13934
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13932

def sum
  @sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 13939

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