Class AutoMlTablesInputs.Transformation.NumericTransformation.Builder (3.21.0)

public static final class AutoMlTablesInputs.Transformation.NumericTransformation.Builder extends GeneratedMessageV3.Builder<AutoMlTablesInputs.Transformation.NumericTransformation.Builder> implements AutoMlTablesInputs.Transformation.NumericTransformationOrBuilder

Training pipeline will perform following transformation functions.

  • The value converted to float32.
  • The z_score of the value.
  • log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value.
  • z_score of log(value+1) when the value is greater than or equal to 0. Otherwise, this transformation is not applied and the value is considered a missing value.
  • A boolean value that indicates whether the value is valid.

Protobuf type google.cloud.aiplatform.v1.schema.trainingjob.definition.AutoMlTablesInputs.Transformation.NumericTransformation

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutoMlTablesInputs.Transformation.NumericTransformation.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

build()

public AutoMlTablesInputs.Transformation.NumericTransformation build()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation

buildPartial()

public AutoMlTablesInputs.Transformation.NumericTransformation buildPartial()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation

clear()

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder clear()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

clearColumnName()

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder clearColumnName()

string column_name = 1;

Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

clearInvalidValuesAllowed()

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder clearInvalidValuesAllowed()

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 2;

Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

clone()

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder clone()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

getColumnName()

public String getColumnName()

string column_name = 1;

Returns
TypeDescription
String

The columnName.

getColumnNameBytes()

public ByteString getColumnNameBytes()

string column_name = 1;

Returns
TypeDescription
ByteString

The bytes for columnName.

getDefaultInstanceForType()

public AutoMlTablesInputs.Transformation.NumericTransformation getDefaultInstanceForType()
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInvalidValuesAllowed()

public boolean getInvalidValuesAllowed()

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 2;

Returns
TypeDescription
boolean

The invalidValuesAllowed.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutoMlTablesInputs.Transformation.NumericTransformation other)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder mergeFrom(AutoMlTablesInputs.Transformation.NumericTransformation other)
Parameter
NameDescription
otherAutoMlTablesInputs.Transformation.NumericTransformation
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.NumericTransformation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

setColumnName(String value)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder setColumnName(String value)

string column_name = 1;

Parameter
NameDescription
valueString

The columnName to set.

Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder

This builder for chaining.

setColumnNameBytes(ByteString value)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder setColumnNameBytes(ByteString value)

string column_name = 1;

Parameter
NameDescription
valueByteString

The bytes for columnName to set.

Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

setInvalidValuesAllowed(boolean value)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder setInvalidValuesAllowed(boolean value)

If invalid values is allowed, the training pipeline will create a boolean feature that indicated whether the value is valid. Otherwise, the training pipeline will discard the input row from trainining data.

bool invalid_values_allowed = 2;

Parameter
NameDescription
valueboolean

The invalidValuesAllowed to set.

Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutoMlTablesInputs.Transformation.NumericTransformation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutoMlTablesInputs.Transformation.NumericTransformation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutoMlTablesInputs.Transformation.NumericTransformation.Builder
Overrides