Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SamplingStrategy
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SamplingStrategy
- 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
Sampling Strategy for logging, can be for both training and prediction dataset.
Instance Attribute Summary collapse
-
#random_sample_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SamplingStrategyRandomSampleConfig
Requests are randomly selected.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SamplingStrategy
constructor
A new instance of GoogleCloudAiplatformV1beta1SamplingStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SamplingStrategy
Returns a new instance of GoogleCloudAiplatformV1beta1SamplingStrategy.
24501 24502 24503 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24501 def initialize(**args) update!(**args) end |
Instance Attribute Details
#random_sample_config ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SamplingStrategyRandomSampleConfig
Requests are randomly selected.
Corresponds to the JSON property randomSampleConfig
24499 24500 24501 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24499 def random_sample_config @random_sample_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
24506 24507 24508 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 24506 def update!(**args) @random_sample_config = args[:random_sample_config] if args.key?(:random_sample_config) end |