Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SamplingStrategy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_configGoogle::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