public static final class AutoMlTablesInputs.Transformation.TextTransformation extends GeneratedMessageV3 implements AutoMlTablesInputs.Transformation.TextTransformationOrBuilder
Training pipeline will perform following transformation functions.
- The text as is--no change to case, punctuation, spelling, tense, and
so
on.
- Tokenize text to words. Convert each words 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.
- Tokenization is based on unicode script boundaries.
- Missing values get their own lookup index and resulting embedding.
- Stop-words receive no special treatment and are not removed.
Protobuf type
google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.TextTransformation
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.TextTransformation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutoMlTablesInputs.Transformation.TextTransformation.Builder newBuilder()
newBuilder(AutoMlTablesInputs.Transformation.TextTransformation prototype)
public static AutoMlTablesInputs.Transformation.TextTransformation.Builder newBuilder(AutoMlTablesInputs.Transformation.TextTransformation prototype)
parseDelimitedFrom(InputStream input)
public static AutoMlTablesInputs.Transformation.TextTransformation parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TextTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutoMlTablesInputs.Transformation.TextTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutoMlTablesInputs.Transformation.TextTransformation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getColumnName()
public String getColumnName()
Returns |
---|
Type | Description |
String | The columnName.
|
getColumnNameBytes()
public ByteString getColumnNameBytes()
Returns |
---|
Type | Description |
ByteString | The bytes for columnName.
|
getDefaultInstanceForType()
public AutoMlTablesInputs.Transformation.TextTransformation getDefaultInstanceForType()
getParserForType()
public Parser<AutoMlTablesInputs.Transformation.TextTransformation> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutoMlTablesInputs.Transformation.TextTransformation.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutoMlTablesInputs.Transformation.TextTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AutoMlTablesInputs.Transformation.TextTransformation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides