Class AutoMlTablesInputs.Transformation.CategoricalTransformation (3.49.0)

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

Inheritance

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

Static Fields

COLUMN_NAME_FIELD_NUMBER

public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutoMlTablesInputs.Transformation.CategoricalTransformation getDefaultInstance()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilder()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

newBuilder(AutoMlTablesInputs.Transformation.CategoricalTransformation prototype)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.CategoricalTransformation prototype)
Parameter
Name Description
prototype AutoMlTablesInputs.Transformation.CategoricalTransformation
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

parseDelimitedFrom(InputStream input)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutoMlTablesInputs.Transformation.CategoricalTransformation> parser()
Returns
Type Description
Parser<CategoricalTransformation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getColumnName()

public String getColumnName()

string column_name = 1;

Returns
Type Description
String

The columnName.

getColumnNameBytes()

public ByteString getColumnNameBytes()

string column_name = 1;

Returns
Type Description
ByteString

The bytes for columnName.

getDefaultInstanceForType()

public AutoMlTablesInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation

getParserForType()

public Parser<AutoMlTablesInputs.Transformation.CategoricalTransformation> getParserForType()
Returns
Type Description
Parser<CategoricalTransformation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilderForType()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder toBuilder()
Returns
Type Description
AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException