public static final class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder> implements AutoMlTablesInputs.Transformation.CategoricalArrayTransformationOrBuilder
Treats the column as categorical array and performs following
transformation functions.
- For each element in the array, convert the category name to a
dictionary
lookup index and generate an embedding for each index.
Combine the embedding of all elements into a single embedding using
the mean.
- Empty arrays treated as an embedding of zeroes.
Protobuf type
google.cloud.aiplatform.v1beta1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation build()
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation buildPartial()
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clear()
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearColumnName()
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder clone()
Overrides
public String getColumnName()
Returns |
Type |
Description |
String |
The columnName.
|
public ByteString getColumnNameBytes()
Returns |
Type |
Description |
ByteString |
The bytes for columnName.
|
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.CategoricalArrayTransformation other)
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setColumnName(String value)
Parameter |
Name |
Description |
value |
String
The columnName to set.
|
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setColumnNameBytes(ByteString value)
Parameter |
Name |
Description |
value |
ByteString
The bytes for columnName to set.
|
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides