Class NumericArrayTransformation (1.17.1)

NumericArrayTransformation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attribute

NameDescription
invalid_values_allowed bool
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.

Inheritance

builtins.object > proto.message.Message > NumericArrayTransformation

Methods

NumericArrayTransformation

NumericArrayTransformation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.