public static final class AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder> implements AutoMlForecastingInputs.Transformation.CategoricalTransformationOrBuilder
Training pipeline will perform following transformation functions.
- The categorical string as is--no change to case, punctuation,
spelling, tense, and so on.
- Convert the category name to a dictionary lookup index and generate an
embedding for each index.
- Categories that appear less than 5 times in the training dataset are
treated as the "unknown" category. The "unknown" category gets its own
special lookup index and resulting embedding.
Protobuf type
google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlForecastingInputs.Transformation.CategoricalTransformation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation build()
Returns
public AutoMlForecastingInputs.Transformation.CategoricalTransformation buildPartial()
Returns
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clear()
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clearColumnName()
Returns
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clone()
Returns
Overrides
public String getColumnName()
Returns
Type | Description |
String | The columnName.
|
public ByteString getColumnNameBytes()
Returns
Type | Description |
ByteString | The bytes for columnName.
|
public AutoMlForecastingInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeFrom(AutoMlForecastingInputs.Transformation.CategoricalTransformation other)
Parameter
Returns
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setColumnName(String value)
Parameter
Name | Description |
value | String
The columnName to set.
|
Returns
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setColumnNameBytes(ByteString value)
Parameter
Name | Description |
value | ByteString
The bytes for columnName to set.
|
Returns
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides