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.
Implements
IMessage<SampleConfig>, IEquatable<SampleConfig>, IDeepCloneable<SampleConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
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 |
Int32 |
FollowingBatchSampleSizeCase
public SampleConfig.FollowingBatchSampleSizeOneofCase FollowingBatchSampleSizeCase { get; }
Property Value | |
---|---|
Type | Description |
SampleConfig.FollowingBatchSampleSizeOneofCase |
InitialBatchSamplePercentage
public int InitialBatchSamplePercentage { get; set; }
The percentage of data needed to be labeled in the first batch.
Property Value | |
---|---|
Type | Description |
Int32 |
InitialBatchSampleSizeCase
public SampleConfig.InitialBatchSampleSizeOneofCase InitialBatchSampleSizeCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
SampleConfig.Types.SampleStrategy |