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.
32161 32162 32163 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32161 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
32154 32155 32156 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32154 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
32159 32160 32161 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32159 def random_sampling @random_sampling end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
32166 32167 32168 32169 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32166 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 |