Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorConfig
- 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
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::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorConfigRandomSampling
Configuration for random sampling.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1OnlineEvaluatorConfig
constructor
A new instance of GoogleCloudAiplatformV1OnlineEvaluatorConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1OnlineEvaluatorConfig
Returns a new instance of GoogleCloudAiplatformV1OnlineEvaluatorConfig.
28015 28016 28017 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28015 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
28008 28009 28010 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28008 def max_evaluated_samples_per_run @max_evaluated_samples_per_run end |
#random_sampling ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorConfigRandomSampling
Configuration for random sampling.
Corresponds to the JSON property randomSampling
28013 28014 28015 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28013 def random_sampling @random_sampling end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28020 28021 28022 28023 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28020 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 |