column_indicator: Represents Multi-Hot Representation of Given Categorical...

Description Usage Arguments Value

View source: R/feature_columns.R

Description

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

Usage

1
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.


tfestimators documentation built on Aug. 10, 2021, 1:06 a.m.