Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation

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

Treats the column as numerical array and performs following transformation functions. * All transformations for Numerical types applied to the average of the all elements. * The average of empty arrays is treated as zero.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation

Returns a new instance of GoogleCloudAiplatformV1beta1SchemaTrainingjobDefinitionAutoMlTablesInputsTransformationNumericArrayTransformation.



29132
29133
29134
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29132

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

Instance Attribute Details

#column_nameString

Corresponds to the JSON property columnName

Returns:

  • (String)


29122
29123
29124
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29122

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)


29129
29130
29131
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29129

def invalid_values_allowed
  @invalid_values_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



29137
29138
29139
29140
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 29137

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