Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution

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

Distribution computed over a tuning dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1DatasetDistribution

Returns a new instance of GoogleCloudAiplatformV1DatasetDistribution.



6107
6108
6109
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6107

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

Instance Attribute Details

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

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



6070
6071
6072
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6070

def buckets
  @buckets
end

#maxFloat

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

Returns:

  • (Float)


6075
6076
6077
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6075

def max
  @max
end

#meanFloat

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

Returns:

  • (Float)


6080
6081
6082
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6080

def mean
  @mean
end

#medianFloat

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

Returns:

  • (Float)


6085
6086
6087
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6085

def median
  @median
end

#minFloat

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

Returns:

  • (Float)


6090
6091
6092
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6090

def min
  @min
end

#p5Float

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

Returns:

  • (Float)


6095
6096
6097
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6095

def p5
  @p5
end

#p95Float

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

Returns:

  • (Float)


6100
6101
6102
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6100

def p95
  @p95
end

#sumFloat

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

Returns:

  • (Float)


6105
6106
6107
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6105

def sum
  @sum
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6112

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