Class AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder (2.9.5)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

build()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation build()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation

buildPartial()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation buildPartial()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation

clear()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clear()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

clearColumnName()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clearColumnName()

string column_name = 1;

Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

clone()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder clone()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

getColumnName()

public String getColumnName()

string column_name = 1;

Returns
TypeDescription
String

The columnName.

getColumnNameBytes()

public ByteString getColumnNameBytes()

string column_name = 1;

Returns
TypeDescription
ByteString

The bytes for columnName.

getDefaultInstanceForType()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlForecastingInputs.Transformation.CategoricalTransformation other)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeFrom(AutoMlForecastingInputs.Transformation.CategoricalTransformation other)
Parameter
NameDescription
otherAutoMlForecastingInputs.Transformation.CategoricalTransformation
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

setColumnName(String value)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setColumnName(String value)

string column_name = 1;

Parameter
NameDescription
valueString

The columnName to set.

Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

This builder for chaining.

setColumnNameBytes(ByteString value)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setColumnNameBytes(ByteString value)

string column_name = 1;

Parameter
NameDescription
valueByteString

The bytes for columnName to set.

Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder
Overrides