Mental Health Sentiment Analysis on Twitter using Ensemble Learning Algorithm
Building of Informatics, Technology and Science (BITS) · 02.09.2025 · 7 (2) · 1017-1027
DOI: 10.47065/bits.v7i2.7763 ↗Kurz gefasst
Fachartikel in der Zeitschrift Building of Informatics, Technology and Science (BITS), online erschienen am 02.09.2025. Verfasst von Kemal Aziz und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Mental health problems have become an important health issue around the world. Poor understanding as well as low mental health awareness contribute to mental health healing efforts. In particular, Social media is becoming a platform for people to convey feelings and emotions. A dataset of 20,000 English tweets, equally divided into 10,000 depressed and 10,000 non-depressed tweets, which were cleaned and processed using Term Frequency-Inverse Document Frequency (TF-IDF) for feature extraction. The method used in this sentiment analysis introduces an ensemble learning framework that combines Naïve Bayes, Support Vector Machine, and Random Forest classifiers, using majority voting for prediction. Each classifier was optimized using the best parameters, and the models were validated through 5-fold cross-validation. The experimental results show that Naïve Bayes with α = 1 achieved an accuracy of 76.23% while Random Forest with 5000 trees at 76.77%, and Support Vector Machine with a linear kernel at 75.32%. By combining these classifiers, the ensemble model reached the highest accuracy of 77.88%, demonstrating the effectiveness of combining multiple models to improve performance.
Zitieren
APA
Aziz, K., Wahyudi, B. A., & Palupi, I. (2025). Mental Health Sentiment Analysis on Twitter using Ensemble Learning Algorithm. Building of Informatics, Technology and Science (BITS), 7(2), 1017-1027. https://doi.org/10.47065/bits.v7i2.7763
Vancouver
Aziz K, Wahyudi BA, Palupi I. Mental Health Sentiment Analysis on Twitter using Ensemble Learning Algorithm. Building of Informatics, Technology and Science (BITS). 2025;7(2):1017-1027. doi:10.47065/bits.v7i2.7763
BibTeX
@article{Aziz2025,
author = {Aziz, Kemal and Wahyudi, Bambang Ari and Palupi, Irma},
title = {Mental Health Sentiment Analysis on Twitter using Ensemble Learning Algorithm},
journal = {Building of Informatics, Technology and Science (BITS)},
year = {2025},
volume = {7},
number = {2},
pages = {1017--1027},
doi = {10.47065/bits.v7i2.7763}
}
EUVIMED