- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class ActiveLearningConfig.Builder extends GeneratedMessageV3.Builder<ActiveLearningConfig.Builder> implements ActiveLearningConfigOrBuilder
Parameters that configure the active learning pipeline. Active learning will label the data incrementally by several iterations. For every iteration, it will select a batch of data based on the sampling strategy.
Protobuf type google.cloud.aiplatform.v1.ActiveLearningConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ActiveLearningConfig.BuilderImplements
ActiveLearningConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ActiveLearningConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
build()
public ActiveLearningConfig build()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig |
buildPartial()
public ActiveLearningConfig buildPartial()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig |
clear()
public ActiveLearningConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public ActiveLearningConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
clearHumanLabelingBudget()
public ActiveLearningConfig.Builder clearHumanLabelingBudget()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
clearMaxDataItemCount()
public ActiveLearningConfig.Builder clearMaxDataItemCount()
Max number of human labeled DataItems.
int64 max_data_item_count = 1;
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
This builder for chaining. |
clearMaxDataItemPercentage()
public ActiveLearningConfig.Builder clearMaxDataItemPercentage()
Max percent of total DataItems for human labeling.
int32 max_data_item_percentage = 2;
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ActiveLearningConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
clearSampleConfig()
public ActiveLearningConfig.Builder clearSampleConfig()
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
clearTrainingConfig()
public ActiveLearningConfig.Builder clearTrainingConfig()
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
clone()
public ActiveLearningConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
getDefaultInstanceForType()
public ActiveLearningConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getHumanLabelingBudgetCase()
public ActiveLearningConfig.HumanLabelingBudgetCase getHumanLabelingBudgetCase()
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.HumanLabelingBudgetCase |
getMaxDataItemCount()
public long getMaxDataItemCount()
Max number of human labeled DataItems.
int64 max_data_item_count = 1;
Returns | |
---|---|
Type | Description |
long |
The maxDataItemCount. |
getMaxDataItemPercentage()
public int getMaxDataItemPercentage()
Max percent of total DataItems for human labeling.
int32 max_data_item_percentage = 2;
Returns | |
---|---|
Type | Description |
int |
The maxDataItemPercentage. |
getSampleConfig()
public SampleConfig getSampleConfig()
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Returns | |
---|---|
Type | Description |
SampleConfig |
The sampleConfig. |
getSampleConfigBuilder()
public SampleConfig.Builder getSampleConfigBuilder()
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Returns | |
---|---|
Type | Description |
SampleConfig.Builder |
getSampleConfigOrBuilder()
public SampleConfigOrBuilder getSampleConfigOrBuilder()
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Returns | |
---|---|
Type | Description |
SampleConfigOrBuilder |
getTrainingConfig()
public TrainingConfig getTrainingConfig()
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Returns | |
---|---|
Type | Description |
TrainingConfig |
The trainingConfig. |
getTrainingConfigBuilder()
public TrainingConfig.Builder getTrainingConfigBuilder()
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Returns | |
---|---|
Type | Description |
TrainingConfig.Builder |
getTrainingConfigOrBuilder()
public TrainingConfigOrBuilder getTrainingConfigOrBuilder()
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Returns | |
---|---|
Type | Description |
TrainingConfigOrBuilder |
hasMaxDataItemCount()
public boolean hasMaxDataItemCount()
Max number of human labeled DataItems.
int64 max_data_item_count = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the maxDataItemCount field is set. |
hasMaxDataItemPercentage()
public boolean hasMaxDataItemPercentage()
Max percent of total DataItems for human labeling.
int32 max_data_item_percentage = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the maxDataItemPercentage field is set. |
hasSampleConfig()
public boolean hasSampleConfig()
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sampleConfig field is set. |
hasTrainingConfig()
public boolean hasTrainingConfig()
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the trainingConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ActiveLearningConfig other)
public ActiveLearningConfig.Builder mergeFrom(ActiveLearningConfig other)
Parameter | |
---|---|
Name | Description |
other |
ActiveLearningConfig |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ActiveLearningConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ActiveLearningConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
mergeSampleConfig(SampleConfig value)
public ActiveLearningConfig.Builder mergeSampleConfig(SampleConfig value)
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Parameter | |
---|---|
Name | Description |
value |
SampleConfig |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
mergeTrainingConfig(TrainingConfig value)
public ActiveLearningConfig.Builder mergeTrainingConfig(TrainingConfig value)
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Parameter | |
---|---|
Name | Description |
value |
TrainingConfig |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ActiveLearningConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ActiveLearningConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setMaxDataItemCount(long value)
public ActiveLearningConfig.Builder setMaxDataItemCount(long value)
Max number of human labeled DataItems.
int64 max_data_item_count = 1;
Parameter | |
---|---|
Name | Description |
value |
long The maxDataItemCount to set. |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
This builder for chaining. |
setMaxDataItemPercentage(int value)
public ActiveLearningConfig.Builder setMaxDataItemPercentage(int value)
Max percent of total DataItems for human labeling.
int32 max_data_item_percentage = 2;
Parameter | |
---|---|
Name | Description |
value |
int The maxDataItemPercentage to set. |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ActiveLearningConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setSampleConfig(SampleConfig value)
public ActiveLearningConfig.Builder setSampleConfig(SampleConfig value)
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Parameter | |
---|---|
Name | Description |
value |
SampleConfig |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setSampleConfig(SampleConfig.Builder builderForValue)
public ActiveLearningConfig.Builder setSampleConfig(SampleConfig.Builder builderForValue)
Active learning data sampling config. For every active learning labeling iteration, it will select a batch of data based on the sampling strategy.
.google.cloud.aiplatform.v1.SampleConfig sample_config = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
SampleConfig.Builder |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setTrainingConfig(TrainingConfig value)
public ActiveLearningConfig.Builder setTrainingConfig(TrainingConfig value)
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Parameter | |
---|---|
Name | Description |
value |
TrainingConfig |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setTrainingConfig(TrainingConfig.Builder builderForValue)
public ActiveLearningConfig.Builder setTrainingConfig(TrainingConfig.Builder builderForValue)
CMLE training config. For every active learning labeling iteration, system will train a machine learning model on CMLE. The trained model will be used by data sampling algorithm to select DataItems.
.google.cloud.aiplatform.v1.TrainingConfig training_config = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
TrainingConfig.Builder |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ActiveLearningConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ActiveLearningConfig.Builder |