Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SamplingStrategy
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SamplingStrategy
- 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
Sampling Strategy for logging, can be for both training and prediction dataset.
Instance Attribute Summary collapse
-
#random_sample_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig
Requests are randomly selected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SamplingStrategy
constructor
A new instance of GoogleCloudAiplatformV1SamplingStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SamplingStrategy
Returns a new instance of GoogleCloudAiplatformV1SamplingStrategy.
22247 22248 22249 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22247 def initialize(**args) update!(**args) end |
Instance Attribute Details
#random_sample_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SamplingStrategyRandomSampleConfig
Requests are randomly selected.
Corresponds to the JSON property randomSampleConfig
22245 22246 22247 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22245 def random_sample_config @random_sample_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
22252 22253 22254 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 22252 def update!(**args) @random_sample_config = args[:random_sample_config] if args.key?(:random_sample_config) end |