Skip to content

Support column function on Label  #552

Open
@Yancey0623

Description

@Yancey0623

Is your feature request related to a problem? Please describe.

For some cases, the label is not an integer feature instead of an one hot vector:

y_true = tf.reshape(
                tf.one_hot(features['item'], 200, on_value=1, off_value=None,
                           axis=1), [-1, 200])

The SQL can be like :

COLUMN ...
LABEL RESHAPE(ONE_HOT(label, 200), [-1, 200])

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions