Skip to content

gskdhiman/Classification-using-LSTM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentence Classification using LSTM

R8 dataset from Reuters classification with the help of LSTM

Steps to run the code.

Run the setup.py file using the following command

python setup.py

Note: If you are not able to run the above file, do the following: Download the google news vectors from here
Place them in a folder named Google_News_vectors in the current directory
Download the training dataset from here
Download the testing dataset from here
Place both the files in a folder named Dataset in the current directory

Run lstm.py after successfully download the google news vectors and the r8 dataset.

python lstm.py

Inspect the output.csv file generated for results.The result will be shown on the console also.

Releases

No releases published

Packages

No packages published

Languages