# Research on Recommendation of College Mental Health Teaching Materials Based on Improved Deep Learning Algorithm

Authors: Yunxia Zhou; Lei Li
Journal: Wireless Communications and Mobile Computing
 (2022)

---

## Abstract

In order to meet the differentiated needs of students and improve the satisfaction of college mental health textbook recommendation, a college mental health textbook recommendation scheme based on improved deep learning algorithm is proposed. Based on the analysis of the principle of deep learning data recommendation system, the data interest is calculated according to the browsing records of students on college mental health textbooks. Combine the deep learning algorithm and collaborative filtering algorithm to collect the demand data of college mental health textbooks, then use the Naive Bayesian classification method to divide the college mental health textbooks into interested and uninterested parts, and recommend the interested college mental health textbooks to the students in need. Experiments show that the longest recommendation time of the college mental health textbook recommendation scheme based on the improved deep learning algorithm proposed in this paper is 4.5 min, the highest recommended recall rate is 95.18%, the average accuracy is 97.2%, the highest content richness is 0.8, the system stability coefficient is 1.06, and the overall average praise rate is 97.79%. It has a good recommendation effect.


---

## Body

## 1. Introduction

With the rapid development of science and technology, the research results produced by various industries and disciplines have increased exponentially. The generation of a large number of academic achievements not only provides scholars with rich academic resources but also brings difficulties and challenges to the retrieval of resources. Taking mental health data as an example, in the process of using by students or teachers, it is necessary to query and quote the corresponding mental health data and conduct further research and optimization on the basis of the previous research, so as to ensure the value and feasibility of the research results. However, in the actual retrieval process, it is difficult for users to accurately obtain the most valuable mental health materials in a short time [1]. In order to improve the retrieval speed of information related to the mental health of users, scholars not only recommend the methods of searching information in the network, but also solve the problems of mental health of users [2, 3]. At this stage, the recommendation methods of college mental health teaching materials at home and abroad can be divided into content-based filtering [4], collaborative filtering [5, 6], and rule-based recommendation methods [7] according to the input data and composition structure. However, the above traditional resource recommendation methods are mainly aimed at static mental health data stored in solid-state database, which will lead to poor recommendation effect and slow recommendation speed [8, 9].In order to solve the problems existing in the traditional college mental health teaching material recommendation methods, although the resource recommendation method based on deep learning improves the recommendation performance, it only considers the user’s rating data of resources and inhibits the recommendation effect [10, 11]. Therefore, based on the improvement of deep learning algorithm [12], this paper designs and studies the recommendation method of college mental health teaching materials. The demand data of college mental health teaching materials are collected, the Naive Bayesian classification method is used to classify the demand data accurately and quickly, and the college mental health teaching materials of interest are recommended to the students in need according to the category. In order to ensure the recommendation performance, improve the recommendation effect and meet the resource needs of users.


## 2. Data Recommendation System Based on Deep Learning

The existing technology includes content-based recommendation method, collaborative filtering recommendation method, rule-based recommendation method, utility-based recommendation method [13], and knowledge-based recommendation method [14]. Although the above methods can realize data recommendation to varying degrees, there are still some technical deficiencies in the single use process. The disadvantages of the recommended method are shown in Table 1.Table 1
Analysis of shortcomings of recommended methods.
Method typeShortcomingContent-based recommendationSparse problem is serious, complex attributes are difficult to deal with, and more classifiers are neededCollaborative filtering recommendationPoor scalability, poor recommendation quality at the beginning of the systemRule-based recommendationTime consuming, low degree of personalization, and complex problems for new usersUtility-based recommendationPoor flexibility and serious attribute overlapKnowledge-based recommendationKnowledge acquisition is difficult, and the recommendation method is static recommendationTherefore, when studying the recommendation method, this paper adopts a stacked denoising autoencoder (sdae) algorithm [15, 16], which integrates the limit learning machine into the noise reduction self-encoder stack with the help of the learning idea of layer by layer progressive and self-coding. Finally, a deep learning model of stack noise reduction self-coder based on extreme learning machine (ELM) calculation is formed [17, 18]. The algorithm also constitutes the mathematical modeling form of extreme learning machine (ELM). The stack noise reduction self-coder further calculates the collected teaching data affecting college mental health. In the learning process, further extract the sample features, image features, or text data features of the data to be learned [19], so as to further learn the received abstract sample data, and apply the learning results to the nearest neighbor algorithm for further prediction and scoring [20, 21]. Through this algorithm, we can actively search and find the information with high user interest from the massive database information and recommend the information to the users. It can effectively solve the problem of users’ personalized expression of information in the form of personalized information retrieval service.Based on the above description, this paper constructs an application architecture including input layer, model layer, output layer, and application layer. The recommendation system is shown in Figure1. In the input layer, various data information in the database are retrieved, such as university mental health teaching materials and psychology books. Then, the hybrid sdae recommendation model algorithm is used for calculation. After the calculation results are output, they are displayed in the form of recommendation list. By controlling these data in time, users can grasp the storage of college mental health teaching materials in time. The architecture is shown in Figure 1.Figure 1
Architecture diagram of recommended method analysis model.The recommendation model studied in this paper can fully consider the nonlinear characteristic changes of data, so the model has better stability in data output. However, the constructed data model also has a series of problems such as data sparsity [22] and cold start. The method proposed in this paper can better learn the different distribution characteristics of information data in the most perfect way.


## 3. Recommendation of College Mental Health Teaching Materials Based on Improved Deep Learning Algorithm

Based on the above theoretical analysis, this algorithm combines the collaborative filtering recommendation algorithm [23, 24] with the hybrid sdae recommendation model to mine the personalized demand information of college mental health teaching materials and then uses the Naive Bayesian classification method to realize the recommendation of college students’ mental health teaching materials.


### 3.1. Personalized Demand Information Mining Based on Improved Deep Learning Algorithm

The information of college mental health teaching materials for students’ personalized needs is determined according to the students’ interest in the materials [25]. Therefore, the interest of the materials can be effectively judged through the browsing records of students’ college mental health teaching materials.In the process of data learning, each resource includes the resource itself and resource profile at the same time. The interest degree of data is calculated according to the characteristics of the content. Based on collaborative filtering recommendation algorithm and hybrid sdae recommendation model, the interest of college mental health teaching materials is calculated [26]. Assuming that the total number of times students browse a certain material isa, the length of a single browsing ist, the total number of bytes isB. Before solving the students’ interest in the mental health teaching materials of the university, it is necessary to solve the browsing interest in the data content and profile [27], and then, the calculation formula of interest in the data content is
(1)Ka=η×α×∑i=1nTiaBa,where n represents the number of views, Tia represents the duration of the i browsing, and Ba represents the total number of content bytes.The calculation formula of interest is(2)Kb=β×∑i=1mTibBb,where m represents the number of views, Tib represents the duration of the i browse, and Bb represents the total number of introduction bytes.Data browsing interest is the sum of data content interest and data profile interest. The calculation formula is(3)K=Ka+Kb=η×α×∑i=1nTiaBa+β×∑i=1mTibBb,The student’s interest in the information resource is:(4)I=KN∑j=1NKj,where N represents the total number of college mental health teaching materials. When I≥1, it means interest; otherwise, it means no interest.Through the obtained interest, the university mental health teaching material information of students’ personalized needs is constructed, and the system classifies the materials according to the information.The similarity based on conditional probability is asymmetric. In order to avoid the limitation of data classification and further modify the classification similarity calculation, an optimized collaborative filtering information mining method based on improved conditional probability is designed. The interest between different categories is adjusted through parameterU, and the personalized demand information is obtained according to the category item similarity matrix Q:
(5)Zr=LU∗OR/DrRQL,where O is the category with high similarity, l is the number of recommendation sets, Dr is the classification item matrix, and R is the recommendation set of output target users. So far, personalized information demand mining has been completed.


### 3.2. Recommendation of College Mental Health Teaching Materials Based on Naive Bayes

Taking video teaching resources as an example, video resources are a new type of teaching resources formed by the gradual development of multimedia technology. At present, it is widely used in school teaching. First of all, because it can integrate a large number of teaching contents into video resources in a short time, its convenience and quickness are deeply loved by the majority of psychological educators. For example, by using video teaching resources in college students’ mental health education and teaching, students can learn and understand more mental health education knowledge through the character cases and events in video teaching. Secondly, video teaching resources are reusable. A typical teaching case can be reused, which greatly alleviates the work intensity of teachers and enables teachers to have more energy to provide individual counseling for students’ personal psychological problems. Teachers should carry out video teaching in order to improve the teaching effect. For example, at present, college students commit suicide frequently due to online loans and small loans, mainly because college students do not develop a good psychological quality and choose not to solve but to escape in the face of strong pressure, which leads to the frequent occurrence of suicide. Not only that, the number of college students committing suicide due to love is also rising year by year. In the final analysis, college students do not have good mental health quality. Therefore, teachers should show, make, and integrate relevant videos for students according to the psychological problems of college students and relevant cases that affect college students to establish good mental quality, so as to show the harm of college students’ bad psychology to students and the examples around them that can make students feel intuitively, solving students’ psychological obstacles.Therefore, the essence of automatic recommendation of college mental health teaching materials using personalized needs is to classify the materials according to the records of students’ seen materials. Therefore, the seen materials are set as a sample set for automatic classification of materials [28, 29]. Naive Bayes is a classification method with simple structure, accurate classification, fast operation, and stable performance [30]. Let the sample set be C, which contains x categories, then C=c1,c2,⋯,cm and y represent the attribute values contained in a single sample, then D=d1,d2,⋯,dn, the feature vector is E=e1,e2,⋯,en, and the posterior probability formula is
(6)KciE=Kci×KEciKE,where KE is a constant, representing all categories. According to the concept of maximum likelihood hypothesis, equation (6) is simplified as
(7)KciE=Kci×KEci.Using the personalized demand data information mined, the viewed data are divided intoc1 and c2 categories, which are interested and uninterested [31, 32], and the training set is constructed according to the extracted data resource feature vector. If the new university mental health teaching material F is not classified and described, its feature vector F=f1,f2,⋯,fn is constructed. Calculate the category probability of data F through equation (7). The formula for calculating the probability of belonging to category c1 is
(8)K1=Kc1F=Kc1×KFc1.The formula for calculating the probability of belonging to categoryc2 is
(9)K2=Kc2F=Kc2×KFc2.If the total amount of classc1 data resources is M1 and the total amount of class c2 data resources is M2, the a priori probability [33, 34] is divided into
(10)Kc1=1+M12+M1+M2,(11)Kc2=1+M22+M1+M2.Calculate the probability of classc1 and class c2, respectively, according to formula (10) and formula (11), namely,
(12)KFc1=∏i=1nKfic1=Kf1c1×Kf2c1×⋯×Kfnc1,KFc2=∏i=1nKfic2=Kf1c2×Kf2c2×⋯×Kfnc2,assuming that the total eigenvector of data F is G, the total number of occurrences of fi in c1 categories is HTfi,c1, and the total number of occurrences of fi in c2 categories is HTfi,c2. The calculation formulas of category attribution probability [35, 36] of data F are as follows:
(13)KFc1=1+HTfi,c1G+∑i=1GG,KFc2=1+HTfi,c2G+∑i=1GHTfi,c2.According to the calculated probability of interest of classc1 and class c2, if K2<K1, it means that students are interested in the material; otherwise, it is not interested. According to the judgment results, the system automatically recommends college mental health teaching materials with personalized needs to students.


## 3.1. Personalized Demand Information Mining Based on Improved Deep Learning Algorithm

The information of college mental health teaching materials for students’ personalized needs is determined according to the students’ interest in the materials [25]. Therefore, the interest of the materials can be effectively judged through the browsing records of students’ college mental health teaching materials.In the process of data learning, each resource includes the resource itself and resource profile at the same time. The interest degree of data is calculated according to the characteristics of the content. Based on collaborative filtering recommendation algorithm and hybrid sdae recommendation model, the interest of college mental health teaching materials is calculated [26]. Assuming that the total number of times students browse a certain material isa, the length of a single browsing ist, the total number of bytes isB. Before solving the students’ interest in the mental health teaching materials of the university, it is necessary to solve the browsing interest in the data content and profile [27], and then, the calculation formula of interest in the data content is
(1)Ka=η×α×∑i=1nTiaBa,where n represents the number of views, Tia represents the duration of the i browsing, and Ba represents the total number of content bytes.The calculation formula of interest is(2)Kb=β×∑i=1mTibBb,where m represents the number of views, Tib represents the duration of the i browse, and Bb represents the total number of introduction bytes.Data browsing interest is the sum of data content interest and data profile interest. The calculation formula is(3)K=Ka+Kb=η×α×∑i=1nTiaBa+β×∑i=1mTibBb,The student’s interest in the information resource is:(4)I=KN∑j=1NKj,where N represents the total number of college mental health teaching materials. When I≥1, it means interest; otherwise, it means no interest.Through the obtained interest, the university mental health teaching material information of students’ personalized needs is constructed, and the system classifies the materials according to the information.The similarity based on conditional probability is asymmetric. In order to avoid the limitation of data classification and further modify the classification similarity calculation, an optimized collaborative filtering information mining method based on improved conditional probability is designed. The interest between different categories is adjusted through parameterU, and the personalized demand information is obtained according to the category item similarity matrix Q:
(5)Zr=LU∗OR/DrRQL,where O is the category with high similarity, l is the number of recommendation sets, Dr is the classification item matrix, and R is the recommendation set of output target users. So far, personalized information demand mining has been completed.


## 3.2. Recommendation of College Mental Health Teaching Materials Based on Naive Bayes

Taking video teaching resources as an example, video resources are a new type of teaching resources formed by the gradual development of multimedia technology. At present, it is widely used in school teaching. First of all, because it can integrate a large number of teaching contents into video resources in a short time, its convenience and quickness are deeply loved by the majority of psychological educators. For example, by using video teaching resources in college students’ mental health education and teaching, students can learn and understand more mental health education knowledge through the character cases and events in video teaching. Secondly, video teaching resources are reusable. A typical teaching case can be reused, which greatly alleviates the work intensity of teachers and enables teachers to have more energy to provide individual counseling for students’ personal psychological problems. Teachers should carry out video teaching in order to improve the teaching effect. For example, at present, college students commit suicide frequently due to online loans and small loans, mainly because college students do not develop a good psychological quality and choose not to solve but to escape in the face of strong pressure, which leads to the frequent occurrence of suicide. Not only that, the number of college students committing suicide due to love is also rising year by year. In the final analysis, college students do not have good mental health quality. Therefore, teachers should show, make, and integrate relevant videos for students according to the psychological problems of college students and relevant cases that affect college students to establish good mental quality, so as to show the harm of college students’ bad psychology to students and the examples around them that can make students feel intuitively, solving students’ psychological obstacles.Therefore, the essence of automatic recommendation of college mental health teaching materials using personalized needs is to classify the materials according to the records of students’ seen materials. Therefore, the seen materials are set as a sample set for automatic classification of materials [28, 29]. Naive Bayes is a classification method with simple structure, accurate classification, fast operation, and stable performance [30]. Let the sample set be C, which contains x categories, then C=c1,c2,⋯,cm and y represent the attribute values contained in a single sample, then D=d1,d2,⋯,dn, the feature vector is E=e1,e2,⋯,en, and the posterior probability formula is
(6)KciE=Kci×KEciKE,where KE is a constant, representing all categories. According to the concept of maximum likelihood hypothesis, equation (6) is simplified as
(7)KciE=Kci×KEci.Using the personalized demand data information mined, the viewed data are divided intoc1 and c2 categories, which are interested and uninterested [31, 32], and the training set is constructed according to the extracted data resource feature vector. If the new university mental health teaching material F is not classified and described, its feature vector F=f1,f2,⋯,fn is constructed. Calculate the category probability of data F through equation (7). The formula for calculating the probability of belonging to category c1 is
(8)K1=Kc1F=Kc1×KFc1.The formula for calculating the probability of belonging to categoryc2 is
(9)K2=Kc2F=Kc2×KFc2.If the total amount of classc1 data resources is M1 and the total amount of class c2 data resources is M2, the a priori probability [33, 34] is divided into
(10)Kc1=1+M12+M1+M2,(11)Kc2=1+M22+M1+M2.Calculate the probability of classc1 and class c2, respectively, according to formula (10) and formula (11), namely,
(12)KFc1=∏i=1nKfic1=Kf1c1×Kf2c1×⋯×Kfnc1,KFc2=∏i=1nKfic2=Kf1c2×Kf2c2×⋯×Kfnc2,assuming that the total eigenvector of data F is G, the total number of occurrences of fi in c1 categories is HTfi,c1, and the total number of occurrences of fi in c2 categories is HTfi,c2. The calculation formulas of category attribution probability [35, 36] of data F are as follows:
(13)KFc1=1+HTfi,c1G+∑i=1GG,KFc2=1+HTfi,c2G+∑i=1GHTfi,c2.According to the calculated probability of interest of classc1 and class c2, if K2<K1, it means that students are interested in the material; otherwise, it is not interested. According to the judgment results, the system automatically recommends college mental health teaching materials with personalized needs to students.


## 4. Experimental Analysis

### 4.1. Setting Up Experimental Environment

The experiment uses floyhub as the training and recommendation effect test platform. The test environment includes a server and multiple computer devices. The configuration of the hardware and software environment of the experimental environment is shown in Table2.Table 2
Experimental environment parameter configuration.
Equipment nameHardware configurationSoftware programOperating systemComputerCPU: Intel CoRE m3-7Y30, 1.00 GHzMemory:4GBPython 3.5.2Anaconda 5.0.0Windows XP 64 positionThe serverCPU: Intel CoRE i7-6700HQ, 260 GHzMemory:16 GBGPU:NVIDIA GeForce GTX 960 MDisplay memory:2GBPython 3.5.2Anaconda 5.0.0Database: MySQL community server 5.7.25Ubuntu 16.04 LTSIn addition, due to the application of knowledge map and deep learning algorithm in the recommended method of college mental health teaching materials, it is necessary to embed the corresponding running program plug-ins on the basis of the experimental environment to ensure the cooperative operation of the two technologies.


### 4.2. Preparation of Mental Health Data Samples

The resource data samples used in the experiment can be provided by multiple university libraries. In addition, web crawlers can be used to obtain the resource sample data of academic papers, academic conferences, and other types in multiple academic and teaching networks. The prepared resource data samples include Chinese and English. After analysis and unification, the experimental data samples are obtained, as shown in Table3.Table 3
Mental health data sample.
Resource typeBooksPatentConference papersAcademic papersAcademic newsNumber of Chinese and English samples7004528621792436607846985110520Number of samples selected for experiment3252443643721256635405627480Number of authors involved57456246875425497435762357568Number of cited papers11439156269765213765152478Reference relation94973159578254162381785624Time span2015-20202017-20202014-20202009-20212015-2021Update modeUpdated weeklyUpdated twice a weekUpdated twice a dayReal time updateReal time updateIn addition, 100458 comment records and behavior records were imported into the experimental environment. Upload all the prepared resource data samples to the experimental environment, and select the methods of literature [6] and literature [7] as the comparison method for the following tests.


### 4.3. Establishment of Evaluation Indicators

In order to ensure the accuracy of recommendation ranking of recommendation algorithm, it is necessary to measure the correlation between recommendation elements and judge the ranking quality of recommendation algorithm according to the position of recommendation results, so as to obtain the index to measure the recall rate of recommendation algorithm. The calculation formula is as follows.(14)H=QKGT,where GT is the positive example of all test sets and QK is the comprehensive number of test sets of the first K mental health teaching materials in the database. When the number of mental health teaching materials browsed by several browsing users in the test set is 10, 11, and 12, respectively, there are 7, 8, and 9 books in the recommendation list arranged by the recommendation algorithm in the test set. At this time, the value of the index measuring the recall rate of the recommendation algorithm is 7+8+9/10+11+12≈0.73. The closer the index is to 1, the more accurate the recommendation algorithm is.


### 4.4. Analysis of Experimental Results

Let the training data set be the negative sample in the experiment, and the positive sample is the browsing mental health teaching material record of the browsing user. According to the browsing volume of individual users, randomly select from the nonbrowsed mental health teaching material information. After 15 rounds of iteration, calculate the index size of the sampling data set according to the positive and negative samples with a ratio of 1 : 1, as shown in Figure2.Figure 2
Recommended recall rate with positive and negative sample ratio of 1 : 1.By analyzing the data in Figure2, it can be seen that the recommended recall rate of the recommendation algorithm based on optimized clustering is 0.42 at the lowest when the number of negative samples is 1 and then increases with the increase of the number of negative samples, with the highest recommended recall rate of 0.62. The highest recall rate of the method in literature [6] is 0.44, and the highest recall rate of the method in literature [7] is 0.44, which is lower than that of this method, which proves that the recommendation effect of the recommendation algorithm based on optimized clustering proposed in this paper is more accurate.The number of target recommended contents is set to 500. The methods of literature [6], literature [7], and this paper are used to recommend to the target group, respectively. The completion time of 500 recommended contents by the three methods is counted to verify the complexity of different algorithms, as shown in Figure 3.Figure 3
Recommended time.By analyzing the data in Figure3, it can be seen that the maximum recommendation time of the recommendation algorithm based on optimized clustering is 4.5 min, the maximum recommendation time of the method in literature [6] is 5.8 min, and the maximum recommendation time of the method in literature [7] is 5.5 min. It can be seen that the recommendation algorithm based on optimized clustering proposed in this paper has the least recommendation time, lower complexity, and higher recommendation efficiency. The data set is used to compare the recall and precision of data information. The experimental results are shown in Figure 4.Figure 4
Schematic diagram of experimental comparison.
(a)
Data automatic recommendation recall(b)
Data automatic recommendation precisionAs can be seen from Figure4, compared with the two comparison methods, the recall rate and precision rate of this method are the highest. The results show that the average recall rate of this method is 95.18%, which is 17.52% and 11.11% higher than that of literature [6] and literature [7], respectively. The average precision rate is 97.2%, which is 25.6% and 8.51% higher than that of literature [6] and literature [7], respectively. It shows that this method has a strong ability of personalized automatic recommendation of college mental health teaching materials.For the college mental health teaching materials recommended by the system, students are usually more likely to accept the top contents in the recommendation list. Therefore, the top 16 recommendation materials are used for analysis and evaluation, and the average ranking degree is used for the comparative experiment of recommendation accuracy. The experimental results are shown in Figure5.Figure 5
Schematic diagram of recommended accuracy comparison experiment results.It can be seen from Figure5 that with the increase of the number of materials in the recommendation list, the average ranking degree of the three recommendation systems gradually increases, resulting in the continuous decline of the accuracy of data recommendation. Although the average ranking degree of the method in this paper shows a slight downward trend, compared with the methods in literature [6] and literature [7], the automatic recommendation accuracy of college mental health teaching materials by this method is the highest, which shows that this method can effectively recommend college mental health teaching materials with personalized needs for students.At present, the society is in a diversified era, and students should receive information containing diversified elements. The teaching contents recommended by the system cannot be single but need to be diverse and novel, which not only meets the needs of students for knowledge but also conforms to the development of the times. A comparative experiment is carried out with the richness of the content of college mental health teaching materials automatically recommended by the system. The results are shown in Figure6.Figure 6
Schematic diagram of multidirectional comparison of recommended data.It can be seen from Figure6 that with the increase of the number of recommended list materials, the richness of the recommended contents of the three methods shows an upward trend. When the number of recommended materials is small, the difference in the richness of the data content is not obvious. With the gradual increase of the data content, the difference in the richness is more and more obvious. The results show that the highest content richness recommended by the method of literature [6] is 0.65, and the highest content richness recommended by the method of literature [7] is 0.68, while the content richness of the university mental health teaching materials recommended by this method is 0.8, which has the richest content, which is more in line with the current needs of students for diversified knowledge.A good system should not only have good applicability but also have strong operability. A comparative experiment on the operation stability of the system itself is carried out for the three methods. The experimental results are shown in Figure7.Figure 7
Schematic diagram of system stability comparison results.It can be seen from Figure7 that the operation stability of the three methods changes differently with the increase of college mental health teaching materials. When the number of materials in this method is about 400, the stability coefficient is the highest, which is 1.06. Before outputting 450 materials, it has maintained a relatively stable state with small fluctuation. The maximum stability coefficients of the two comparison methods are only 0.73 and 0.65, respectively, and the fluctuation is relatively large during operation. This shows that the recommendation method of college mental health teaching materials in this paper has the best operation stability.All the subjects were divided into three groups on average, and the experience operations of the three methods were carried out, respectively. The main statistics were the students’ evaluation on the applicability of the system, recommendation satisfaction, operation convenience, and content integrity. The evaluation results are shown in Figure8.Figure 8
Schematic diagram of survey results of system praise rate.It can be seen from Figure8 that the method in this paper has obtained the best evaluation in all aspects. The overall average praise rate is 97.79%, the praise rate of literature [6] method is 93.32%, and the praise rate of literature [7] method is 93.75%, which is 4.47% and 4.04% higher than that of literature [6] method and literature [7] method, respectively. Experiments show that this method has good effect in practical application, high student satisfaction, and higher practical application value.


## 4.1. Setting Up Experimental Environment

The experiment uses floyhub as the training and recommendation effect test platform. The test environment includes a server and multiple computer devices. The configuration of the hardware and software environment of the experimental environment is shown in Table2.Table 2
Experimental environment parameter configuration.
Equipment nameHardware configurationSoftware programOperating systemComputerCPU: Intel CoRE m3-7Y30, 1.00 GHzMemory:4GBPython 3.5.2Anaconda 5.0.0Windows XP 64 positionThe serverCPU: Intel CoRE i7-6700HQ, 260 GHzMemory:16 GBGPU:NVIDIA GeForce GTX 960 MDisplay memory:2GBPython 3.5.2Anaconda 5.0.0Database: MySQL community server 5.7.25Ubuntu 16.04 LTSIn addition, due to the application of knowledge map and deep learning algorithm in the recommended method of college mental health teaching materials, it is necessary to embed the corresponding running program plug-ins on the basis of the experimental environment to ensure the cooperative operation of the two technologies.


## 4.2. Preparation of Mental Health Data Samples

The resource data samples used in the experiment can be provided by multiple university libraries. In addition, web crawlers can be used to obtain the resource sample data of academic papers, academic conferences, and other types in multiple academic and teaching networks. The prepared resource data samples include Chinese and English. After analysis and unification, the experimental data samples are obtained, as shown in Table3.Table 3
Mental health data sample.
Resource typeBooksPatentConference papersAcademic papersAcademic newsNumber of Chinese and English samples7004528621792436607846985110520Number of samples selected for experiment3252443643721256635405627480Number of authors involved57456246875425497435762357568Number of cited papers11439156269765213765152478Reference relation94973159578254162381785624Time span2015-20202017-20202014-20202009-20212015-2021Update modeUpdated weeklyUpdated twice a weekUpdated twice a dayReal time updateReal time updateIn addition, 100458 comment records and behavior records were imported into the experimental environment. Upload all the prepared resource data samples to the experimental environment, and select the methods of literature [6] and literature [7] as the comparison method for the following tests.


## 4.3. Establishment of Evaluation Indicators

In order to ensure the accuracy of recommendation ranking of recommendation algorithm, it is necessary to measure the correlation between recommendation elements and judge the ranking quality of recommendation algorithm according to the position of recommendation results, so as to obtain the index to measure the recall rate of recommendation algorithm. The calculation formula is as follows.(14)H=QKGT,where GT is the positive example of all test sets and QK is the comprehensive number of test sets of the first K mental health teaching materials in the database. When the number of mental health teaching materials browsed by several browsing users in the test set is 10, 11, and 12, respectively, there are 7, 8, and 9 books in the recommendation list arranged by the recommendation algorithm in the test set. At this time, the value of the index measuring the recall rate of the recommendation algorithm is 7+8+9/10+11+12≈0.73. The closer the index is to 1, the more accurate the recommendation algorithm is.


## 4.4. Analysis of Experimental Results

Let the training data set be the negative sample in the experiment, and the positive sample is the browsing mental health teaching material record of the browsing user. According to the browsing volume of individual users, randomly select from the nonbrowsed mental health teaching material information. After 15 rounds of iteration, calculate the index size of the sampling data set according to the positive and negative samples with a ratio of 1 : 1, as shown in Figure2.Figure 2
Recommended recall rate with positive and negative sample ratio of 1 : 1.By analyzing the data in Figure2, it can be seen that the recommended recall rate of the recommendation algorithm based on optimized clustering is 0.42 at the lowest when the number of negative samples is 1 and then increases with the increase of the number of negative samples, with the highest recommended recall rate of 0.62. The highest recall rate of the method in literature [6] is 0.44, and the highest recall rate of the method in literature [7] is 0.44, which is lower than that of this method, which proves that the recommendation effect of the recommendation algorithm based on optimized clustering proposed in this paper is more accurate.The number of target recommended contents is set to 500. The methods of literature [6], literature [7], and this paper are used to recommend to the target group, respectively. The completion time of 500 recommended contents by the three methods is counted to verify the complexity of different algorithms, as shown in Figure 3.Figure 3
Recommended time.By analyzing the data in Figure3, it can be seen that the maximum recommendation time of the recommendation algorithm based on optimized clustering is 4.5 min, the maximum recommendation time of the method in literature [6] is 5.8 min, and the maximum recommendation time of the method in literature [7] is 5.5 min. It can be seen that the recommendation algorithm based on optimized clustering proposed in this paper has the least recommendation time, lower complexity, and higher recommendation efficiency. The data set is used to compare the recall and precision of data information. The experimental results are shown in Figure 4.Figure 4
Schematic diagram of experimental comparison.
(a)
Data automatic recommendation recall(b)
Data automatic recommendation precisionAs can be seen from Figure4, compared with the two comparison methods, the recall rate and precision rate of this method are the highest. The results show that the average recall rate of this method is 95.18%, which is 17.52% and 11.11% higher than that of literature [6] and literature [7], respectively. The average precision rate is 97.2%, which is 25.6% and 8.51% higher than that of literature [6] and literature [7], respectively. It shows that this method has a strong ability of personalized automatic recommendation of college mental health teaching materials.For the college mental health teaching materials recommended by the system, students are usually more likely to accept the top contents in the recommendation list. Therefore, the top 16 recommendation materials are used for analysis and evaluation, and the average ranking degree is used for the comparative experiment of recommendation accuracy. The experimental results are shown in Figure5.Figure 5
Schematic diagram of recommended accuracy comparison experiment results.It can be seen from Figure5 that with the increase of the number of materials in the recommendation list, the average ranking degree of the three recommendation systems gradually increases, resulting in the continuous decline of the accuracy of data recommendation. Although the average ranking degree of the method in this paper shows a slight downward trend, compared with the methods in literature [6] and literature [7], the automatic recommendation accuracy of college mental health teaching materials by this method is the highest, which shows that this method can effectively recommend college mental health teaching materials with personalized needs for students.At present, the society is in a diversified era, and students should receive information containing diversified elements. The teaching contents recommended by the system cannot be single but need to be diverse and novel, which not only meets the needs of students for knowledge but also conforms to the development of the times. A comparative experiment is carried out with the richness of the content of college mental health teaching materials automatically recommended by the system. The results are shown in Figure6.Figure 6
Schematic diagram of multidirectional comparison of recommended data.It can be seen from Figure6 that with the increase of the number of recommended list materials, the richness of the recommended contents of the three methods shows an upward trend. When the number of recommended materials is small, the difference in the richness of the data content is not obvious. With the gradual increase of the data content, the difference in the richness is more and more obvious. The results show that the highest content richness recommended by the method of literature [6] is 0.65, and the highest content richness recommended by the method of literature [7] is 0.68, while the content richness of the university mental health teaching materials recommended by this method is 0.8, which has the richest content, which is more in line with the current needs of students for diversified knowledge.A good system should not only have good applicability but also have strong operability. A comparative experiment on the operation stability of the system itself is carried out for the three methods. The experimental results are shown in Figure7.Figure 7
Schematic diagram of system stability comparison results.It can be seen from Figure7 that the operation stability of the three methods changes differently with the increase of college mental health teaching materials. When the number of materials in this method is about 400, the stability coefficient is the highest, which is 1.06. Before outputting 450 materials, it has maintained a relatively stable state with small fluctuation. The maximum stability coefficients of the two comparison methods are only 0.73 and 0.65, respectively, and the fluctuation is relatively large during operation. This shows that the recommendation method of college mental health teaching materials in this paper has the best operation stability.All the subjects were divided into three groups on average, and the experience operations of the three methods were carried out, respectively. The main statistics were the students’ evaluation on the applicability of the system, recommendation satisfaction, operation convenience, and content integrity. The evaluation results are shown in Figure8.Figure 8
Schematic diagram of survey results of system praise rate.It can be seen from Figure8 that the method in this paper has obtained the best evaluation in all aspects. The overall average praise rate is 97.79%, the praise rate of literature [6] method is 93.32%, and the praise rate of literature [7] method is 93.75%, which is 4.47% and 4.04% higher than that of literature [6] method and literature [7] method, respectively. Experiments show that this method has good effect in practical application, high student satisfaction, and higher practical application value.


## 5. Conclusion

With the continuous progress of the concept of education and teaching, the traditional teaching method based on teachers’ antiaspect explanation of knowledge has not been adapted to the development of education and teaching. Especially in the classroom of students’ mental health education, it not only reduces students’ interest in learning but also makes students feel boring with a single explanation, which is difficult to produce spiritual perception and cannot obtain the expected teaching effect. If different types of teaching materials are used in teaching to guide and inspire students, it will play a positive role in improving teaching effect and students’ interest in listening to classes. This paper proposes a recommendation method of college mental health teaching materials based on the improved deep learning algorithm. Through comparison and verification, it is proved that the longest recommendation time of the proposed method is 4.5 min, the average recall rate is 95.18%, the average precision rate is 97.2%, the highest content richness is 0.8, the system stability coefficient is 1.06, and the overall average praise rate is 97.79%. It has the practical application performance of plus sign.In the field of deep learning technology, the construction of recommendation system is based on information filtering and information retrieval technology to provide functions suitable for different personalized information needs for different users. This paper realizes the improvement of deep learning by constructing a collaborative filtering recommendation algorithm mixed with sdae and time average model. The sdae recommendation model algorithm adopts the idea of layer-by-layer self-coding. This paper makes an in-depth study on this problem, which lays a deep theoretical foundation for the further research and application based on recommendation learning system.



---

*Source: 5184221-2022-06-08.xml*