Recurrent Neural Network, Text Classification, Sentiment Analysis, Imdb Text Classification, Binary Classification.
metrics=['accuracy']) Train the model history = model.fit(train_dataset, epochs=10, validation_data=test_dataset, validation_steps=30) history Output: Evaluate the model test_loss, test_acc = model.evaluate(test_dataset) print('Test Loss:', test_loss) print('Test Accuracy:', test_acc) Output: