Skip to content

Our goal is to predict tweet comment's sentiment by experimenting with two different types of vectorization (GloVe and TfIdf).

Notifications You must be signed in to change notification settings

spyros-briakos/Feed_Forward_Neural_Networks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Feed_Forward_Neural_Networks

Our goal is to predict tweet comment's sentiment, from this dataset, by experimenting with two different types of vectorization (GloVe and TfIdf).

In GloVe Model (see here Click here to open in Colab) we constructed functions which vectorize data with help of "glove.6B.50d" model (which contains 6 billion 50-dimensional pre-trained word embendding vectors), which we retrieved from GloVe's site. Our concept was to calculate a mean vector for each tweet, in order to accelerate vectorization's procedure.Afterwards, we trained our non-deep feed forward neural network and evaluated on test data.

On the other hand, in TfIdf Model (see here Click here to open in Colab), we vectorized data with TdIdf-Vectorizer and we constructed a swallow and a deep feed forward neural network. After training's procedure, we displayed learning curves, classification report and ROC plot of results and finally compare our models!

In both models we managed to experiment with:

  • the number of hidden layers, and the number of their units
  • the activation functions
  • the loss function
  • the optimizer

Note that these notebooks are well reported and were implemented with Machine Learning Library Pytorch. Running's procedure took place on Google Colab, enhanced with Cuda GPU!

About

Our goal is to predict tweet comment's sentiment by experimenting with two different types of vectorization (GloVe and TfIdf).

Topics

Resources

Stars

Watchers

Forks