Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::SampleConfig (v0.20.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::SampleConfig.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#following_batch_sample_percentage

def following_batch_sample_percentage() -> ::Integer
Returns
  • (::Integer) — The percentage of data needed to be labeled in each following batch (except the first batch).

#following_batch_sample_percentage=

def following_batch_sample_percentage=(value) -> ::Integer
Parameter
  • value (::Integer) — 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).

#initial_batch_sample_percentage

def initial_batch_sample_percentage() -> ::Integer
Returns
  • (::Integer) — The percentage of data needed to be labeled in the first batch.

#initial_batch_sample_percentage=

def initial_batch_sample_percentage=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.

#sample_strategy

def sample_strategy() -> ::Google::Cloud::AIPlatform::V1::SampleConfig::SampleStrategy
Returns

#sample_strategy=

def sample_strategy=(value) -> ::Google::Cloud::AIPlatform::V1::SampleConfig::SampleStrategy
Parameter
Returns