Exercise

GRU cells are better than simpleRNN

In this exercise you will re-run the same model as the first chapter of the course to compare the accuracy of the model by simpling changing the SimpleRNN cell to a GRU cell.

The model was already trained with 10 epochs, as in the previous model with a SimpleRNN cell. In order to compare the models, a test set (x_test, y_test) is already loaded in the environment, as well as the old model SimpleRNN_model.

Instructions

100 XP
  • Import the GRU cell.
  • Print the models' summaries.
  • Print the accuracy of each model.