Class: Google::Cloud::AIPlatform::V1::SampleConfig

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

Overview

Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.

Defined Under Namespace

Modules: SampleStrategy

Instance Attribute Summary collapse

Instance Attribute Details

#following_batch_sample_percentage::Integer

Returns The percentage of data needed to be labeled in each following batch (except the first batch).

Returns:

  • (::Integer)

    The percentage of data needed to be labeled in each following batch (except the first batch).



178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb', line 178

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

  # Sample strategy decides which subset of DataItems should be selected for
  # human labeling in every batch.
  module SampleStrategy
    # Default will be treated as UNCERTAINTY.
    SAMPLE_STRATEGY_UNSPECIFIED = 0

    # Sample the most uncertain data to label.
    UNCERTAINTY = 1
  end
end

#initial_batch_sample_percentage::Integer

Returns The percentage of data needed to be labeled in the first batch.

Returns:

  • (::Integer)

    The percentage of data needed to be labeled in the first batch.



178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb', line 178

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

  # Sample strategy decides which subset of DataItems should be selected for
  # human labeling in every batch.
  module SampleStrategy
    # Default will be treated as UNCERTAINTY.
    SAMPLE_STRATEGY_UNSPECIFIED = 0

    # Sample the most uncertain data to label.
    UNCERTAINTY = 1
  end
end

#sample_strategy::Google::Cloud::AIPlatform::V1::SampleConfig::SampleStrategy

Returns Field to choose sampling strategy. Sampling strategy will decide which data should be selected for human labeling in every batch.

Returns:



178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'proto_docs/google/cloud/aiplatform/v1/data_labeling_job.rb', line 178

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

  # Sample strategy decides which subset of DataItems should be selected for
  # human labeling in every batch.
  module SampleStrategy
    # Default will be treated as UNCERTAINTY.
    SAMPLE_STRATEGY_UNSPECIFIED = 0

    # Sample the most uncertain data to label.
    UNCERTAINTY = 1
  end
end