Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution
- 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
-
#buckets ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket>
Output only.
-
#max ⇒ Float
Output only.
-
#mean ⇒ Float
Output only.
-
#median ⇒ Float
Output only.
-
#min ⇒ Float
Output only.
-
#p5 ⇒ Float
Output only.
-
#p95 ⇒ Float
Output only.
-
#sum ⇒ Float
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1DatasetDistribution
constructor
A new instance of GoogleCloudAiplatformV1DatasetDistribution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1DatasetDistribution
Returns a new instance of GoogleCloudAiplatformV1DatasetDistribution.
7380 7381 7382 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7380 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buckets ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket>
Output only. Defines the histogram bucket.
Corresponds to the JSON property buckets
7343 7344 7345 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7343 def buckets @buckets end |
#max ⇒ Float
Output only. The maximum of the population values.
Corresponds to the JSON property max
7348 7349 7350 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7348 def max @max end |
#mean ⇒ Float
Output only. The arithmetic mean of the values in the population.
Corresponds to the JSON property mean
7353 7354 7355 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7353 def mean @mean end |
#median ⇒ Float
Output only. The median of the values in the population.
Corresponds to the JSON property median
7358 7359 7360 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7358 def median @median end |
#min ⇒ Float
Output only. The minimum of the population values.
Corresponds to the JSON property min
7363 7364 7365 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7363 def min @min end |
#p5 ⇒ Float
Output only. The 5th percentile of the values in the population.
Corresponds to the JSON property p5
7368 7369 7370 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7368 def p5 @p5 end |
#p95 ⇒ Float
Output only. The 95th percentile of the values in the population.
Corresponds to the JSON property p95
7373 7374 7375 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7373 def p95 @p95 end |
#sum ⇒ Float
Output only. Sum of a given population of values.
Corresponds to the JSON property sum
7378 7379 7380 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7378 def sum @sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7385 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 |