Cloud AI Platform v1 API - Class SampleConfig (2.24.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
int

FollowingBatchSampleSizeCase

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

HasFollowingBatchSamplePercentage

public bool HasFollowingBatchSamplePercentage { get; }

Gets whether the "following_batch_sample_percentage" field is set

Property Value
TypeDescription
bool

HasInitialBatchSamplePercentage

public bool HasInitialBatchSamplePercentage { get; }

Gets whether the "initial_batch_sample_percentage" field is set

Property Value
TypeDescription
bool

InitialBatchSamplePercentage

public int InitialBatchSamplePercentage { get; set; }

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

Property Value
TypeDescription
int

InitialBatchSampleSizeCase

public SampleConfig.InitialBatchSampleSizeOneofCase InitialBatchSampleSizeCase { get; }
Property Value
TypeDescription
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
TypeDescription
SampleConfigTypesSampleStrategy