I am having some trouble deciding how to create embeddings for a categorical feature for my DNN model. The feature consists of a non fixed set of tags.

The feature is like:

column = [['Adventure','Animation','Comedy'],

I would like to do this with tensorflow so I know the tf.feature_column module should work, I just don't know which version to use.



If you want to convert the categories to embeddings using tf.feature_column the best option is tf.feature_column.embedding_column.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.