Represents Multi-Hot Representation of Given Categorical Column

Used to wrap any categorical_column_* (e.g., to feed to DNN). Use embedding_column if the inputs are sparse.

column_indicator(categorical_column)

Arguments

categorical_column

A categorical column which is created by the categorical_column_with_*() or crossed_column() functions.

Value

An indicator column.