Abstract With the increasing social pressure and academic competition, the mental health (for convenience, abbreviated as MH) problems of college students are becoming increasingly prominent, but there are often challenges that are difficult to accurately predict and intervene in a timely manner. The aim of this article is to address the early warning needs of college students’ MH problems and construct a model that can timely identify the MH problems of college students. The experiment collected MH related data from college students in S city, and analyzed and trained these data using the Long short-term memory (LSTM) network model. By changing the number of hidden layers, learning rate, batch size, and epoch times, the most suitable training effect was achieved. By using the time-series characteristics of the LSTM model, the selected parameters from the experiment can better capture the changing trends of college students’ MH status, thereby improving prediction accuracy. Finally, three stage indicators of low, medium, and high were set up for early warning of the predicted results, in order to effectively and timely take measures. The research results indicated that the constructed model achieved a minimum regularization loss of 0.0674 after training. Finally, the adjusted model was used to predict the test set, with an average accuracy of 0.852 and an average accuracy of 0.906. The LSTM-based MH risk model performed well in predicting college students’ MH problems and could identify potential risk factors in a timely manner.
Read full abstract