public static final class ActiveLearningConfig.Builder extends GeneratedMessageV3.Builder<ActiveLearningConfig.Builder> implements ActiveLearningConfigOrBuilderParameters 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()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ActiveLearningConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| ActiveLearningConfig.Builder |
build()
public ActiveLearningConfig build()| Type | Description |
| ActiveLearningConfig |
buildPartial()
public ActiveLearningConfig buildPartial()| Type | Description |
| ActiveLearningConfig |
clear()
public ActiveLearningConfig.Builder clear()| Type | Description |
| ActiveLearningConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public ActiveLearningConfig.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| ActiveLearningConfig.Builder |
clearHumanLabelingBudget()
public ActiveLearningConfig.Builder clearHumanLabelingBudget()| Type | Description |
| ActiveLearningConfig.Builder |
clearMaxDataItemCount()
public ActiveLearningConfig.Builder clearMaxDataItemCount()Max number of human labeled DataItems.
int64 max_data_item_count = 1;
| 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;
| Type | Description |
| ActiveLearningConfig.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ActiveLearningConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| 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;
| 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;
| Type | Description |
| ActiveLearningConfig.Builder |
clone()
public ActiveLearningConfig.Builder clone()| Type | Description |
| ActiveLearningConfig.Builder |
getDefaultInstanceForType()
public ActiveLearningConfig getDefaultInstanceForType()| Type | Description |
| ActiveLearningConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getHumanLabelingBudgetCase()
public ActiveLearningConfig.HumanLabelingBudgetCase getHumanLabelingBudgetCase()| Type | Description |
| ActiveLearningConfig.HumanLabelingBudgetCase |
getMaxDataItemCount()
public long getMaxDataItemCount()Max number of human labeled DataItems.
int64 max_data_item_count = 1;
| Type | Description |
| long | The maxDataItemCount. |
getMaxDataItemPercentage()
public int getMaxDataItemPercentage()Max percent of total DataItems for human labeling.
int32 max_data_item_percentage = 2;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| Type | Description |
| TrainingConfigOrBuilder |
hasMaxDataItemCount()
public boolean hasMaxDataItemCount()Max number of human labeled DataItems.
int64 max_data_item_count = 1;
| 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;
| 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;
| 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;
| Type | Description |
| boolean | Whether the trainingConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(ActiveLearningConfig other)
public ActiveLearningConfig.Builder mergeFrom(ActiveLearningConfig other)| Name | Description |
| other | ActiveLearningConfig |
| Type | Description |
| ActiveLearningConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ActiveLearningConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| ActiveLearningConfig.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public ActiveLearningConfig.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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;
| Name | Description |
| value | SampleConfig |
| 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;
| Name | Description |
| value | TrainingConfig |
| Type | Description |
| ActiveLearningConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ActiveLearningConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ActiveLearningConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ActiveLearningConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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;
| Name | Description |
| value | longThe maxDataItemCount to set. |
| 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;
| Name | Description |
| value | intThe maxDataItemPercentage to set. |
| 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)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| 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;
| Name | Description |
| value | SampleConfig |
| 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;
| Name | Description |
| builderForValue | SampleConfig.Builder |
| 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;
| Name | Description |
| value | TrainingConfig |
| 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;
| Name | Description |
| builderForValue | TrainingConfig.Builder |
| Type | Description |
| ActiveLearningConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ActiveLearningConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| ActiveLearningConfig.Builder |