Interface SampleConfigOrBuilder (3.56.0)

public interface SampleConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFollowingBatchSamplePercentage()

public abstract int getFollowingBatchSamplePercentage()

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

int32 following_batch_sample_percentage = 3;

Returns
Type Description
int

The followingBatchSamplePercentage.

getFollowingBatchSampleSizeCase()

public abstract SampleConfig.FollowingBatchSampleSizeCase getFollowingBatchSampleSizeCase()
Returns
Type Description
SampleConfig.FollowingBatchSampleSizeCase

getInitialBatchSamplePercentage()

public abstract int getInitialBatchSamplePercentage()

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

int32 initial_batch_sample_percentage = 1;

Returns
Type Description
int

The initialBatchSamplePercentage.

getInitialBatchSampleSizeCase()

public abstract SampleConfig.InitialBatchSampleSizeCase getInitialBatchSampleSizeCase()
Returns
Type Description
SampleConfig.InitialBatchSampleSizeCase

getSampleStrategy()

public abstract SampleConfig.SampleStrategy getSampleStrategy()

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

.google.cloud.aiplatform.v1.SampleConfig.SampleStrategy sample_strategy = 5;

Returns
Type Description
SampleConfig.SampleStrategy

The sampleStrategy.

getSampleStrategyValue()

public abstract int getSampleStrategyValue()

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

.google.cloud.aiplatform.v1.SampleConfig.SampleStrategy sample_strategy = 5;

Returns
Type Description
int

The enum numeric value on the wire for sampleStrategy.

hasFollowingBatchSamplePercentage()

public abstract boolean hasFollowingBatchSamplePercentage()

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

int32 following_batch_sample_percentage = 3;

Returns
Type Description
boolean

Whether the followingBatchSamplePercentage field is set.

hasInitialBatchSamplePercentage()

public abstract boolean hasInitialBatchSamplePercentage()

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

int32 initial_batch_sample_percentage = 1;

Returns
Type Description
boolean

Whether the initialBatchSamplePercentage field is set.