Emotion Classification Using Support Vector Machine

Authors

DOI:

https://doi.org/10.20823/vsx33w33

Keywords:

Emotions, Support Vector Machine, SVM, Text Mining, Data Mining, Machine Learning

Abstract

Emotions have always been significant in how people connect with one another in daily life. This feeling has recently gained importance in human-computer interactions as well. Emotions may be expressed by humans through writing, voice, and facial expressions. Text-to-emotion recognition is a classification task with predefined emotion labels. This study uses the following seven categories of emotions: joy, anger, sadness, fear, disgust, shame and guilt. These categories are drawn from the ISEAR (International Survey on Emotion Antecedent and Reaction) dataset, which consists of 7666 original lines of English sentences with emotion labels. To determine which of the three support vector machine technique kernels—linear, RBF, and polynomial—performed best for text categorization, a comparison of the kernels was also conducted. Rotating models that are created from the outcomes of training on training data employ a variety of metrics. 61.3% of the linear kernel with parameter C = 0.5, 60.3% of the RBF kernel with parameter C = 1 and γ = 2, and 57.7% of the polynomial kernel with parameter C = 5, γ = 0.8, and degree = 2 were the accuracy values obtained for each kernel based on the test results. It has been demonstrated that the linear kernel performs better in text categorization than other kernels.

Author Biographies

  • Rully Ramanda, Universitas Islam Negeri Sultan Syarif Kasim Riau
    Rully Ramanda is a ex-student at the Universitas Islam Negeri Sultan Syarif Kasim Riau in the Informatics Engineering Department. He is passionate about machine learning research.
  • Muhammad Affandes, Universitas Islam Negeri Sultan Syarif Kasim Riau
    Muhammad Affandes teaches at Universitas Islam Negeri Sultan Syarif Kasim Riau in the Department of Informatics Engineering. His current study focuses on software development, utilizing microservices and web-based technologies.

References

C. Nass, J. Steuer, and E. R. Tauber, “Computers are social actors,” in Conference companion on Human factors in computing systems - CHI ’94, Boston, Massachusetts, United States: ACM Press, 1994, p. 204. doi: 10.1145/259963.260288.

D. Goleman, R. E. Boyatzis, and A. McKee, Primal leadership: realizing the power of emotional intelligence. Boston, Mass: Harvard Business School Press, 2002.

P. Ekman, “Are there basic emotions?,” Psychol. Rev., vol. 99, no. 3, pp. 550–553, 1992, doi: 10.1037/0033-295X.99.3.550.

C. Cortes and V. Vapnik, “Support-vector networks,” Mach. Learn., vol. 20, no. 3, pp. 273–297, Sep. 1995, doi: 10.1007/BF00994018.

M. R. Widyanto and R. Wijayanti, “Membership Function Modification in Fuzzy SVM using Combination of Distance Feature, Correlation, and Depth of Data,” IJECS, vol. 13, no. 5, 2013.

P.-N. Tan, M. Steinbach, A. Karpatne, and V. Kumar, Introduction to data mining, Second edition. New York: Pearson, 2019.

T. Danisman and A. Alpkocak, “AISB 2008 Symposium on Affective Language in Human and Machine,” in Affective Language in Human and Machine, The Society for the Study of Artificial Intelligence and Simulation of Behaviour, pp. 53–59.

N. Cristianini and J. Shawe-Taylor, An Introduction to Support Vector Machines and Other Kernel-based Learning Methods, 1st ed. Cambridge University Press, 2000. doi: 10.1017/CBO9780511801389.

Downloads

Published

2024-10-14

How to Cite

Emotion Classification Using Support Vector Machine. (2024). Appissode: Application, Information System and Software Development Journal, 1(1), 15-19. https://doi.org/10.20823/vsx33w33