Printing actual_review in fisrt step [IMDB_RNN_Classification]

in line, actual_review = ’ ‘.join([idx_word.get(idx-3,’?’) for idx in XT[0]]) , why ‘idx-3’ is done ?

ohk…it is explained in the video Sentiment Analysis 1 - Preparing IMDB Data

Yes!
I am glad you found it.

1 Like