Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN

Facial Emotion Recognition (FER) is a technology that analyzes facial expressions to detect emotions, playing a growing role in psychology and Human-Computer Interaction. In Indonesia, mental health issues are rising, with emotional disorders increasing from 6.0% in 2013 to 9.8% in 2018. Over 19 mi...

Full description

Saved in:
Bibliographic Details
Main Authors: Shane Ardyanto Baskara, Nina Setiyawati
Format: Article
Language:English
Published: Center for Research and Community Service, Institut Informatika Indonesia Surabaya 2025-07-01
Series:Teknika
Subjects:
Online Access:https://ejournal.ikado.ac.id/index.php/teknika/article/view/1232
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1839646220098732032
author Shane Ardyanto Baskara
Nina Setiyawati
author_facet Shane Ardyanto Baskara
Nina Setiyawati
author_sort Shane Ardyanto Baskara
collection DOAJ
description Facial Emotion Recognition (FER) is a technology that analyzes facial expressions to detect emotions, playing a growing role in psychology and Human-Computer Interaction. In Indonesia, mental health issues are rising, with emotional disorders increasing from 6.0% in 2013 to 9.8% in 2018. Over 19 million people aged 15+ were affected in 2018, a number likely worsened by the COVID-19 pandemic. Given the urgency of early detection, FER offers a non-invasive method to help identify mental health issues. It can support timely intervention and promote psychological well-being, especially in under-resourced settings. This study compares several Machine Learning (ML) and Deep Learning (DL) models—SVM, K-Nearest Neighbor, Random Forest, and Convolutional Neural Networks (CNN)—to classify facial emotions. The dataset used is the Facial Expression Recognition dataset by Jonathan Oheix from Kaggle. Images were preprocessed and used to train and evaluate each model. Traditional ML models relied on extracted features, while CNN learned features directly from images. Results show that CNN achieved the highest accuracy among the tested models. This suggests that FER, especially with CNN, can be a useful tool for early detection of emotional disorders in mental health contexts.
format Article
id doaj-art-2c0c0e974db74b4b97a8e00fff64fd3a
institution Matheson Library
issn 2549-8037
2549-8045
language English
publishDate 2025-07-01
publisher Center for Research and Community Service, Institut Informatika Indonesia Surabaya
record_format Article
series Teknika
spelling doaj-art-2c0c0e974db74b4b97a8e00fff64fd3a2025-07-01T01:31:22ZengCenter for Research and Community Service, Institut Informatika Indonesia SurabayaTeknika2549-80372549-80452025-07-0114210.34148/teknika.v14i2.1232Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNNShane Ardyanto BaskaraNina Setiyawati Facial Emotion Recognition (FER) is a technology that analyzes facial expressions to detect emotions, playing a growing role in psychology and Human-Computer Interaction. In Indonesia, mental health issues are rising, with emotional disorders increasing from 6.0% in 2013 to 9.8% in 2018. Over 19 million people aged 15+ were affected in 2018, a number likely worsened by the COVID-19 pandemic. Given the urgency of early detection, FER offers a non-invasive method to help identify mental health issues. It can support timely intervention and promote psychological well-being, especially in under-resourced settings. This study compares several Machine Learning (ML) and Deep Learning (DL) models—SVM, K-Nearest Neighbor, Random Forest, and Convolutional Neural Networks (CNN)—to classify facial emotions. The dataset used is the Facial Expression Recognition dataset by Jonathan Oheix from Kaggle. Images were preprocessed and used to train and evaluate each model. Traditional ML models relied on extracted features, while CNN learned features directly from images. Results show that CNN achieved the highest accuracy among the tested models. This suggests that FER, especially with CNN, can be a useful tool for early detection of emotional disorders in mental health contexts. https://ejournal.ikado.ac.id/index.php/teknika/article/view/1232Facial Emotion RecognitionMachine LearningMental HealthFacial ExpressionsDeep Learning
spellingShingle Shane Ardyanto Baskara
Nina Setiyawati
Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN
Teknika
Facial Emotion Recognition
Machine Learning
Mental Health
Facial Expressions
Deep Learning
title Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN
title_full Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN
title_fullStr Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN
title_full_unstemmed Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN
title_short Experimental Modeling of Face Emotion Recognition Using Machine Learning Classification (SVM, KNN, Random Forest) and Deep Learning CNN
title_sort experimental modeling of face emotion recognition using machine learning classification svm knn random forest and deep learning cnn
topic Facial Emotion Recognition
Machine Learning
Mental Health
Facial Expressions
Deep Learning
url https://ejournal.ikado.ac.id/index.php/teknika/article/view/1232
work_keys_str_mv AT shaneardyantobaskara experimentalmodelingoffaceemotionrecognitionusingmachinelearningclassificationsvmknnrandomforestanddeeplearningcnn
AT ninasetiyawati experimentalmodelingoffaceemotionrecognitionusingmachinelearningclassificationsvmknnrandomforestanddeeplearningcnn