NLP project for subject "Intelligent Systems" in Master's Degree in Data Science, Universidad Politécnica de Madrid
To execute it:
- Install all packages used in sentiment-analysis.R (main code).
- Install Miniconda if you do not already have it. This can be done by uncommenting line 16 in the main file and executing it.
- Install Keras and Tensorflow in the miniconda environment. This can be done by uncommenting line 17 in the main file and executing it.
- In line 20, set the variable 'method' to "MNB" if you want to use the Multinomial Naïve Bayes classifier or "LSTM" for a LSTM-based classifier.
To understand what the other parameters are, read "Methodology" section in report.