Interface SampleConfigOrBuilder (3.18.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
TypeDescription
int

The followingBatchSamplePercentage.

getFollowingBatchSampleSizeCase()

public abstract SampleConfig.FollowingBatchSampleSizeCase getFollowingBatchSampleSizeCase()
Returns
TypeDescription
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
TypeDescription
int

The initialBatchSamplePercentage.

getInitialBatchSampleSizeCase()

public abstract SampleConfig.InitialBatchSampleSizeCase getInitialBatchSampleSizeCase()
Returns
TypeDescription
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.v1beta1.SampleConfig.SampleStrategy sample_strategy = 5;

Returns
TypeDescription
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.v1beta1.SampleConfig.SampleStrategy sample_strategy = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the initialBatchSamplePercentage field is set.