/tbir_text_classification

Text classification with RNN and FFNN

Primary LanguagePython

tbir_text_classification

Implementation of neural networks for text classification and ranking. Implementation of PCA for unsupervised learning.

The code is written in python 3.6

Setup

Install tensorflow

https://www.tensorflow.org/install/

Install requirements

pip install -r requirements.txt

Download glove from https://nlp.stanford.edu/projects/glove/ and put the file glove.6B.100d.txt in a new folder 'word_embeddings'.

Run

Set scenario in run.py or run_pca.py

Run code

python run.py