Class AutoMlForecastingInputs.Transformation.CategoricalTransformation (3.5.0)

public static final class AutoMlForecastingInputs.Transformation.CategoricalTransformation extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AutoMlForecastingInputs.Transformation.CategoricalTransformation

Static Fields

COLUMN_NAME_FIELD_NUMBER

public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutoMlForecastingInputs.Transformation.CategoricalTransformation getDefaultInstance()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation

getDescriptor()

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

newBuilder()

public static AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilder()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

newBuilder(AutoMlForecastingInputs.Transformation.CategoricalTransformation prototype)

public static AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilder(AutoMlForecastingInputs.Transformation.CategoricalTransformation prototype)
Parameter
NameDescription
prototypeAutoMlForecastingInputs.Transformation.CategoricalTransformation
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AutoMlForecastingInputs.Transformation.CategoricalTransformation> parser()
Returns
TypeDescription
Parser<CategoricalTransformation>

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 AutoMlForecastingInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation

getParserForType()

public Parser<AutoMlForecastingInputs.Transformation.CategoricalTransformation> getParserForType()
Returns
TypeDescription
Parser<CategoricalTransformation>
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 AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilderForType()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder toBuilder()
Returns
TypeDescription
AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder

writeTo(CodedOutputStream output)

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