Recurrent Neural Network, Text Classification, Sentiment Analysis, Imdb Text Classification, Binary Classification.
never recommend this movie.') predictions = model.predict(np.array([sample_text_2])) print(predictions) Output: Plot the accuracy and loss plt.figure(figsize=(16, 6)) plt.subplot(1, 2, 1) plot_graphs(history, 'accuracy') plt.subplot(1, 2, 2) plot_graphs(history, 'loss') Output: That’s it, in this