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.


rstudio/tflearn documentation built on Nov. 25, 2021, 2:45 a.m.