Abstract
Due to the availability of internet technology and social media platforms, people are well connected with the world. People express their feelings on social media platforms such as Facebook, twitter, reddit, and Instagram. Feelings can be expressed with text, images, or videos. Due to widespread usage of social media platforms on the internet, a large amount of unstructured data is being generated. To understand the human psychology and emotion state, this data needs to be processed to identify text polarity with the sentiment analysis and emotion detection, respectively. This paper gives a brief introduction about sentiment analysis, emotion detection, and machine learning algorithms performing well for this task. We used naïve bayes, logistic regression, XGBoost, and linear support vector classifiers for the model building. Out of these classifiers linear support vector classifier gave high accuracy of 72.80% and performed well to predict the emotion of Marathi or English-speaking user at runtime.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Plaza-Del-Arco FM, Molina-González MD, Ureña-López LA, Martín-Valdivia MT (2021) A multi-task learning approach to hate speech detection leveraging sentiment analysis. IEEE Access 9:112478–112489
Veltmeijer EA, Gerritsen C, Hindriks K (2021) Automatic emotion recognition for groups: a review. IEEE Trans Affective Computing
Zhang D, Lin H, Zheng P, Yang L, Zhang S (2018) The identification of the emotionality of metaphorical expressions based on a manually annotated chinese corpus. IEEE Access 6:71241–71248
Luo J, Bouazizi M, Ohtsuki T (2021) Data augmentation for sentiment analysis using sentence compression-based SeqGAN with data screening. IEEE Access 9:99922–99931
Medhat W, Hassan A, Korashy H (2014) Sentiment analysis algorithms and applications: a survey. Ain Shams Eng J 5(4):1093–1113
Yuan JH et al (2020) Recent advances in deep learning-based sentiment analysis. Sci Chin Technol Sci 63:1947–1970
Imran AS, Daudpota SM, Kastrati Z, Batra R (2020) Cross-cultural polarity and emotion detection using sentiment analysis and deep learning on covid-19 related tweets. IEEE Access 8:181074–181090
Nandwani P, Verma R (2021) A review on sentiment analysis and emotion detection from text. Soc Netw Anal Min 11
Huddar MG, Sannakki SS, Rajpurohit VS (2021) Attention-based multimodal contextual fusion for sentiment and emotion classification using bidirectional LSTM. Multimedia Tools Appl 80:13059–13076
Huddar MG, Sannakki SS, Rajpurohit VS (2020) Multi-level context extraction and attention-based contextual inter-modal fusion for multimodal sentiment analysis and emotion classification. Int Multimedia Inf Retrieval 9:103–112
Rothe J, Buse J, Uhlmann A, Bluschke A, Roessner V (2021) Changes in emotions and worries during the Covid-19 pandemic: an online-survey with children and adults with and without mental health conditions. Child Adolesc Psychiatry Mental Health 15
Zhang X, Li W, Ying H, Li F, Tang S, Lu S (2020) Emotion detection in online social networks: a multilabel learning approach. IEEE Internet Things J 7(9):8133–8143
Scherer KR, Wallbott HG (1994) Evidence for universality and cultural variation of differential emotion response patterning. J Pers Soc Psychol 66(2):310
Li Y, Su H, Shen X, Li W, Cao Z, Niu S (2017) DailyDialog: a manually labelled multi-turn dialogue dataset. IJCNLP
Kanakaraddi SG, Chikaraddi AK, Gull KC, Hiremath PS (2020) Comparison study of sentiment analysis of tweets using various machine learning algorithms. In: 2020 International conference on inventive computation technologies (ICICT), pp 287–292
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Shinde, S., Ghotkar, A. (2024). Emotion Detection Using Machine Learning Algorithms: A Multiclass Sentiment Analysis Approach. In: Gunjan, V.K., Kumar, A., Zurada, J.M., Singh, S.N. (eds) Computational Intelligence in Machine Learning. ICCIML 2022. Lecture Notes in Electrical Engineering, vol 1106. Springer, Singapore. https://doi.org/10.1007/978-981-99-7954-7_45
Download citation
DOI: https://doi.org/10.1007/978-981-99-7954-7_45
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-99-7953-0
Online ISBN: 978-981-99-7954-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)