Let's take a look at the model architecture of our IMDb movie review sentiment analyzer, shown in the following diagram:
This should be fairly familiar to you by now! Let's go through each component briefly.
Let's take a look at the model architecture of our IMDb movie review sentiment analyzer, shown in the following diagram:
This should be fairly familiar to you by now! Let's go through each component briefly.
The input to our neural network shall be IMDb movie reviews. The reviews will be in the form of English sentences. As we've seen, the dataset provided in Keras has already encoded the English words into numbers, as neural networks require numerical inputs. However, there remains a problem we need to address. As we know, movie reviews have different lengths. If we were to represent the reviews as a vector, then different reviews would have different vector lengths, which is not...