I am trying to build a multivariate RNN for timeseries. Does anyone know how to use categorical_column_with_hash_bucket and categorical_column_with_vocabulary_list for some of the features when you want to use 20 past observations to predict the next 10? Most timeseries examples for TF use pandas/numpy, but with a lot of data it runs into memory issues
Hi @Tony_S
Welcome to the TensorFlow Forum!
categorical_column_with_hash_bucket
and categorical_column_with_vocabulary_list
type of column were handled using tf.feature_column.categorical_column_with_hash_bucket and tf.feature_column.categorical_column_with_vocabulary_list APIs but are deprecated now. You can use the latest Keras API tf.keras.utils.FeatureSpace
in place of those above APIs to handle such data and then train the model for timeseries data using RNN by following the mentioned link. Thank you.