Abstract
The proliferation of user-generated content (UGC) on social media platforms has made user opinion tracking a strenuous job. Twitter, being a huge microblogging social network, could be used to accumulate views about politics, trends, and products, etc. Sentiment analysis is a mining technique employed to peruse opinions, emotions, and attitude of people toward any subject. This is conceptualized using digital data (text, video, audio, etc.) or psychological characteristics of humans. This procedure assists in opinion mining without having to read a plethora of tweets manually. The results could be wielded to provide an edge for businesses and governments in rolling out new entities (policies, products, topic, event). Cleaning data is an important step here, which we accomplished using regular expressions and NLTK library in Python. We implemented nine separate algorithms to classify tweets and compare their performance on cleaned data. It was observed that the convolutional neural network produces the most optimal results at 79% accuracy.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Pang, B., Lee, L.: Opinion mining and sentiment analysis. Found. Trends Inf. Retr. 2(1–2), 1–135 (2008)
Jain, A.P., Dandannavar, P.: Application of machine learning techniques to sentiment analysis. In: 2nd International Conference on Applied and Theoretical Computing and Communication Technology (iCATccT) (2016), pp. 628–632
Cambria, E., Poria, S., Gelbukh, A., Thelwall, M.: Sentiment analysis is a big suitcase. IEEE Comput. Soc., pp. 74–80 (November/December 2017)
Wang, Y., Rao, Y., Wu, L.: A review of sentiment semantic analysis technology and progress. In: 2017 13th International Conference on Computational Intelligence and Security, pp. 452–455
Youness, M., Mohammed, E., Jamma, B.: A parallel semantic sentiment analysis (2017)
Deshwal, A., Sharma, S.K.: Twitter sentiment analysis using various classification algorithms. In: 2016 5th International Conference on Reliability, Infocom Technologies and Optimization (ICRITO) (Trends and Future Directions), Sep. 7–9, 2016, AIIT, pp. 251–257. Amity University Uttar Pradesh, Noida, India
Raghuvanshi, N., Patil, J.M.: A brief review on sentiment analysis. In: International Conference on Electrical, Electronics, and Optimization Techniques (ICEEOT) (2016), pp. 2827–2831
Chachra, A., Mehndiratta, P., Gupta, M.: Sentiment analysis of text using deep convolution neural networks. In: Proceedings of 2017 Tenth International Conference on Contemporary Computing (IC3), 10–12 August 2017. Noida, India (2017)
Kumar, M., Bala, A.: Analyzing twitter sentiments through big data. In: 2016 International Conference on Computing for Sustainable Global Development (INDIACom)
Ramadhani, A.M., Goo, H.S.: Twitter sentiment analysis using deep learning methods. In: 2017 7th International Annual Engineering Seminar (InAES), Yogyakarta, Indonesia
Baj-Rogowska, A.: Sentiment analysis of facebook posts: the uber case. In: The 8th IEEE International Conference on Intelligent Computing and Information Systems (ICICIS 2017)
Kaggle Page For Twitter Sentiment Analysis Dataset Datahttps: www.kaggle.com/c/twitter-sentiment-analysis2/data, 22 Dec 2018
Wikipedia Page for Naive Bayes Classifier [Online], Available: https://en.wikipedia.org/wiki/Naive_Bayes_classifier, 22 Dec 2018
Wang, L. ed.: Support Vector Machines: Theory and Applications (Vol. 177). Springer Science & Business Media, Berlin (2005)
Kohavi, R.: Scaling up the accuracy of Naive-Bayes classifiers: a decision-tree hybrid. In: KDD, vol. 96, pp. 202–207(August 1996)
Gupte, A., Joshi, S., Gadgul, P., Kadam, A., Gupte, A.: Comparative study of classification algorithms used in sentiment analysis. Int. J. Comput. Sci. Inf. Technol. 5(5), 6261–6264 (2014)
Chen, T., He, T., Benesty, M.: Xgboost: extreme gradient boosting. R package version 0.4-2, pp. 1–4 (2015)
Kim, Y.: Convolutional neural networks for sentence classification. arXiv preprint arXiv:1408.5882 (2014)
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
Principe, J.C., Euliano, N.R., Lefebvre, W.C.: Sky Software HelptoWord B. (Chap. 3). Multilayer Perceptrons. Available online at http://www.cnel.ufl.edu/courses/EEL6814/chapter3.pdf. Accessed Nov 2018
Pennington, J., Socher, R., Manning, C.: Glove: Global vectors for word representation. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1532–1543 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Mehta, R.P., Sanghvi, M.A., Shah, D.K., Singh, A. (2020). Sentiment Analysis of Tweets Using Supervised Learning Algorithms. In: Luhach, A., Kosa, J., Poonia, R., Gao, XZ., Singh, D. (eds) First International Conference on Sustainable Technologies for Computational Intelligence. Advances in Intelligent Systems and Computing, vol 1045. Springer, Singapore. https://doi.org/10.1007/978-981-15-0029-9_26
Download citation
DOI: https://doi.org/10.1007/978-981-15-0029-9_26
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-0028-2
Online ISBN: 978-981-15-0029-9
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)