February 2019
Beginner to intermediate
568 pages
13h 5m
English
The steps we'll adopt are as follows (the code file is available as RNN_and_LSTM_sentiment_classification.ipynb in GitHub):
embedding_vecor_length=32max_review_length=26model = Sequential()model.add(Embedding(input_dim=12533, output_dim=32, input_length = 26))
The input for the embedding layer is the total number of unique IDs present in the dataset and the expected dimension to which each word needs to be converted (output_dim
Read now
Unlock full access