Using machine learning to comprehend the mental health of students
- 1K. R. Mangalam University, K. R. Mangalam University,
The way in which mental health affects university students has become an increasing concern, thus dictating the need for new strategies dealing with early identification and preventive methods. This research aims at evaluating the machine learning algorithms for predicting future mental well-being based on academic records and social media usage of students. A comprehensive dataset was examined using different techniques like Support Vector Machines (SVM), k-Nearest Neighbors (kNN), AdaBoost, Neural Networks, and Random Forest employing several algorithms. The outcomes indicated that most machine learning models were accurate with 96.7% accuracy noted across them all. Therefore, this demonstrates that machine learning methods effectively identify latent patterns and predict individuals’ personal mental changes among learners. These insights can be used to design appropriate interventions focusing on enhancing individual student’s psychological health within schools of higher education.
Introduction
The issues of college include things like school stress, problems with friends, and a change in lifestyle that may affect their mental health. Researching teachers have found out that those setting rules are starting to see more of these cases nowadays and concluded that we urgently take measures put up mechanisms to control the situation when it is had (Williams & Martin 2). Nevertheless, students have a hard time asking for help because the society expects them to be self-reliant or else they are weak if they visit psychologists or counsellors at school for instance. This lack of openness leads to minimal conversation among individuals who interact with peers hence many psychological issues remain unresolved.
Researchers have begun employing a sort of self-learning technology to facilitate the monitoring and management of mental health among students. It is quite difficult to notice such patterns as excellent results, being a student's friendliness with mates, as well as behavior without understanding accurately person’s mental state when dealing directly with large data sets such as grades, relations in class or student behavior itself. As a result, it has made it easy for individual student beneficiaries to be recipients of personalized assistance geared towards reducing academic stress levels.
This research brings new knowledge to the ever-growing body of research in this area, including the promotion of artificial intelligence in mental health studies, through rigorous experiments. This investigation can support individual-based interventions and support systems that can improve overall life satisfaction and academic achievements for students. The article also provides an overview of some of the challenges and dilemmas that come with the deployment of machine learning models into the privacy-sensitive areas, such as mental health care, and speaks to responsible application of technologies to protect students' rights to privacy and self-governance.
Researchers have begun employing a sort of self-learning technology to facilitate the monitoring and management of mental health among students. It is quite difficult to notice such patterns as excellent results, being a student's friendliness with mates, as well as behavior without understanding accurately person’s mental state when dealing directly with large data sets such as grades, relations in class or student behavior itself. As a result, it has made it easy for individual student beneficiaries to be recipients of personalized assistance geared towards reducing academic stress levels.
Literature Review & Methodology
Methodology
This part gives a full summary of the machine learning techniques used in this article to solve the problem of movie classification. A distinct algorithm for supervised machine learning were concentrated on by the researcher in this study including Random Forest, AdaBoost, Support Vector Machines, and K nearest neighbour. With a metropolis within 20 miles, universities are situated in suburban and rural (college town) environments. Because of this, these four datasets are distinct and suitable for used as benchmarks for different machine learning models[9]. The steps involved in the methodology followed are feature extraction, pre-processing and evaluation of different matrices for each model used in this research.
Dataset collection
At this stage, data was visually represented and patterns were discovered. This study employed the dataset from the Kaggle repository called "student stress factor." A full description of the characteristics is located in the table below that goes with it.
Preprocessing
There are 1100 rows and 21 columns in the original dataset. The table below represents various features in the dataset (Table 1). All the data is used to assess the effectiveness of many supervised machine learning models. The dataset is pre-processed and split into two files, which are tested and trained with a ratio of 90:10
Results
The analysis of data revealed positive results, as the average accuracy was at 96.7% for all classification models. Different algorithms were used to assess each model’s performance, such as Support Vector Machines (SVM), Random Forest, Ada Boost, k-Nearest Neighbors (kNN), Neural Networks and Naïve Bayes.
Support Vector Machines showed strong performance with 89.3% accuracy. The accuracy of Random Forest was also found to be close to that with a percentage of around 99.4%. On its side, Ada Boost achieved an accurate prediction with no mistake since it scored 100%. This displays the effectiveness of k-Nearest Neighbors in classifying the dataset since they had an accuracy value of 99.7%.
The Neural Network algorithm finally reached a milestone by achieving an accuracy of 95.1%.
From these results, the dataset was suitable for classification task while using different algorithms which gave a good idea about what underlies this dataset. High accuracies from various models indicate that the dataset was robust while classifying using various techniques were effective.
Conclusion
According to our research, machine learning is crucial for university students' mental health. Different algorithms such as SVM, KNN, AdaBoost, Neural Network, and Random Forest have been applied to predict future outcomes linked to mental wellbeing based on school performance records on social networks. we found out promising results in our study, which achieved high accuracy in different performance measures. These results show machines efficiency in showing secret patterns as well as predicting personal mental health changes among students that help design individualized remedies.
References/Bibliography
[1] Mutalib, Sofianita. "Mental health prediction models using machine learning in higher education institution." Turkish Journal of Computer and Mathematics Education (TURCOMAT) 12.5 (2021): 1782-1792.
[2] Wendy Larcombe, Tracii Ryan & Chi Baik (2024) Are international students relatively resilient? Comparing international and domestic students’ levels of self-compassion, mental health and wellbeing, Higher Education Research & Development, 43:2, 362-376, DOI: 10.1080/07294360.2023.2234315
[3] Timothy M. Dasinger & Deborah J. Gibson (2022): Perceptions of mental health and need satisfaction/frustration among rural university students, Journal of American College Health, DOI: 10.1080/07448481.2022.2032089
[4] Brites, Rute, et al. "Emotion regulation, resilience, and mental health: A mediation study with university students in the pandemic context." Psychology in the Schools 61.1 (2024): 304-328, DOI: 10.1002/pits.23055
[5] Zakaria, Nanang, et al. "GUIDANCE AND COUNSELING MANAGEMENT: A SCIENTIFIC APPROACH TO IMPROVING STUDENTS'MENTAL HEALTH." Jurnal Konseling Pendidikan Islam 5.1 (2024): 84-95.
[6] Armiya’u, Aishatu Yusha’U., et al. "Mental health facilitators and barriers during Covid-19 in Nigeria." Journal of Asian and African Studies 59.2 (2024): 354-376.
[7] Thieme, Anja, Danielle Belgrave, and Gavin Doherty. "Machine learning in mental health: A systematic review of the HCI literature to support the development of effective and implementable ML systems." ACM Transactions on Computer-Human Interaction (TOCHI) 27.5 (2020): 1-53.
[8] Khattar, Anuradha, Priti Rai Jain, and S. M. K. Quadri. "Effects of the disastrous pandemic COVID 19 on learning styles, activities and mental health of young Indian students-a machine learning approach." 2020 4th international conference on intelligent computing and control systems (ICICCS). IEEE, 2020.
[9] Muzumdar, Prathamesh, Ganga Prasad Basyal, and Piyush Vyas. "An empirical comparison of machine learning models for student's mental health illness assessment." arXiv preprint arXiv:2202.13495 (2022).
[10] Malhotra, Anshu, and Rajni Jindal. "Multimodal deep learning based framework for detecting depression and suicidal behaviour by affective analysis of social media posts." EAI Endorsed Transactions on Pervasive Health and Technology 6.21 (2020).
[11] Fei, Zixiang, et al. "Deep convolution network based emotion analysis towards mental health care." Neurocomputing 388 (2020): 212-227.
[12] Melcher, Jennifer, Ryan Hays, and John Torous. "Digital phenotyping for mental health of college students: a clinical review." BMJ Ment Health 23.4 (2020): 161-166.
Keywords: Machine learning; Predictive modeling; Deep Learning; Preprocessing
Citation: Dr.Amar Saraswat*,Dr.Amar Saraswat ( 2025), Using machine learning to comprehend the mental health of students. , 1(1): 1-11
Received: 30/08/2025; Accepted: 11/09/2025;
Published: 02/10/2025
Edited by:
Mr.Trilok SinghReviewed by:
Mr.Parkash Singh, University of Delhi, IJJMC, USCopyright: IJJMC, 2025.
*Correspondence: Dr.Amar Saraswat, amar@ijjmc.com