TY - JOUR
T1 - Text-based emotion prediction system using machine learning approach
AU - Ab Nasir, Ahmad Fakhri
AU - Seok Nee, Eng
AU - Sern Choong, Chun
AU - Shahrizan Abdul Ghani, Ahmad
AU - Abdul Majeed, Anwar P.P.
AU - Adam, Asrul
AU - Furqan, Mhd
N1 - Funding Information:
The authors acknowledge the internal grant from Universiti Malaysia Pahang (RDU180383).
Publisher Copyright:
© Published under licence by IOP Publishing Ltd.
PY - 2020/6/5
Y1 - 2020/6/5
N2 - Text-based input becomes a common channel for humans in sharing their opinions/emotions to the product or service through online social media, shopping platform etc. Humans are easy to make errors in interpreting emotions, especially the emotion that derived from text based. The main aim of this study is to develop text-based emotion recognition and prediction system. Several market challenges facing in the advancement of emotion analysis with accuracy being the main issue. Therefore, four supervised machine learning classification algorithms such as Multinomial Naïve Bayes, Support Vector Machine, Decision Trees, and k-Nearest Neighbors were investigated. The model was developed based on Ekman's six basic emotions which are anger, fear, disgust, joy, guilt and sadness. Data pre-processing techniques such as stemming, stop-words, digits and punctuation marks removal, spelling correction, and tokenization were implemented. A benchmark of ISEAR (International Survey on Emotion Antecedents and Reactions) dataset was used to test all models. Multinomial Naïve Bayes classifier resulted the best performance with an average accuracy of 64.08%. Finally, the best model was integrated to graphical user interface using Python Tkinter library to complete the whole system development. Besides, the detailed performance of the best model such as tf-idf and count vectorizer, confusion matrix, precision-recall rate, as well as ROC (Receiver Operating Characteristic) score were also discussed. Text-based emotion prediction system to interpret and understand human emotions was successfully developed.
AB - Text-based input becomes a common channel for humans in sharing their opinions/emotions to the product or service through online social media, shopping platform etc. Humans are easy to make errors in interpreting emotions, especially the emotion that derived from text based. The main aim of this study is to develop text-based emotion recognition and prediction system. Several market challenges facing in the advancement of emotion analysis with accuracy being the main issue. Therefore, four supervised machine learning classification algorithms such as Multinomial Naïve Bayes, Support Vector Machine, Decision Trees, and k-Nearest Neighbors were investigated. The model was developed based on Ekman's six basic emotions which are anger, fear, disgust, joy, guilt and sadness. Data pre-processing techniques such as stemming, stop-words, digits and punctuation marks removal, spelling correction, and tokenization were implemented. A benchmark of ISEAR (International Survey on Emotion Antecedents and Reactions) dataset was used to test all models. Multinomial Naïve Bayes classifier resulted the best performance with an average accuracy of 64.08%. Finally, the best model was integrated to graphical user interface using Python Tkinter library to complete the whole system development. Besides, the detailed performance of the best model such as tf-idf and count vectorizer, confusion matrix, precision-recall rate, as well as ROC (Receiver Operating Characteristic) score were also discussed. Text-based emotion prediction system to interpret and understand human emotions was successfully developed.
UR - http://www.scopus.com/inward/record.url?scp=85087423236&partnerID=8YFLogxK
U2 - 10.1088/1757-899X/769/1/012022
DO - 10.1088/1757-899X/769/1/012022
M3 - Conference article
AN - SCOPUS:85087423236
SN - 1757-8981
VL - 769
JO - IOP Conference Series: Materials Science and Engineering
JF - IOP Conference Series: Materials Science and Engineering
IS - 1
M1 - 012022
T2 - 6th International Conference on Software Engineering and Computer Systems, ICSECS 2019
Y2 - 25 September 2019 through 27 September 2019
ER -