Cloud AI Platform v1 API - Class SampleConfig (2.8.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
NameDescription
otherSampleConfig

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
TypeDescription
Int32

FollowingBatchSampleSizeCase

public SampleConfig.FollowingBatchSampleSizeOneofCase FollowingBatchSampleSizeCase { get; }
Property Value
TypeDescription
SampleConfig.FollowingBatchSampleSizeOneofCase

InitialBatchSamplePercentage

public int InitialBatchSamplePercentage { get; set; }

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

Property Value
TypeDescription
Int32

InitialBatchSampleSizeCase

public SampleConfig.InitialBatchSampleSizeOneofCase InitialBatchSampleSizeCase { get; }
Property Value
TypeDescription
SampleConfig.InitialBatchSampleSizeOneofCase

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
TypeDescription
SampleConfig.Types.SampleStrategy