tf.feature_column.categorical_column_with_hash_bucket

tf.feature_column.categorical_column_with_hash_bucket

tf.feature_column.categorical_column_with_hash_bucket

categorical_column_with_hash_bucket(
    key,
    hash_bucket_size,
    dtype=tf.string
)

Defined in tensorflow/python/feature_column/feature_column.py.

Represents sparse feature where ids are set by hashing.

Use this when your sparse features are in string or integer format, and you want t