EduMood: Sistem Deteksi Sentimen Berbasis Web Menggunakan Metode Machine Learning untuk Identifikasi Awal Gejala Stres Mahasiswa


  • Riko Anshori Prasetya * Mail Universitas Sari Mulia, Banjarmasin, Indonesia
  • Subhannur Rahman Universitas Sari Mulia, Banjarmasin, Indonesia
  • Arif Mudi Priyatno Universitas Pahlawan Tuanku Tambusai, Riau, Indonesia
  • Mera Mera Universitas Sari Mulia, Banjarmasin, Indonesia
  • Ulfia Wahyuni Universitas Sari Mulia, Banjarmasin, Indonesia
  • (*) Corresponding Author
Keywords: Mental Health; Sentiment Analysis; Machine Learning; SVM; Web-Based Dashboard

Abstract

Students' mental health is an important issue that needs serious attention, especially in the era of social media which is full of psychological pressure. This research aims to develop EduMood, a web-based sentiment analysis system to monitor college students' mental health issues by analyzing tweets on Twitter. The tweet data is collected using relevant keywords and goes through preprocessing stages such as text cleaning, bilingual lexicon-based initial labeling, and balancing the amount of data between sentiment classes. The system uses two machine learning algorithms, Support Vector Machine (SVM) and Naive Bayes with Term Frequency-Inverse Document Frequency (TF-IDF) feature representation. The evaluation results show that SVM has a higher accuracy of 99.3% compared to Naive Bayes which reaches 96.5% with f1 scores for all classes above 0.99 for SVM. EduMood is implemented as a web-based application using Flask and Bootstrap 5, which presents the analysis results through an interactive dashboard. The dashboard displays the aggregate sentiment distribution in the form of diagrams, wordclouds, monitoring tables, and text manual predictions. The results of this study show that EduMood not only provides excellent model performance, but also offers a practical solution for the campus to monitor the psychological condition of students in a fast, real data-based, and easily accessible manner. This system is expected to support efforts to improve student mental health in a sustainable manner.

Downloads

Download data is not yet available.

References

D. R. Syarifah, C. Angelina, N. Muhani, and O. Reni, “Determinan Faktor Individu dan Sosial yang Berhubungan dengan Literasi Kesehatan Mental pada Mahasiswa di Universitas Malahayati,” Jurnal Kesehatan, vol. 16, no. 2, pp. 161–167, Oct. 2023, doi: 10.23917/jk.v16i2.2009.

L. Ninditya and B. E. Medise, “Laporan Kasus Berbasis Bukti Prevalensi dan Faktor-Faktor yang Berpengaruh Terhadap Masalah Kesehatan Jiwa pada Remaja Selama Pandemi Corona Virus Disease 2019,” Sari Pediatri, vol. 24, no. 2, pp. 127–133, 2022, doi: http://dx.doi.org/10.14238/sp24.2.2022.

U. Alfu Nahari, “The Relation Between Permissive Parenting and Emotional Intelligence with Adolescent Autonomy,” in Proceeding Conference on Psychology and Behavioral Sciences, 2024, pp. 647–656. doi: https://doi.org/10.61994/cpbs.v3i.190.

L. Kantam Cletus et al., “Depression, Anxiety and Stress among Tertiary Students in a Low Socio-Economic Settin,” Fortune Journal of Health Sciences, vol. 7, no. 4, 2024, doi: 10.26502/fjhs.242.

B. Remaja Millenial Riduan, N. Fauziah, K. Amelia, and U. Islam Negeri Sultan Aji Muhammad Idris Samarinda, “Pemanfaatan Media Sosial sebagai Media Informasi Pendidikan,” Borneo Journal of Islamic Education, vol. 3, no. 1, pp. 53–64, 2023, doi: https://doi.org/10.21093/bjie.v3i1.6334.

M. Y. Sahan, A. Gual, M. Florencia, and Y. Bello, “Eksplorasi Manajemen Privasi Komunikasi Mahasiswa Melalui Buku Harian Dan Instagram,” WACANA: Jurnal Ilmiah Ilmu Komunikasi, vol. 24, no. 1, pp. 178–189, 2025, doi: 10.32509/wacana.v24i1.4553.

F. A. Annabillah and K. M. Boer, “Fitur Close Friends Instagram Sebagai Keterbukaan Diri Mahasiswa Yang Mengalami Kecemasan Bermedia Sosial,” Jurnal Indonesia : Manajemen Informatika dan Komunikasi, vol. 4, no. 3, pp. 1550–1565, Sep. 2023, doi: 10.35870/jimik.v4i3.379.

K. Saha, A. Yousuf, R. L. Boyd, J. W. Pennebaker, and M. De Choudhury, “Social Media Discussions Predict Mental Health Consultations on College Campuses,” Sci Rep, vol. 12, no. 1, p. 123, Jan. 2022, doi: 10.1038/s41598-021-03423-4.

M. Y. Dhinora and E. Mailoa, “Analisa Tweet Mahasiswa untuk Deteksi Gejala Depresi dengan Penerapan Natural Language Processing,” Jurnal Indonesia : Manajemen Informatika dan Komunikasi (JIMIK), vol. 6, no. 2, May 2025, doi: https://doi.org/10.63447/jimik.v6i2.1405.

A. Nazari, M. Hosseinnia, S. Torkian, and G. Garmaroudi, “Social media and mental health in students: a cross-sectional study during the Covid-19 pandemic,” BMC Psychiatry, vol. 23, no. 1, p. 458, Jun. 2023, doi: 10.1186/s12888-023-04859-w.

S. Romdona, S. Senja Junista, and A. Gunawan, “Teknik Pengumpulan Data: Observasi, Wawancara, dan Kuisoner,” JISOSEPOL: Jurnal Ilmu Sosial Ekonomi dan Politik, vol. 3, no. 1, pp. 39–47, 2025, doi: https://doi.org/10.61787/taceee75.

R. Qayyum, H. Afzal, K. Mahmood, and N. Iltaf, “Detection and Analysis of Mental Health Illness using Social Media,” in 2023 International Conference on Communication Technologies (ComTech), IEEE, Mar. 2023, pp. 34–41. doi: 10.1109/ComTech57708.2023.10165143.

S. K. S., K. Shanmugavadivel, S. R. V., M. Subramanian, S. R., and S. V. E., “Leveraging multi-class sentiment analysis on social media text for detecting signs of depression,” Applied and Computational Engineering, vol. 2, no. 1, pp. 242–251, Mar. 2023, doi: 10.54254/2755-2721/2/20220660.

I. C. Obagbuwa, S. Danster, and O. C. Chibaya, “Supervised machine learning models for depression sentiment analysis,” Front Artif Intell, vol. 6, Jul. 2023, doi: 10.3389/frai.2023.1230649.

Prof. P. Kakde, “Sentimental Analysis Using Machine Learning for Mental Healthcare Management System,” Int J Res Appl Sci Eng Technol, vol. 11, no. 6, pp. 563–570, Jun. 2023, doi: 10.22214/ijraset.2023.53450.

D. K. Choudhary, A. Gupta, S. Singh, T. Abhinav, and T. Agrawal, “Sentiment Analysis for Depression Detection Using Artificial Intelligence,” in 2024 3rd International Conference on Artificial Intelligence For Internet of Things (AIIoT), IEEE, May 2024, pp. 1–5. doi: 10.1109/AIIoT58432.2024.10574749.

M. Arif, maruf Setiawan, A. Dwi Hartono, M. Arif Ma, and ruf Setiawan, “Menggunakan Metode Machine Learning untuk Memprediksi Nilai Mahasiswa dengan Model Prediksi Multiclass,” Jurnal Informatika: Jurnal Pengembangan IT, vol. 10, no. 1, pp. 190–204, 2025, doi: 10.30591/jpit.v9ix.xxx.

D. Shabira et al., “Deteksi Seksisme Online menggunakan Support Vector Machine dan Naïve Bayes,” MIND (Multimedia Artificial Intelligent Networking Database) Journal, vol. 8, no. 2, pp. 254–266, 2023, doi: 10.26760/mindjournal.v8i2.254-266.

T. Rawat and S. Jain, “DPre: Effective preprocessing techniques for social media depressive text,” Intelligent Decision Technologies, vol. 16, no. 3, pp. 475–485, Sep. 2022, doi: 10.3233/IDT-210199.

S. Chrisomalis, “Numerical Notation: A Comparative History,” in Oxford Classical Dictionary, Oxford University Press, 2024. doi: 10.1093/acrefore/9780199381135.013.8527.

C. Y, P. Kiran, and M. P B, “The Novel Method for Data Preprocessing CLI,” Advances in Intelligent Systems and Technologies, pp. 117–120, Dec. 2022, doi: 10.53759/aist/978-9914-9946-1-2_21.

P. Amira Sumitro et al., “Analisis Sentimen Terhadapat Vaksin Covid-19 di Indonesia pada Twitter Menggunakan Metode Lexicon Based,” Jurnal Informatika dan Teknologi Komputer (J-ICOM), vol. 2, no. 2, pp. 50–56, 2021, doi: https://doi.org/10.55377.

I. Wickramasinghe and H. Kalutarage, “Naive Bayes: applications, variations and vulnerabilities: a review of literature with code snippets for implementation,” Soft comput, vol. 25, no. 3, pp. 2277–2293, Feb. 2021, doi: 10.1007/s00500-020-05297-6.

Lutfi Muhammad, Surejo Sarif, and Septiana Pinky, “Systematic Literature Review: Penerapan Algoritma Naive Bayes Dalam Sistem Pakar,” Jurnal Minfo Polgan, vol. 11, no. 2, pp. 7–13, 2022, doi: 10.33395/jmp.v11i2.11635.

D. E. Cahyani and I. Patasik, “Performance comparison of tf-idf and word2vec models for emotion text classification,” Bulletin of Electrical Engineering and Informatics, vol. 10, no. 5, pp. 2780–2788, Oct. 2021, doi: 10.11591/eei.v10i5.3157.

K. Tri Putra, M. Amin Hariyadi, and C. Crysdian, “Perbandingan Feature Extraction TF-IDF Dan Bow Untuk Analisis Sentimen Berbasis SVM,” Jurnal Cahaya Mandalika, vol. 3, no. 2, pp. 1449–1463, 2023, doi: https://doi.org/10.36312/jcm.v5i3.

D. Chicco, N. Tötsch, and G. Jurman, “The matthews correlation coefficient (Mcc) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation,” BioData Min, vol. 14, pp. 1–22, 2021, doi: 10.1186/s13040-021-00244-z.

A. R. Hanum et al., “Analisis Kinerja Algoritma Klasifikasi Teks BERT dalam Mendeteksi Berita Hoaks,” Jurnal Teknologi Informasi dan Ilmu Komputer (JTIIK), vol. 11, no. 3, pp. 537–546, 2024, doi: 10.25126/jtiik938093.

D. Valero-Carreras, J. Alcaraz, and M. Landete, “Comparing two SVM models through different metrics based on the confusion matrix,” Comput Oper Res, vol. 152, Apr. 2023, doi: 10.1016/j.cor.2022.106131.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel EduMood: Sistem Deteksi Sentimen Berbasis Web Menggunakan Metode Machine Learning untuk Identifikasi Awal Gejala Stres Mahasiswa

Dimensions Badge
Article History
Submitted: 2025-07-18
Published: 2025-07-31
Abstract View: 520 times
PDF Download: 285 times
How to Cite
Prasetya, R., Rahman, S., Priyatno, A., Mera, M., & Wahyuni, U. (2025). EduMood: Sistem Deteksi Sentimen Berbasis Web Menggunakan Metode Machine Learning untuk Identifikasi Awal Gejala Stres Mahasiswa. Journal of Information System Research (JOSH), 6(4), 2109-2119. https://doi.org/10.47065/josh.v6i4.8042
Issue
Section
Articles