Class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation (3.3.0)

public static final class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation extends GeneratedMessageV3 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.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

Static Fields

COLUMN_NAME_FIELD_NUMBER

public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation getDefaultInstance()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

getDescriptor()

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

newBuilder()

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder newBuilder()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

newBuilder(AutoMlTablesInputs.Transformation.CategoricalArrayTransformation prototype)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.CategoricalArrayTransformation prototype)
Parameter
NameDescription
prototypeAutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

parseDelimitedFrom(InputStream input)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalArrayTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AutoMlTablesInputs.Transformation.CategoricalArrayTransformation> parser()
Returns
TypeDescription
Parser<CategoricalArrayTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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 AutoMlTablesInputs.Transformation.CategoricalArrayTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation

getParserForType()

public Parser<AutoMlTablesInputs.Transformation.CategoricalArrayTransformation> getParserForType()
Returns
TypeDescription
Parser<CategoricalArrayTransformation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder newBuilderForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder toBuilder()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException