Text-based emotion prediction system using machine learning approach

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 stu...

Full description

Bibliographic Details
Main Authors: Ahmad Fakhri, Ab. Nasir, Eng, Seok Nee, Chun, Sern Choong, Ahmad Shahrizan, Abdul Ghani, Anwar, P. P. Abdul Majeed, Asrul, Adam, Mhd, Furqan
Format: Conference or Workshop Item
Language:English
English
Published: 2020
Subjects:
Online Access:http://umpir.ump.edu.my/id/eprint/27733/
http://umpir.ump.edu.my/id/eprint/27733/1/76.%20Text-based%20emotion%20prediction%20system%20using%20machine%20learning%20approach.pdf
http://umpir.ump.edu.my/id/eprint/27733/2/76.1%20Text-based%20emotion%20prediction%20system%20using%20machine%20learning%20approach.pdf
_version_ 1848822869934473216
author Ahmad Fakhri, Ab. Nasir
Eng, Seok Nee
Chun, Sern Choong
Ahmad Shahrizan, Abdul Ghani
Anwar, P. P. Abdul Majeed
Asrul, Adam
Mhd, Furqan
author_facet Ahmad Fakhri, Ab. Nasir
Eng, Seok Nee
Chun, Sern Choong
Ahmad Shahrizan, Abdul Ghani
Anwar, P. P. Abdul Majeed
Asrul, Adam
Mhd, Furqan
author_sort Ahmad Fakhri, Ab. Nasir
building UMP Institutional Repository
collection Online Access
description 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 kNearest 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.
first_indexed 2025-11-15T02:48:06Z
format Conference or Workshop Item
id ump-27733
institution Universiti Malaysia Pahang
institution_category Local University
language English
English
last_indexed 2025-11-15T02:48:06Z
publishDate 2020
recordtype eprints
repository_type Digital Repository
spelling ump-277332020-12-17T03:35:49Z http://umpir.ump.edu.my/id/eprint/27733/ Text-based emotion prediction system using machine learning approach Ahmad Fakhri, Ab. Nasir Eng, Seok Nee Chun, Sern Choong Ahmad Shahrizan, Abdul Ghani Anwar, P. P. Abdul Majeed Asrul, Adam Mhd, Furqan QA76 Computer software 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 kNearest 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. 2020-06 Conference or Workshop Item PeerReviewed pdf en http://umpir.ump.edu.my/id/eprint/27733/1/76.%20Text-based%20emotion%20prediction%20system%20using%20machine%20learning%20approach.pdf pdf en http://umpir.ump.edu.my/id/eprint/27733/2/76.1%20Text-based%20emotion%20prediction%20system%20using%20machine%20learning%20approach.pdf Ahmad Fakhri, Ab. Nasir and Eng, Seok Nee and Chun, Sern Choong and Ahmad Shahrizan, Abdul Ghani and Anwar, P. P. Abdul Majeed and Asrul, Adam and Mhd, Furqan (2020) Text-based emotion prediction system using machine learning approach. In: 6th International Conference on Software Engineering and Computer Systems, ICSECS 2019 , 25 - 27 September 2019 , Vistana Kuantan City Center, Kuantan, Pahang. pp. 1-11., 769 (1). ISSN 1757-8981 (Published) https://doi.org/10.1088/1757-899X/769/1/012022
spellingShingle QA76 Computer software
Ahmad Fakhri, Ab. Nasir
Eng, Seok Nee
Chun, Sern Choong
Ahmad Shahrizan, Abdul Ghani
Anwar, P. P. Abdul Majeed
Asrul, Adam
Mhd, Furqan
Text-based emotion prediction system using machine learning approach
title Text-based emotion prediction system using machine learning approach
title_full Text-based emotion prediction system using machine learning approach
title_fullStr Text-based emotion prediction system using machine learning approach
title_full_unstemmed Text-based emotion prediction system using machine learning approach
title_short Text-based emotion prediction system using machine learning approach
title_sort text-based emotion prediction system using machine learning approach
topic QA76 Computer software
url http://umpir.ump.edu.my/id/eprint/27733/
http://umpir.ump.edu.my/id/eprint/27733/
http://umpir.ump.edu.my/id/eprint/27733/1/76.%20Text-based%20emotion%20prediction%20system%20using%20machine%20learning%20approach.pdf
http://umpir.ump.edu.my/id/eprint/27733/2/76.1%20Text-based%20emotion%20prediction%20system%20using%20machine%20learning%20approach.pdf