Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation

Returns a new instance of GoogleCloudAiplatformV1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericTransformation.



26467
26468
26469
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26467

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

Instance Attribute Details

#column_nameString

Corresponds to the JSON property columnName

Returns:

  • (String)


26457
26458
26459
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26457

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)


26464
26465
26466
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26464

def invalid_values_allowed
  @invalid_values_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26472
26473
26474
26475
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26472

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