Class: Google::Cloud::AIPlatform::V1::SamplingStrategy

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb

Overview

Sampling Strategy for logging, can be for both training and prediction dataset.

Defined Under Namespace

Classes: RandomSampleConfig

Instance Attribute Summary collapse

Instance Attribute Details

#random_sample_config::Google::Cloud::AIPlatform::V1::SamplingStrategy::RandomSampleConfig

Returns Random sample config. Will support more sampling strategies later.

Returns:



259
260
261
262
263
264
265
266
267
268
269
270
271
# File 'proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb', line 259

class SamplingStrategy
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Requests are randomly selected.
  # @!attribute [rw] sample_rate
  #   @return [::Float]
  #     Sample rate (0, 1]
  class RandomSampleConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end