This project uses a recurrent neural network to train a model for the binary sentiment analysis of movie reviews. The dataset used was an IMDB dataset of 25,000 highly polar movie reviews for training, and 25,000 for testing. The model's test accuracy and loss are recorded, and the user can input his own predictions for movie reviews. This model yielded an accuracy of 93.54% during testing.
- Tensorflow
- Keras
- Install Python 3 or later
- Install TensorFlow 2
- Install TensorFlow Datasets
- Open your Python interpreter and navigate to the directory of this project
python src/SentimentAnalyzer.py
This project is licensed under the MIT License - see the LICENSE file for details