Class CategoricalArrayTransformation (0.4.0)

Stay organized with collections Save and categorize content based on your preferences.
    mapping=None, *, ignore_unknown_fields=False, **kwargs

Treats the column as categorical array and performs following transformation functions.

  • For each element in the array, convert the category name to a dictionary lookup index and generate an embedding for each index. Combine the embedding of all elements into a single embedding using the mean.
  • Empty arrays treated as an embedding of zeroes.


builtins.object > proto.message.Message > CategoricalArrayTransformation