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
Fields
public static final int COLUMN_NAME_FIELD_NUMBER
Field Value
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 static AutoMlTablesInputs.Transformation.CategoricalTransformation getDefaultInstance()
Returns
public AutoMlTablesInputs.Transformation.CategoricalTransformation getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public Parser<AutoMlTablesInputs.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 static AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilder()
Returns
public static AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.CategoricalTransformation prototype)
Parameter
Returns
public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilderForType()
Returns
protected AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static AutoMlTablesInputs.Transformation.CategoricalTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<AutoMlTablesInputs.Transformation.CategoricalTransformation> parser()
Returns
public AutoMlTablesInputs.Transformation.CategoricalTransformation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions