plt title('training and validation accuracy'plt legend(plt figure(plt plot(epochsloss'bo'label='training loss'plt plot(epochsval_loss' 'label='validation loss'plt title('training and validation loss'plt legend(plt show(figure training and validation loss on imdb wit simplernn figure training and validation accuracy on imdb wit simplernn as reminderin the first naive approach to this dataset got you to test accuracy of unfortunatelythis small recurrent network doesn' perform well compared to this baseline (only validation accuracypart of the problem is that your inputs only consider the first wordsrather than full sequences--hencethe rnn has access to less information than the earlier baseline model the remainder of the problem is that simplernn isn' good at processing long sequencessuch as text licensed to