Skip to content

saifhaq/absa-diss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Before you start

wget http://nlp.stanford.edu/data/glove.6B.zip; mkdir glove.6B; mv glove.6B.zip glove.6B; cd glove.6B; unzip glove.6B.zip; cd ..;

Aspect Category Detection

All Aspect Category Detection files are located in the acd folder. To load generate all results dataframes, do the following (Note, only step 4 is required as dataframes are pre-generated):

  1. Run init_data_dfs.py
  2. Run init_data_f1s.py
  3. Run acd_svm.py
  4. Run read_results.py to see all results.

RandomSearch algorithm to find optimal hyper-parameters

The top 10 models generated by the RandomSearch are not stored in this repo as they are too large. To generate them:

  1. (Will take long) - Run acd_lstm_tuner.py to run tuner and save top 10 tuner models

About

Aspect-Based Sentiment Analysis Dissertation for COM3610

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published