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