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

View source: R/feature_columns.R

column_indicatorR Documentation

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.


tfestimators documentation built on Aug. 19, 2025, 1:15 a.m.