Research on Prediction and Model Construction of Innovative and Entrepreneurial Mental Health Status Based on Random Forest Algorithm

Abstract

The study constructs a prediction model to predict the mental health status of innovative entrepreneurs. The real data of mental health assessment of innovative entrepreneurs in S province in 2023 is chosen as the data source. The recursive random forest feature elimination method is used to select the features of the mental health status prediction model. The pre-selection-elimination mechanism was used to construct the mental health state prediction model. The prediction models constructed by support vector machine algorithm, decision tree algorithm and random forest algorithm were trained and evaluated respectively. The AUC value and accuracy corresponding to the random forest algorithm are 0.9126 and 86.39%, respectively, which are better than the other two comparison models. Among the 17 mental health characteristic variables selected in this paper, emotional stress and self-acceptance degree have the greatest influence on the prediction model based on the random forest algorithm.

Keywords: Support vector machine; Decision tree; Random forest; Mental health status