Machine Learning Framework for Accurate Mental Stress Detection in University Students Using Random Forest Classification

The rapid increase in university students' mental stress requires a highly efficient and automated method of early detection for timely intervention. Existing methods struggle with processing large textual data, exhibit poor scalability, and fail to capture contextual meaning, leading to inaccurate stress classification. To overcome these shortcomings, in this study, a machine learning framework based on Random Forest for prediction and Word2Vec for text feature extraction was introduced, guaranteeing a strong representation of text as well as improved predictive performance. The dataset includes text posts from different online forums, which are preprocessed to eliminate inconsistencies, normalize the text, and extract useful features. The designed approach outperformed the standard approaches with an accuracy of 99%, precision of 96%, recall of 92 %, and F1-score of 94 %, compared to standard approaches such as Naïve Bayes, KNN, Decision Tree, and SVM. The empirical findings affirm the trustworthiness of the model in recognizing mental stress, marking its prospect for practical use in mental health observation and intervention.

Authors

Institutions

Publication Details

Published
2025-06-05
DOI
https://doi.org/10.1109/icetea64585.2025.11099999
Primary Topic
COVID-19 and Mental Health
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning Framework for Accurate Mental Stress Detection in University Students Using Random Forest Classification

S.K. Yalini, G Anitha
COVID-19 and Mental Health
article

Machine Learning Framework for Accurate Mental Stress Detection in University Students Using Random Forest Classification

S.K. Yalini, G Anitha
article en

Abstract

The rapid increase in university students' mental stress requires a highly efficient and automated method of early detection for timely intervention. Existing methods struggle with processing large textual data, exhibit poor scalability, and fail to capture contextual meaning, leading to inaccurate stress classification. To overcome these shortcomings, in this study, a machine learning framework based on Random Forest for prediction and Word2Vec for text feature extraction was introduced, guaranteeing a strong representation of text as well as improved predictive performance. The dataset includes text posts from different online forums, which are preprocessed to eliminate inconsistencies, normalize the text, and extract useful features. The designed approach outperformed the standard approaches with an accuracy of 99%, precision of 96%, recall of 92 %, and F1-score of 94 %, compared to standard approaches such as Naïve Bayes, KNN, Decision Tree, and SVM. The empirical findings affirm the trustworthiness of the model in recognizing mental stress, marking its prospect for practical use in mental health observation and intervention.

Karpagam Academy of Higher Education (IN)
Openalex Percentile: Top 71%
COVID-19 and Mental Health
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.