Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling
- 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
Configuration for random sampling.
Instance Attribute Summary collapse
-
#percentage ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling
constructor
A new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling
Returns a new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling.
32182 32183 32184 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32182 def initialize(**args) update!(**args) end |
Instance Attribute Details
#percentage ⇒ Fixnum
Required. The percentage of traces to sample for evaluation. Must be an
integer between 1 and 100.
Corresponds to the JSON property percentage
32180 32181 32182 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32180 def percentage @percentage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32187 32188 32189 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32187 def update!(**args) @percentage = args[:percentage] if args.key?(:percentage) end |