Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig
- 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 sampling behavior of the OnlineEvaluator. The OnlineEvaluator runs at a fixed interval of 10 minutes.
Instance Attribute Summary collapse
-
#max_evaluated_samples_per_run ⇒ Fixnum
Optional.
-
#random_sampling ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling
Configuration for random sampling.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig
constructor
A new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig
Returns a new instance of GoogleCloudAiplatformV1beta1OnlineEvaluatorConfig.
32228 32229 32230 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_evaluated_samples_per_run ⇒ Fixnum
Optional. The maximum number of evaluations to perform per run. If set to 0,
the number is unbounded.
Corresponds to the JSON property maxEvaluatedSamplesPerRun
32221 32222 32223 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32221 def max_evaluated_samples_per_run @max_evaluated_samples_per_run end |
#random_sampling ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1OnlineEvaluatorConfigRandomSampling
Configuration for random sampling.
Corresponds to the JSON property randomSampling
32226 32227 32228 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32226 def random_sampling @random_sampling end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32233 32234 32235 32236 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32233 def update!(**args) @max_evaluated_samples_per_run = args[:max_evaluated_samples_per_run] if args.key?(:max_evaluated_samples_per_run) @random_sampling = args[:random_sampling] if args.key?(:random_sampling) end |