Cloud AI Platform v1 API - Class SampleConfig (3.7.0)

public sealed class SampleConfig : IMessage<SampleConfig>, IEquatable<SampleConfig>, IDeepCloneable<SampleConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class SampleConfig.

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

Inheritance

object > SampleConfig

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

SampleConfig()

public SampleConfig()

SampleConfig(SampleConfig)

public SampleConfig(SampleConfig other)
Parameter
Name Description
other SampleConfig

Properties

FollowingBatchSamplePercentage

public int FollowingBatchSamplePercentage { get; set; }

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

Property Value
Type Description
int

FollowingBatchSampleSizeCase

public SampleConfig.FollowingBatchSampleSizeOneofCase FollowingBatchSampleSizeCase { get; }
Property Value
Type Description
SampleConfigFollowingBatchSampleSizeOneofCase

HasFollowingBatchSamplePercentage

public bool HasFollowingBatchSamplePercentage { get; }

Gets whether the "following_batch_sample_percentage" field is set

Property Value
Type Description
bool

HasInitialBatchSamplePercentage

public bool HasInitialBatchSamplePercentage { get; }

Gets whether the "initial_batch_sample_percentage" field is set

Property Value
Type Description
bool

InitialBatchSamplePercentage

public int InitialBatchSamplePercentage { get; set; }

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

Property Value
Type Description
int

InitialBatchSampleSizeCase

public SampleConfig.InitialBatchSampleSizeOneofCase InitialBatchSampleSizeCase { get; }
Property Value
Type Description
SampleConfigInitialBatchSampleSizeOneofCase

SampleStrategy

public SampleConfig.Types.SampleStrategy SampleStrategy { get; set; }

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

Property Value
Type Description
SampleConfigTypesSampleStrategy