tfestimators (version 1.9.1)

column_indicator: Represents Multi-Hot Representation of Given Categorical Column

Description

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

Usage

column_indicator(categorical_column)

Arguments

categorical_column

A categorical column which is created by the column_categorical_with_*() or column_crossed() functions.

Value

An indicator column.