Multilayer Neural network for Sentimental Analysis of IMBD reviews using TF-IDF Vectorizer.
Run pip3 install requirements.txt
cmd to install the modules necessary for the code.
Download the data and place it in data directory
https://ai.stanford.edu/~amaas/data/sentiment/
Run the installation command
Run python3 train_NLP.py
cmd to generate a new model and vectorizer from scratch.
The model as well as the tf-idf vectorizer model get saved in models directory.
Run python3 test_NLP.py
cmd to test the test data against the saved models.
Find the accuracy.
Read the report for more understanding of the solution.