I am using simple RNN model in keras to predict the categorize of simple text data .But I am unable to converted my predicted sequence in to categories
test_sequences = tok.texts_to_sequences(X)
test_sequences_matrix = sequence.pad_sequences(test_sequences,maxlen=max_len)
classes = model.predict(test_sequences_matrix)
I want to convert classes
in to X
format (Sequence to text). are there any function from which i can revert back.Thanks in advance
I have seen this but unable to solve to my problem