Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution
- 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
-
#buckets ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket>
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 ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution
constructor
A new instance of GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution
Returns a new instance of GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution.
32965 32966 32967 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32965 def initialize(**args) update!(**args) end |
Instance Attribute Details
#buckets ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistributionDatasetBucket>
Output only. Defines the histogram bucket.
Corresponds to the JSON property buckets
32928 32929 32930 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32928 def buckets @buckets end |
#max ⇒ Float
Output only. The maximum of the population values.
Corresponds to the JSON property max
32933 32934 32935 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32933 def max @max end |
#mean ⇒ Float
Output only. The arithmetic mean of the values in the population.
Corresponds to the JSON property mean
32938 32939 32940 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32938 def mean @mean end |
#median ⇒ Float
Output only. The median of the values in the population.
Corresponds to the JSON property median
32943 32944 32945 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32943 def median @median end |
#min ⇒ Float
Output only. The minimum of the population values.
Corresponds to the JSON property min
32948 32949 32950 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32948 def min @min end |
#p5 ⇒ Float
Output only. The 5th percentile of the values in the population.
Corresponds to the JSON property p5
32953 32954 32955 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32953 def p5 @p5 end |
#p95 ⇒ Float
Output only. The 95th percentile of the values in the population.
Corresponds to the JSON property p95
32958 32959 32960 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32958 def p95 @p95 end |
#sum ⇒ Fixnum
Output only. Sum of a given population of values.
Corresponds to the JSON property sum
32963 32964 32965 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32963 def sum @sum end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32970 32971 32972 32973 32974 32975 32976 32977 32978 32979 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32970 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 |