Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation.



21220
21221
21222
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21220

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#column_nameString

Corresponds to the JSON property columnName

Returns:

  • (String)


21210
21211
21212
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21210

def column_name
  @column_name
end

#invalid_values_allowedBoolean Also known as: invalid_values_allowed?

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. Corresponds to the JSON property invalidValuesAllowed

Returns:

  • (Boolean)


21217
21218
21219
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21217

def invalid_values_allowed
  @invalid_values_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21225
21226
21227
21228
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 21225

def update!(**args)
  @column_name = args[:column_name] if args.key?(:column_name)
  @invalid_values_allowed = args[:invalid_values_allowed] if args.key?(:invalid_values_allowed)
end