Class AutoMlTablesInputs.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutoMlTablesInputs.Builder>
com.google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Builder
- All Implemented Interfaces:
AutoMlTablesInputsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutoMlTablesInputs
public static final class AutoMlTablesInputs.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutoMlTablesInputs.Builder>
implements AutoMlTablesInputsOrBuilder
Protobuf type
google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs-
Method Summary
Modifier and TypeMethodDescriptionaddAdditionalExperiments(String value) Additional experiment flags for the Tables training pipeline.addAdditionalExperimentsBytes(com.google.protobuf.ByteString value) Additional experiment flags for the Tables training pipeline.addAllAdditionalExperiments(Iterable<String> values) Additional experiment flags for the Tables training pipeline.addAllTransformations(Iterable<? extends AutoMlTablesInputs.Transformation> values) Each transformation will apply transform function to given input column.addTransformations(int index, AutoMlTablesInputs.Transformation value) Each transformation will apply transform function to given input column.addTransformations(int index, AutoMlTablesInputs.Transformation.Builder builderForValue) Each transformation will apply transform function to given input column.Each transformation will apply transform function to given input column.addTransformations(AutoMlTablesInputs.Transformation.Builder builderForValue) Each transformation will apply transform function to given input column.Each transformation will apply transform function to given input column.addTransformationsBuilder(int index) Each transformation will apply transform function to given input column.build()clear()Additional experiment flags for the Tables training pipeline.Use the entire training budget.Configuration for exporting test set predictions to a BigQuery table.Objective function the model is optimizing towards.Required when optimization_objective is "maximize-recall-at-precision".Required when optimization_objective is "maximize-precision-at-recall".The type of prediction the Model is to produce.The column name of the target column that the model is to predict.Required.Each transformation will apply transform function to given input column.Column name that should be used as the weight column.getAdditionalExperiments(int index) Additional experiment flags for the Tables training pipeline.com.google.protobuf.ByteStringgetAdditionalExperimentsBytes(int index) Additional experiment flags for the Tables training pipeline.intAdditional experiment flags for the Tables training pipeline.com.google.protobuf.ProtocolStringListAdditional experiment flags for the Tables training pipeline.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanUse the entire training budget.Configuration for exporting test set predictions to a BigQuery table.Configuration for exporting test set predictions to a BigQuery table.Configuration for exporting test set predictions to a BigQuery table.Objective function the model is optimizing towards.com.google.protobuf.ByteStringObjective function the model is optimizing towards.floatRequired when optimization_objective is "maximize-recall-at-precision".floatRequired when optimization_objective is "maximize-precision-at-recall".The type of prediction the Model is to produce.com.google.protobuf.ByteStringThe type of prediction the Model is to produce.The column name of the target column that the model is to predict.com.google.protobuf.ByteStringThe column name of the target column that the model is to predict.longRequired.getTransformations(int index) Each transformation will apply transform function to given input column.getTransformationsBuilder(int index) Each transformation will apply transform function to given input column.Each transformation will apply transform function to given input column.intEach transformation will apply transform function to given input column.Each transformation will apply transform function to given input column.getTransformationsOrBuilder(int index) Each transformation will apply transform function to given input column.List<? extends AutoMlTablesInputs.TransformationOrBuilder>Each transformation will apply transform function to given input column.Column name that should be used as the weight column.com.google.protobuf.ByteStringColumn name that should be used as the weight column.booleanConfiguration for exporting test set predictions to a BigQuery table.booleanRequired when optimization_objective is "maximize-recall-at-precision".booleanRequired when optimization_objective is "maximize-precision-at-recall".protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanConfiguration for exporting test set predictions to a BigQuery table.mergeFrom(AutoMlTablesInputs other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTransformations(int index) Each transformation will apply transform function to given input column.setAdditionalExperiments(int index, String value) Additional experiment flags for the Tables training pipeline.setDisableEarlyStopping(boolean value) Use the entire training budget.Configuration for exporting test set predictions to a BigQuery table.setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig.Builder builderForValue) Configuration for exporting test set predictions to a BigQuery table.setOptimizationObjective(String value) Objective function the model is optimizing towards.setOptimizationObjectiveBytes(com.google.protobuf.ByteString value) Objective function the model is optimizing towards.setOptimizationObjectivePrecisionValue(float value) Required when optimization_objective is "maximize-recall-at-precision".setOptimizationObjectiveRecallValue(float value) Required when optimization_objective is "maximize-precision-at-recall".setPredictionType(String value) The type of prediction the Model is to produce.setPredictionTypeBytes(com.google.protobuf.ByteString value) The type of prediction the Model is to produce.setTargetColumn(String value) The column name of the target column that the model is to predict.setTargetColumnBytes(com.google.protobuf.ByteString value) The column name of the target column that the model is to predict.setTrainBudgetMilliNodeHours(long value) Required.setTransformations(int index, AutoMlTablesInputs.Transformation value) Each transformation will apply transform function to given input column.setTransformations(int index, AutoMlTablesInputs.Transformation.Builder builderForValue) Each transformation will apply transform function to given input column.setWeightColumnName(String value) Column name that should be used as the weight column.setWeightColumnNameBytes(com.google.protobuf.ByteString value) Column name that should be used as the weight column.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutoMlTablesInputs.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutoMlTablesInputs.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutoMlTablesInputs.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoMlTablesInputs.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutoMlTablesInputs.Builder>
-
mergeFrom
public AutoMlTablesInputs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutoMlTablesInputs.Builder>- Throws:
IOException
-
getAdditionalOptimizationObjectiveConfigCase
public AutoMlTablesInputs.AdditionalOptimizationObjectiveConfigCase getAdditionalOptimizationObjectiveConfigCase()- Specified by:
getAdditionalOptimizationObjectiveConfigCasein interfaceAutoMlTablesInputsOrBuilder
-
clearAdditionalOptimizationObjectiveConfig
-
hasOptimizationObjectiveRecallValue
public boolean hasOptimizationObjectiveRecallValue()Required when optimization_objective is "maximize-precision-at-recall". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 5;- Specified by:
hasOptimizationObjectiveRecallValuein interfaceAutoMlTablesInputsOrBuilder- Returns:
- Whether the optimizationObjectiveRecallValue field is set.
-
getOptimizationObjectiveRecallValue
public float getOptimizationObjectiveRecallValue()Required when optimization_objective is "maximize-precision-at-recall". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 5;- Specified by:
getOptimizationObjectiveRecallValuein interfaceAutoMlTablesInputsOrBuilder- Returns:
- The optimizationObjectiveRecallValue.
-
setOptimizationObjectiveRecallValue
Required when optimization_objective is "maximize-precision-at-recall". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 5;- Parameters:
value- The optimizationObjectiveRecallValue to set.- Returns:
- This builder for chaining.
-
clearOptimizationObjectiveRecallValue
Required when optimization_objective is "maximize-precision-at-recall". Must be between 0 and 1, inclusive.
float optimization_objective_recall_value = 5;- Returns:
- This builder for chaining.
-
hasOptimizationObjectivePrecisionValue
public boolean hasOptimizationObjectivePrecisionValue()Required when optimization_objective is "maximize-recall-at-precision". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 6;- Specified by:
hasOptimizationObjectivePrecisionValuein interfaceAutoMlTablesInputsOrBuilder- Returns:
- Whether the optimizationObjectivePrecisionValue field is set.
-
getOptimizationObjectivePrecisionValue
public float getOptimizationObjectivePrecisionValue()Required when optimization_objective is "maximize-recall-at-precision". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 6;- Specified by:
getOptimizationObjectivePrecisionValuein interfaceAutoMlTablesInputsOrBuilder- Returns:
- The optimizationObjectivePrecisionValue.
-
setOptimizationObjectivePrecisionValue
Required when optimization_objective is "maximize-recall-at-precision". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 6;- Parameters:
value- The optimizationObjectivePrecisionValue to set.- Returns:
- This builder for chaining.
-
clearOptimizationObjectivePrecisionValue
Required when optimization_objective is "maximize-recall-at-precision". Must be between 0 and 1, inclusive.
float optimization_objective_precision_value = 6;- Returns:
- This builder for chaining.
-
getPredictionType
The type of prediction the Model is to produce. "classification" - Predict one out of multiple target values is picked for each row. "regression" - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.
string prediction_type = 1;- Specified by:
getPredictionTypein interfaceAutoMlTablesInputsOrBuilder- Returns:
- The predictionType.
-
getPredictionTypeBytes
public com.google.protobuf.ByteString getPredictionTypeBytes()The type of prediction the Model is to produce. "classification" - Predict one out of multiple target values is picked for each row. "regression" - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.
string prediction_type = 1;- Specified by:
getPredictionTypeBytesin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The bytes for predictionType.
-
setPredictionType
The type of prediction the Model is to produce. "classification" - Predict one out of multiple target values is picked for each row. "regression" - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.
string prediction_type = 1;- Parameters:
value- The predictionType to set.- Returns:
- This builder for chaining.
-
clearPredictionType
The type of prediction the Model is to produce. "classification" - Predict one out of multiple target values is picked for each row. "regression" - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.
string prediction_type = 1;- Returns:
- This builder for chaining.
-
setPredictionTypeBytes
The type of prediction the Model is to produce. "classification" - Predict one out of multiple target values is picked for each row. "regression" - Predict a value based on its relation to other values. This type is available only to columns that contain semantically numeric values, i.e. integers or floating point number, even if stored as e.g. strings.
string prediction_type = 1;- Parameters:
value- The bytes for predictionType to set.- Returns:
- This builder for chaining.
-
getTargetColumn
The column name of the target column that the model is to predict.
string target_column = 2;- Specified by:
getTargetColumnin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The targetColumn.
-
getTargetColumnBytes
public com.google.protobuf.ByteString getTargetColumnBytes()The column name of the target column that the model is to predict.
string target_column = 2;- Specified by:
getTargetColumnBytesin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The bytes for targetColumn.
-
setTargetColumn
The column name of the target column that the model is to predict.
string target_column = 2;- Parameters:
value- The targetColumn to set.- Returns:
- This builder for chaining.
-
clearTargetColumn
The column name of the target column that the model is to predict.
string target_column = 2;- Returns:
- This builder for chaining.
-
setTargetColumnBytes
The column name of the target column that the model is to predict.
string target_column = 2;- Parameters:
value- The bytes for targetColumn to set.- Returns:
- This builder for chaining.
-
getTransformationsList
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3;- Specified by:
getTransformationsListin interfaceAutoMlTablesInputsOrBuilder
-
getTransformationsCount
public int getTransformationsCount()Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3;- Specified by:
getTransformationsCountin interfaceAutoMlTablesInputsOrBuilder
-
getTransformations
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3;- Specified by:
getTransformationsin interfaceAutoMlTablesInputsOrBuilder
-
setTransformations
public AutoMlTablesInputs.Builder setTransformations(int index, AutoMlTablesInputs.Transformation value) Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
setTransformations
public AutoMlTablesInputs.Builder setTransformations(int index, AutoMlTablesInputs.Transformation.Builder builderForValue) Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
addTransformations
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
addTransformations
public AutoMlTablesInputs.Builder addTransformations(int index, AutoMlTablesInputs.Transformation value) Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
addTransformations
public AutoMlTablesInputs.Builder addTransformations(AutoMlTablesInputs.Transformation.Builder builderForValue) Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
addTransformations
public AutoMlTablesInputs.Builder addTransformations(int index, AutoMlTablesInputs.Transformation.Builder builderForValue) Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
addAllTransformations
public AutoMlTablesInputs.Builder addAllTransformations(Iterable<? extends AutoMlTablesInputs.Transformation> values) Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
clearTransformations
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
removeTransformations
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
getTransformationsBuilder
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
getTransformationsOrBuilder
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3;- Specified by:
getTransformationsOrBuilderin interfaceAutoMlTablesInputsOrBuilder
-
getTransformationsOrBuilderList
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3;- Specified by:
getTransformationsOrBuilderListin interfaceAutoMlTablesInputsOrBuilder
-
addTransformationsBuilder
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
addTransformationsBuilder
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
getTransformationsBuilderList
Each transformation will apply transform function to given input column. And the result will be used for training. When creating transformation for BigQuery Struct column, the column should be flattened using "." as the delimiter.
repeated .google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation transformations = 3; -
getOptimizationObjective
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. classification (binary): "maximize-au-roc" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "minimize-log-loss" - Minimize log loss. "maximize-au-prc" - Maximize the area under the precision-recall curve. "maximize-precision-at-recall" - Maximize precision for a specified recall value. "maximize-recall-at-precision" - Maximize recall for a specified precision value. classification (multi-class): "minimize-log-loss" (default) - Minimize log loss. regression: "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). "minimize-mae" - Minimize mean-absolute error (MAE). "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Specified by:
getOptimizationObjectivein interfaceAutoMlTablesInputsOrBuilder- Returns:
- The optimizationObjective.
-
getOptimizationObjectiveBytes
public com.google.protobuf.ByteString getOptimizationObjectiveBytes()Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. classification (binary): "maximize-au-roc" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "minimize-log-loss" - Minimize log loss. "maximize-au-prc" - Maximize the area under the precision-recall curve. "maximize-precision-at-recall" - Maximize precision for a specified recall value. "maximize-recall-at-precision" - Maximize recall for a specified precision value. classification (multi-class): "minimize-log-loss" (default) - Minimize log loss. regression: "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). "minimize-mae" - Minimize mean-absolute error (MAE). "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Specified by:
getOptimizationObjectiveBytesin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The bytes for optimizationObjective.
-
setOptimizationObjective
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. classification (binary): "maximize-au-roc" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "minimize-log-loss" - Minimize log loss. "maximize-au-prc" - Maximize the area under the precision-recall curve. "maximize-precision-at-recall" - Maximize precision for a specified recall value. "maximize-recall-at-precision" - Maximize recall for a specified precision value. classification (multi-class): "minimize-log-loss" (default) - Minimize log loss. regression: "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). "minimize-mae" - Minimize mean-absolute error (MAE). "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Parameters:
value- The optimizationObjective to set.- Returns:
- This builder for chaining.
-
clearOptimizationObjective
Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. classification (binary): "maximize-au-roc" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "minimize-log-loss" - Minimize log loss. "maximize-au-prc" - Maximize the area under the precision-recall curve. "maximize-precision-at-recall" - Maximize precision for a specified recall value. "maximize-recall-at-precision" - Maximize recall for a specified precision value. classification (multi-class): "minimize-log-loss" (default) - Minimize log loss. regression: "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). "minimize-mae" - Minimize mean-absolute error (MAE). "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Returns:
- This builder for chaining.
-
setOptimizationObjectiveBytes
public AutoMlTablesInputs.Builder setOptimizationObjectiveBytes(com.google.protobuf.ByteString value) Objective function the model is optimizing towards. The training process creates a model that maximizes/minimizes the value of the objective function over the validation set. The supported optimization objectives depend on the prediction type. If the field is not set, a default objective function is used. classification (binary): "maximize-au-roc" (default) - Maximize the area under the receiver operating characteristic (ROC) curve. "minimize-log-loss" - Minimize log loss. "maximize-au-prc" - Maximize the area under the precision-recall curve. "maximize-precision-at-recall" - Maximize precision for a specified recall value. "maximize-recall-at-precision" - Maximize recall for a specified precision value. classification (multi-class): "minimize-log-loss" (default) - Minimize log loss. regression: "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). "minimize-mae" - Minimize mean-absolute error (MAE). "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE).
string optimization_objective = 4;- Parameters:
value- The bytes for optimizationObjective to set.- Returns:
- This builder for chaining.
-
getTrainBudgetMilliNodeHours
public long getTrainBudgetMilliNodeHours()Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
int64 train_budget_milli_node_hours = 7;- Specified by:
getTrainBudgetMilliNodeHoursin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The trainBudgetMilliNodeHours.
-
setTrainBudgetMilliNodeHours
Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
int64 train_budget_milli_node_hours = 7;- Parameters:
value- The trainBudgetMilliNodeHours to set.- Returns:
- This builder for chaining.
-
clearTrainBudgetMilliNodeHours
Required. The train budget of creating this model, expressed in milli node hours i.e. 1,000 value in this field means 1 node hour. The training cost of the model will not exceed this budget. The final cost will be attempted to be close to the budget, though may end up being (even) noticeably smaller - at the backend's discretion. This especially may happen when further model training ceases to provide any improvements. If the budget is set to a value known to be insufficient to train a model for the given dataset, the training won't be attempted and will error. The train budget must be between 1,000 and 72,000 milli node hours, inclusive.
int64 train_budget_milli_node_hours = 7;- Returns:
- This builder for chaining.
-
getDisableEarlyStopping
public boolean getDisableEarlyStopping()Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
bool disable_early_stopping = 8;- Specified by:
getDisableEarlyStoppingin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The disableEarlyStopping.
-
setDisableEarlyStopping
Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
bool disable_early_stopping = 8;- Parameters:
value- The disableEarlyStopping to set.- Returns:
- This builder for chaining.
-
clearDisableEarlyStopping
Use the entire training budget. This disables the early stopping feature. By default, the early stopping feature is enabled, which means that AutoML Tables might stop training before the entire training budget has been used.
bool disable_early_stopping = 8;- Returns:
- This builder for chaining.
-
getWeightColumnName
Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.
string weight_column_name = 9;- Specified by:
getWeightColumnNamein interfaceAutoMlTablesInputsOrBuilder- Returns:
- The weightColumnName.
-
getWeightColumnNameBytes
public com.google.protobuf.ByteString getWeightColumnNameBytes()Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.
string weight_column_name = 9;- Specified by:
getWeightColumnNameBytesin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The bytes for weightColumnName.
-
setWeightColumnName
Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.
string weight_column_name = 9;- Parameters:
value- The weightColumnName to set.- Returns:
- This builder for chaining.
-
clearWeightColumnName
Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.
string weight_column_name = 9;- Returns:
- This builder for chaining.
-
setWeightColumnNameBytes
Column name that should be used as the weight column. Higher values in this column give more importance to the row during model training. The column must have numeric values between 0 and 10000 inclusively; 0 means the row is ignored for training. If weight column field is not set, then all rows are assumed to have equal weight of 1.
string weight_column_name = 9;- Parameters:
value- The bytes for weightColumnName to set.- Returns:
- This builder for chaining.
-
hasExportEvaluatedDataItemsConfig
public boolean hasExportEvaluatedDataItemsConfig()Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10;- Specified by:
hasExportEvaluatedDataItemsConfigin interfaceAutoMlTablesInputsOrBuilder- Returns:
- Whether the exportEvaluatedDataItemsConfig field is set.
-
getExportEvaluatedDataItemsConfig
Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10;- Specified by:
getExportEvaluatedDataItemsConfigin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The exportEvaluatedDataItemsConfig.
-
setExportEvaluatedDataItemsConfig
public AutoMlTablesInputs.Builder setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig value) Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10; -
setExportEvaluatedDataItemsConfig
public AutoMlTablesInputs.Builder setExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig.Builder builderForValue) Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10; -
mergeExportEvaluatedDataItemsConfig
public AutoMlTablesInputs.Builder mergeExportEvaluatedDataItemsConfig(ExportEvaluatedDataItemsConfig value) Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10; -
clearExportEvaluatedDataItemsConfig
Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10; -
getExportEvaluatedDataItemsConfigBuilder
Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10; -
getExportEvaluatedDataItemsConfigOrBuilder
Configuration for exporting test set predictions to a BigQuery table. If this configuration is absent, then the export is not performed.
.google.cloud.aiplatform.v1.schema.trainingjob.definition.ExportEvaluatedDataItemsConfig export_evaluated_data_items_config = 10;- Specified by:
getExportEvaluatedDataItemsConfigOrBuilderin interfaceAutoMlTablesInputsOrBuilder
-
getAdditionalExperimentsList
public com.google.protobuf.ProtocolStringList getAdditionalExperimentsList()Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Specified by:
getAdditionalExperimentsListin interfaceAutoMlTablesInputsOrBuilder- Returns:
- A list containing the additionalExperiments.
-
getAdditionalExperimentsCount
public int getAdditionalExperimentsCount()Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Specified by:
getAdditionalExperimentsCountin interfaceAutoMlTablesInputsOrBuilder- Returns:
- The count of additionalExperiments.
-
getAdditionalExperiments
Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Specified by:
getAdditionalExperimentsin interfaceAutoMlTablesInputsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalExperiments at the given index.
-
getAdditionalExperimentsBytes
public com.google.protobuf.ByteString getAdditionalExperimentsBytes(int index) Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Specified by:
getAdditionalExperimentsBytesin interfaceAutoMlTablesInputsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalExperiments at the given index.
-
setAdditionalExperiments
Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Parameters:
index- The index to set the value at.value- The additionalExperiments to set.- Returns:
- This builder for chaining.
-
addAdditionalExperiments
Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Parameters:
value- The additionalExperiments to add.- Returns:
- This builder for chaining.
-
addAllAdditionalExperiments
Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Parameters:
values- The additionalExperiments to add.- Returns:
- This builder for chaining.
-
clearAdditionalExperiments
Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Returns:
- This builder for chaining.
-
addAdditionalExperimentsBytes
public AutoMlTablesInputs.Builder addAdditionalExperimentsBytes(com.google.protobuf.ByteString value) Additional experiment flags for the Tables training pipeline.
repeated string additional_experiments = 11;- Parameters:
value- The bytes of the additionalExperiments to add.- Returns:
- This builder for chaining.
-