Send feedback
Class AutoMlTablesInputs.Transformation.CategoricalArrayTransformation.Builder (2.9.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.6 keyboard_arrow_down
public static final class AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder extends GeneratedMessageV3 . Builder<AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder > 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.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.CategoricalArrayTransformation
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation build ()
Returns
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation buildPartial ()
Returns
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder clear ()
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder clearColumnName ()
Returns
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder clone ()
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 Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder mergeFrom ( AutoMlTablesInputs . Transformation . CategoricalArrayTransformation other )
Parameter
Returns
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder setColumnName ( String value )
Parameter
Name Description value String
The columnName to set.
Returns
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder setColumnNameBytes ( ByteString value )
Parameter
Name Description value ByteString
The bytes for columnName to set.
Returns
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final AutoMlTablesInputs . Transformation . CategoricalArrayTransformation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]