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
Static Fields
public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
Static Methods
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilder()
Returns
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilder(AutoMlForecastingInputs.Transformation.CategoricalTransformation prototype)
Parameter
Returns
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AutoMlForecastingInputs.Transformation.CategoricalTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AutoMlForecastingInputs.Transformation.CategoricalTransformation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public String getColumnName()
Returns
Type | Description |
String | The columnName.
|
public ByteString getColumnNameBytes()
Returns
Type | Description |
ByteString | The bytes for columnName.
|
public AutoMlForecastingInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()
Returns
public Parser<AutoMlForecastingInputs.Transformation.CategoricalTransformation> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilderForType()
Returns
protected AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public AutoMlForecastingInputs.Transformation.CategoricalTransformation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions