Mental Health Chatbot Application on Artificial Intelligence (AI) for Student Stress Detection Using Mobile-Based Naïve Bayes Algorithm

Purpose: This study aims to design and evaluate a chatbot-based artificial intelligence system to identify stress levels in students using the Naïve Bayes classification method. With increasing mental health concerns among students, early stress detection is considered crucial for timely intervention Methods: This study proposes an AI-based chatbot system to detect student stress levels using a comparative approach between Naïve Bayes and Support Vector Machine (SVM) algorithms. A Kaggle dataset with 15 psychological and academic indicators was preprocessed and balanced using SMOTE. Naïve Bayes showed higher accuracy (90%) than SVM (89%). The trained model was deployed via Flask with Ngrok tunneling and integrated into a Flutter mobile app connected to the Gemini AI API for real-time stress screening. This research offers a practical and scalable solution for early mental health detection in students through intelligent chatbot interaction. Result: The findings show that the Naïve Bayes model achieves a classification accuracy of 90%, slightly surpassing the SVM model, which records an accuracy of 89%. Evaluation through ROC and AUC metrics supports the reliability of Naïve Bayes in detecting stress levels. The integrated chatbot offers a responsive and engaging platform for preliminary mental health assessments. Novelty: This research presents a unique contribution by combining AI-driven stress detection with a real-time chatbot interface, offering an accessible and scalable approach to student mental health support. The integration of machine learning models with conversational AI provides an innovative solution for early intervention. Future developments may involve deep learning and more diverse psychological inputs to further improve accuracy and effectiveness.

Authors

Institutions

Publication Details

Journal
Scientific Journal of Informatics
Published
2025-06-22
DOI
https://doi.org/10.15294/sji.v12i2.24307
Citations
1
Primary Topic
Mental Health via Writing
Type
article
Field-Weighted Citation Impact
2.44
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Mental Health Chatbot Application on Artificial Intelligence (AI) for Student Stress Detection Using Mobile-Based Naïve Bayes Algorithm

Mega Novita, N Sari, Ekanata Desi Sagita Mariyana
1 citations
Scientific Journal of Informatics
Mental Health via Writing
2.44
article

Mental Health Chatbot Application on Artificial Intelligence (AI) for Student Stress Detection Using Mobile-Based Naïve Bayes Algorithm

Mega Novita, N Sari, Ekanata Desi Sagita Mariyana
article en
1 citations

Abstract

Purpose: This study aims to design and evaluate a chatbot-based artificial intelligence system to identify stress levels in students using the Naïve Bayes classification method. With increasing mental health concerns among students, early stress detection is considered crucial for timely intervention Methods: This study proposes an AI-based chatbot system to detect student stress levels using a comparative approach between Naïve Bayes and Support Vector Machine (SVM) algorithms. A Kaggle dataset with 15 psychological and academic indicators was preprocessed and balanced using SMOTE. Naïve Bayes showed higher accuracy (90%) than SVM (89%). The trained model was deployed via Flask with Ngrok tunneling and integrated into a Flutter mobile app connected to the Gemini AI API for real-time stress screening. This research offers a practical and scalable solution for early mental health detection in students through intelligent chatbot interaction. Result: The findings show that the Naïve Bayes model achieves a classification accuracy of 90%, slightly surpassing the SVM model, which records an accuracy of 89%. Evaluation through ROC and AUC metrics supports the reliability of Naïve Bayes in detecting stress levels. The integrated chatbot offers a responsive and engaging platform for preliminary mental health assessments. Novelty: This research presents a unique contribution by combining AI-driven stress detection with a real-time chatbot interface, offering an accessible and scalable approach to student mental health support. The integration of machine learning models with conversational AI provides an innovative solution for early intervention. Future developments may involve deep learning and more diverse psychological inputs to further improve accuracy and effectiveness.

Scientific Journal of InformaticsVol. 12(2)
Universitas PGRI Semarang (ID)
Openalex Percentile: Top 12%
Mental Health via Writing
2.44
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Mental Health Chatbot Application on Artificial Intelligence (AI) for Student Stress Detection Using Mobile-Based Naïve Bayes Algorithm — Mega Novita, N Sari, et al. · Scientific Journal of Informatics (2025) | TGRS Research Map | TGRS