Twitter sentiment analysis using a Deep Learning appraoch

308 views
Skip to first unread message

lawso...@gmail.com

unread,
Jun 3, 2019, 11:37:42 AM6/3/19
to Sentiment140
Hello There 
i am Student and i did my finale year project on sntiment analysis on Twitter using deep learning 
so i used the Sentiment140 dataset 
i get a good reuslts with a high accuracy 
that equals to 0.93 for an LSTM model
and equals to 0.92 for and CNN model

so any one who needs help or my small experience 
i am at his service 

vera...@gmail.com

unread,
Jun 20, 2019, 12:07:37 PM6/20/19
to Sentiment140
Hi lawso

I am studying the dataset of Sentiment140 and the dataset seems to be missing the 2 (neutral) data, and is not encoded utf-8.


Any possibility to update it? 
Thanks.

M KA

unread,
Jun 20, 2019, 6:48:59 PM6/20/19
to sentim...@googlegroups.com
hello 

veralillo

yes in their paper the mentioned that the dataset contains three classes 0,2 and 4 but  actually it contains only the 0 and 4 classes 
so i did a binary classification 
if you have a problem in the dataset or you want another link to it 
tel me and i will provide the link to get it 
 

--
You received this message because you are subscribed to a topic in the Google Groups "Sentiment140" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sentiment140/qBuJ32xZ7oc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sentiment140...@googlegroups.com.
To post to this group, send email to sentim...@googlegroups.com.
Visit this group at https://groups.google.com/group/sentiment140.
To view this discussion on the web visit https://groups.google.com/d/msgid/sentiment140/e13d30ac-5341-4a9d-949b-4537df0605d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

tobiasnu...@gmail.com

unread,
Aug 2, 2019, 9:59:05 AM8/2/19
to Sentiment140
Quite impressive regarding the fact that state-of-the-art approaches on this dataset achieve around 80% accuracy [1].
Please enlighten us and share your knowledge ...

chaule

unread,
Sep 10, 2019, 10:55:58 PM9/10/19
to Sentiment140
Hi,

That's stunning! It would be even better if you can show us how to reproduce the results (data preprocessing, model architecture, hyperparams, train-test split ratio, evaluation metrics...) and share your model.

Thanks all the same!

obsi...@gmail.com

unread,
Oct 17, 2019, 2:11:09 AM10/17/19
to Sentiment140

how you prepare dataset for local languagee/native languages?if you have dataset send me sample

lizhenz...@gmail.com

unread,
Jan 3, 2020, 11:33:02 AM1/3/20
to Sentiment140
Hi, are your reported results tested on the given clean test set of sentiment140? 
What is your neural network architecture?
Many thanks!

M KA

unread,
Jan 3, 2020, 12:17:30 PM1/3/20
to sentim...@googlegroups.com
Hello there
as we know in the learning process we have training set and test set
so i divide the dataset into 67% for the training and the rest for the test
for the neural network architecture i build two models  ' LSTM model +  CNN model '

--
You received this message because you are subscribed to a topic in the Google Groups "Sentiment140" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sentiment140/qBuJ32xZ7oc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sentiment140...@googlegroups.com.

vera lee

unread,
Jan 3, 2020, 12:23:29 PM1/3/20
to sentim...@googlegroups.com
Thanks for your prompt response.
Several more questions:
Why don't you use the given clean test dataset to evaluate the model?
Do the neural models perform better than the traditional machine learning models published in the paper " Twitter Sentiment Classification using Distant Supervision"?

Thanks for your time!

Happy new year!
Vera

M KA

unread,
Jan 3, 2020, 1:45:55 PM1/3/20
to sentim...@googlegroups.com
Hello again
yes i understand your point but in my project i applied the cross validation methods (Leave one out k fold cross validation.....) that is why i used the whol dataset with 1.4 M tweets
and yes it did give a much more great results then traditional machine learning models mentioned in the paper i get an accuracy up to
0.93 for an LSTM model and equals to 0.92 for and CNN model

Message has been deleted

vera lee

unread,
Jan 3, 2020, 9:56:21 PM1/3/20
to sentim...@googlegroups.com
Do you use some pre-trained word embeddings or use some important parameter settings?

When I trained the simple CNN model with only one Conv1D layer and used 1% of the training data as validation data, the validation accuracy is at most 82%, which is much lower than your CNN model.  What is the architecture of your CNN model?



M KA

unread,
Jan 4, 2020, 12:08:41 PM1/4/20
to sentim...@googlegroups.com
Hello
yes i did use word Embedding using Glove here it is a link
for the  architecture :

i used Embedding layer
Conv1D layer that have a MaxPooling1D layer following it
also you have to use a dropout layer between the different layers
in the end add a dense layer
for the optimizer i used adam optimizer
and the binary_crossentropy for the loss function

sima.s...@gmail.com

unread,
Feb 2, 2020, 11:05:17 AM2/2/20
to Sentiment140
hello 
i am student too and i should show an execution of this project to my teacher .i were happy if you help me how could i run this dataset with knime software.

M KA

unread,
Feb 2, 2020, 4:30:35 PM2/2/20
to sentim...@googlegroups.com
Hello there 
The dataset is on csv format
I find this great tuto on how to read csv files using this software  me


--
You received this message because you are subscribed to a topic in the Google Groups "Sentiment140" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sentiment140/qBuJ32xZ7oc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sentiment140...@googlegroups.com.

Rony Sharma

unread,
Feb 2, 2020, 11:10:17 PM2/2/20
to Sentiment140
Dear Lawso,
How are you? Hopefully you are doing well. You are complete Final year Project  on Sentiment Analysis on Twitter using Deep Learning. Your Project Accuracy is to good. Also you Use LSTM Model and CNN Model. I am also Student of Final Year Student. If you Don't Mind, Give me your Paper and so on. Also LSTM And CNN Model Code. Thank you for Advance.

Rony Sharma 

ikramh...@gmail.com

unread,
May 14, 2020, 10:03:03 PM5/14/20
to Sentiment140


Le lundi 3 juin 2019 15:37:42 UTC, lawso...@gmail.com a écrit :
Hello There 
i am Student and i did my finale year project and i need thos data set to complete can you help me because I didn't  find it 

M KA

unread,
May 14, 2020, 10:17:51 PM5/14/20
to sentim...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "Sentiment140" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sentiment140/qBuJ32xZ7oc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sentiment140...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages