AMethod of Recommending Physical Education Network Course Resources Based on Collaborative Filtering Technology

'rough the current research on e-learning, it is found that the present e-learning system applied to the recommendation activities of learning resources has only two search methods: Top-N and keywords. 'ese search methods cannot effectively recommend learning resources to learners. 'erefore, the collaborative filtering recommendation technology is applied, in this paper, to the process of personalized recommendation of learning resources. We obtain user content and functional interest and predict the comprehensive interest of web and big data through an infinite deep neural network. Based on the collaborative knowledge graph and the collaborative filtering algorithm, the semantic information of teaching network resources is extracted from the collaborative knowledge graph. According to the principles of the nearest neighbor recommendation, the course attribute value preference matrix (APM) is obtained first. Next, the course-predicted values are sorted in descending order, and the top Tcourses with the highest predicted values are selected as the final recommended course set for the target learners. Each course has its own online classroom; the teacher will publish online class details ahead of time, and students can purchase online access to the classroom number and password. 'e experimental results show that the optimal number of clusters k is 9. Furthermore, for extremely sparse matrices, the collaborative filtering technique method is more suitable for clustering in the transformed lowdimensional space.'e average recommendation satisfaction degree of collaborative filtering technologymethod is approximately 43.6%, which demonstrates high recommendation quality.


Introduction
e Internet era, supported by big data and Internet of things, is a period of rapid development within the domain of knowledge and information curriculum resources. e curriculum resources for sports health and rehabilitation are also more abundant and diverse [1]. Reasonable, scientific, and effective integration and utilization of curriculum resources are bound to be beneficial to the improvement of the construction level of sports health and rehabilitation. erefore, it is very important to attribute reputation to sport health and rehabilitation and strengthen their integration with curriculum resources [2]. From the perspective of the composition of general curriculum resources, this includes mainly four main parts: (a) teacher team; (b) students; (c) teaching materials; and (d) social resources [3].
With the popularization of the Internet, traditional training schools began turning to the front in 2000, and online learning tools, platforms, and content began emerging in large numbers. "Smart Education" was proposed by Peng et al. in a speech in 2008. Around 2012, online learning ushered in a spurt of growth and professional online learning platforms were born in large numbers, mainly Internet companies (e.g., Ape Guidance, Job Gang, and VIPKID), with diversified content formats. In 2020, due to the impact of the new crown pneumonia epidemic, that is, COVID-19, all universities and education institutes across the country and globe have started online learning management systems [4]. Moreover, employers in various industries also start working from home. Since then, China's online learning began to enter the world stage [5]. Sheshasaayee et al. conducted an in-depth study of the Moodle learning management system in 2017. Moodle not only provides rich learning resources but also has a learning record tracking function, allowing lecturers to freely choose the teaching mode according to the actual situation of the learner. At the same time, learners can also choose courses freely to achieve the purpose of personalized teaching [6]. Jones et al. studied the impact of the Knewton-based adaptive learning recommendation engine on learning effects in 2018.
e Knewton platform provides powerful functions for learners and classroom-related analysis data to predict their future performance, enabling lecturers to achieve differentiated education based on individuals. Learners obtain personalized curriculum recommendations through systematic analysis and assessment of knowledge and ability, which provides the possibility to realize automated and personalized learning [7]. CIRCSIIVI-Tutor of the University of Illinois in the United States can support personalized services for distance online education and can help to solve learners' problems by establishing an intelligent system based on language dialogs. is paper proposes a method for recommending physical education network course resources based on collaborative filtering technology. e user-based collaborative filtering method is a way to find out similar neighbors of the target user by calculating the similarity between user behavior and other user behavior (ratings, comments, etc.). en, the interest or preference of the target user is predicted based on the interest or preference of similar neighbors to provide the user with suggestions. is article introduces an optimized theoretical model, a better collaborative filtering technology for a personalized recommendation of physical education online course resources. e proposed method pays attention to discussing the structure of the model and the implementation of the corresponding scoring mechanism and algorithm and analyzes the three important technologies in the personalized learning resource recommendation model. It is observed that e-learning-related personnel can effectively use collaborative filtering technology in the search process, to improve the efficiency of the personalized recommendation system of learning resources. e principal contributions of our research are highlighted as follows: We design a novel method for recommending physical education network course resources based on collaborative filtering technology User-based collaborative filtering is to find out the similar neighbors of the target user by calculating the similarity between user behavior and other user behavior pay attention to discussing the structure of the model and the implementation of the corresponding scoring mechanism and algorithm and analyze the three important technologies in the personalized learning resource recommendation model e rest of the paper is organized as follows: in Section 2, we briefly discuss the related literature review in terms of collaborative filtering technology. In Section 3, physical education teaching network course resource recommendations are described. In Section 4, we describe the experimental study and results analysis. Finally, Section 5 illustrates the final thoughts and several directions for future research and investigation.

Collaborative Filtering Technology
In this section, we offer an overview of the basic terminologies including calculation of content, functional interests, and prediction of the interest degree.

Content Interest Calculation.
e number of views can reflect the user's degree of interest in different data. Assume that the user u interest in Web big data O increases as the number of times that O is viewed by other users increases, and at the same time, it shows an inversely decreasing trend with the frequency of browsing. en, you can use the TF-IDF algorithm, combined with the number of browsing times to obtain the user's interest in big data [8].
TF-IDF is an algorithm for estimating the importance of words to a document in a document collection. It can predict the importance of a target in a dimensional space. Assuming that any user in the recommendation system is regarded as a document, the big data browsed by the user is a certain vocabulary in the document, and the user's preference for the data is obtained according to the number of occurrences of the vocabulary. e reference assumes that, in the recommendation system, there is a set u′ � u 1 ′ , u 2 ′ , . . . , u x ′ with χ users and a set δ with o ′ � o 1 ′ , o 2 ′ , . . . , o δ ′ big data. e number of times the user u ′ i′ views the data o ′ j′ is R i′,j′ , and the importance of the web data to the user is calculated by the word frequency TF χ,δ : Here, k∈0 R i′,j′ represents the sum of the number of times the user browses all the data in the collection [9]. If the number of users who have viewed the data o ′ j′ is represented as χ oj , the importance of the data o ′ j′ to all users can be obtained by the reverse document frequency I DF oj : erefore, the definition formula of the user's interest in the data content is obtained: e interest degree values of the user u ′ i′ for all the data 1 , C x,2 , . . . , C x,m ).

Functional Interest Calculation.
ere are big differences in the number of users browsing different types of data. e number of views can be increased indefinitely. At the same time, users are not necessarily uninterested in data with zero views, and they may have no experience in using it [10]. To reflect the user's interest more scientifically through the number of views and avoid mass information annihilating the user's interest in other data. is article defines an initial value for the data that the user has not browsed and introduces the Sigmoid function to standardize the number of browsing times to obtain the user's interest in the data function.
e Sigmoid function is a common S -type function, and its definition is as follows: is function is continuous, smooth, and monotonic and its value range is (0, 1), and it is symmetric about the center of (0, 0.5), which is a threshold function with better performance. In the interval −∞, 0, the nonlinear growth trend of the block after the slowness appears, and the growth trend of the 0, +∞ in the interval is fast first and then slow.
In the recommendation system, the calculation formula for the functional interest Fi′j′ ′ of the user u ′ i′ to the data o ′ j′ is as follows: e value of formula (5) is in the range of 0, 1, which shows a nonlinear and monotonous increasing trend with the increase of the number of browsing. R ′ i′ indicates the average number of times the user u ′ i′ views all the data viewed.
is formula more intuitively reflects the user's interest, and in the Ri′j′ ′ � 0 situation, defines the initial value for the functional interest.
From formula (5), it can be concluded that the functional interest degree of the user u ′ i′ for all the data in

Prediction of the Comprehensive Value of Interest Degree.
After obtaining the user content and functional interest, select the top ϕ users with the highest similarity to the target user u ′ a′ to form the nearest neighbor set G a′ , and use the following formula to predict the interest of the target user u ′ a′ in the target data o ′ q′ : (6) Here, F ′ a′ is the average functional interest of the target user for browsing all the data. After predicting the comprehensive interest of Web big data through the infinite depth neural network, the last λ big data items can be collaboratively filtered according to the predicted value.

Physical Education Teaching Network Course Resource Recommendation
Collaborative filtering is also called social filtering. e userbased collaborative filtering algorithm is mainly divided into two steps: (1) Find a collection of users with similar interests to the target user.
(2) Find items that are liked by the users in this collection and recommended to the target users that they have not heard of. e user-based collaborative filtering algorithm is only suitable for systems with few users. If there are many users, the cost of calculating the user interest similarity matrix will become very high. e increase in the space complexity and time complexity of the operation and the increase in the number of users are like the square relationship [11]. e recommendation result of this algorithm will not be updated immediately with the user's new behavior, and it is difficult to provide a convincing recommendation explanation to the user.
Based on the collaborative knowledge graph, personalized recommendations are made to network resources. In the network resources, knowledge points are distributed on different web pages. e directed acyclic graph is set as Here, V represents the collection of all knowledge in the knowledge graph while E represents the collection of relationships between different knowledge points in V, which are mainly divided into two different states, connected and disconnected.
e calculation formula of individual contribution value of network resource knowledge is given as follows: At this stage, the centrality calculation formula is a relatively common research method through the degree value of the node, starting from multiple solution angles, and fully reflecting the centrality between each node [12]. Related research results show that the centrality of network resources is the result of the interaction and contribution of the knowledge graph. e specific calculation method of centrality is given as follows: Here, I i represents the centrality of each knowledge point; δ represents the contribution value of different knowledge points; α represents the evaluation coefficient; and c represents the evaluation coefficient.
For different learning resources, it can be expressed as If TF is set to represent word frequency, the calculation formula for TF is as follows: Here, n ij represents the number of times the network resource appears in the text.

Scientific Programming
Set I DF to represent the frequency of reverse documents. e main idea is the less the number of documents containing a word, the higher the ability of this word to distinguish between documents. e specific calculation formula is given as follows: Here, |D| represents the total number of documents in network resources and |j: e i ∈ d j | represents the number of documents contained in the word and adding 1 to the denominator is mainly to prevent the occurrence of 0 [13].
To improve the data processing speed of the entire algorithm, all experimental data need to be initialized and normalized. e following specific calculation formulas are given: At the same time, the entity and relationship vectors are normalized and the following calculation formula can be obtained: Based on the above analysis, the quantitative representation method of the items in the knowledge graph and the collaborative filtering algorithm are combined, and the semantic information of the network resources is extracted from the collaborative knowledge graph to achieve the personalized recommendation of the network resources [14].
Since the newly registered user in the course selection system has no record of course selection, they cannot directly use the collaborative filtering algorithm to find similar neighbors to recommend personalized course selection for them. Here, we adopt the nearest neighbor recommendation based on the attribute value preference matrix. e major two prerequisites' steps are as follows: (1) e user has filled in basic information, such as name, student ID, and major, and the learning style measurement scale when registering. (2) e system automatically generates a student model based on the user's registration information and learning style and converts the model into a vector space model. With this premise, the algorithm flow of the recommendation engine is as follows: APM � P(u, 1 [1]) P(u, 2[1]) · · · P(u, t [1]) P(u, 1 [2]) P(u, 2 [2]) · · · P(u, t [2]) (1) According to the student model and the course selection record database, generate a student-course selection matrix of order R(m × n) for each student in the student space (if the student has taken the course, then the score of the course is set to 1; otherwise it is 0). (2) Use the cosine similarity formula (14) to calculate the similarity between the target learner u and any learner v in the student space. By calculating the similarity, the first several learners with the largest similarity are taken as the initial neighbor set IniSet(u) of the standard learner u. Determine the size of IniSet(u) according to the number of learners in the student space and the corresponding ratio. At the same time, it is necessary to ensure k ≪ n, which can reduce the time complexity of the algorithm, thereby improving the real-time performance of the algorithm.

(3) Generate a new student-course selection matrix R'
based on the initial neighbor set of the target learner and the target learner u generated in the second step. (4) According to the course selection record database, map the courses taken by the target learner from the course information e attributes of the courses in the course selection system will be automatically converted into the corresponding course model after uploading the course, and the course attributes will be stored in the course database. e course information table is shown in Table 1. (5) Based on the attribute value preference matrix APM generated in the fourth step, the similarity formula is used to calculate the similarity between the target learner u and other students in the student space. e similarity formula is as follows: Here, ‖A u,v ‖ represents the size of the collective score attribute value set of learner u and learner v; learner u's score for the i-th attribute is expressed as R u,i ; and the value should be less than ‖A u,v ‖. (6) Sort the similarity between the target learner and other learners in descending order. Intercept the first k learners with the largest similarity as the nearest neighbors of the target learner; store them in the nearest neighbor set U(U � u 1 , u 2 , . . . , u k ) of the target learner, and the U set does not contain u. (7) Find out which courses they have taken from the set U of the nearest neighbors of the target learners and store them in the set IU. en, delete the courses that the target learner has taken from the set IU, and the remaining courses can be used as the recommended set of elective courses for the target learner C can . (8) Suppose the number of items in C can is Q, and the number of recommended courses is T; then, when Q ≤ T, C can is directly used as the recommended set C rec ; when Q > T, first use the prediction formula (17) to calculate the target learner's prediction value for the courses in the recommendation set C can . en, the predicted value is sorted in descending order, and the top T courses with the highest predicted value are selected as the final recommended course set C rec for the target learner.

Results and Analysis of Data Experiments on the Resources of the Network Courses of Physical Education.
A data set of physical education online course resources on a certain platform is used here, and users with less than 20 clicks are deleted based on the data set to form 1,486 users' browsing information on 1,430 pages. Randomly extract 1,250 records from this data set and divide them into 1000 training sets and 50 test sets (divided into 5 groups of current users). To test the prediction quality under different amounts of information, each group of visible user interests is randomly selected. e number of visible interest pages of the user is from 5 to 20 pages, named Given5～Given20, respectively. e sparsity level ψ gl of this data set is as follows: It can be observed that this data set is sparser than the MovienLens data set (ψ ml � 0.9369) and belongs to the severe sparse level. e test environment and system's characteristics are shown in Table 2.

Evaluation Index.
To further evaluate the effect and accuracy of the recommendation, the recommendation system can also use three commonly used evaluation indicators in the field of information retrieval as the standard to measure the recommendation effect, namely, Precision, Recall and F1 value. e data set is divided into a training set and a test set. e model of the recommendation algorithm is learned and parameter adjusted on the training set; then, the recommendation result is calculated on the test set to obtain the evaluation result: (1) Precision: the proportion of recommended pages (hit) that are correctly identified in the Top-N recommendation set: (2) Recall rate (recall): the proportion of recommended pages (hit) that are correctly identified in all test sets: (3) F 1 -measure: an indicator that integrates the above two evaluation indicators. Considering that the accuracy and recall rates of different systems are mutually high and low in some cases, it is impossible to make a judgment using only the above two indicators. erefore, the F 1 value is introduced, and these two indicators can be used at the same time to fully explain the performance of the algorithm. e calculation formula of F 1 is as follows:

Experimental Results and Discussion.
According to the steps of the new algorithm, the training model m is first smoothed, the pages with no interest value are preliminarily predicted through the item-based collaborative filtering algorithm, and the filled training model m' is obtained. After the principal component analysis of m', its cumulative contribution rate is shown in Figure 1. e solid line part in Figure 1 represents the cumulative contribution rate of each principal component of the smoothed model m'. e first 58 and the first 147 principal components with a cumulative contribution rate of 80% and 90% are selected as the dimensions of the transformed vector, respectively. Clustering is performed in a low-dimensional space. Table 3 describes the naming of the contrast algorithm used in this experiment: Note that the MAE metric, as given by formula (22), represents the average absolute error value index, where P i represents the data predicted value obtained through the Table 1: Course information table. Attri (1) Attri · · · · · · · · · · · · · · · · · · C i G i,1 G 2,1 · · · G i,j · · · G i,t Scientific Programming algorithm, R i represents the true value obtained from the real data, and N represents the number of samples in the predicted data. Figure 2 records the influence of the number of clusters on the MAE under the experimental conditions of Given10. It is preliminarily judged that the optimal number of clusters k should be between 8 and 12. We might set k � 9 in future experiments.
To improve the accuracy of the two-stage prediction algorithm proposed in this paper, we designed two sets of experiments.
e first set of experiments used different clustering algorithms (K-means clustering and collaborative filtering technology methods) to compare the prediction accuracy. It also compares the classic collaborative filtering algorithm UPCC (user-based collaborative filtering), and the collaborative filtering algorithm based on user clustering. e second set of experiments compared the effect of taking 90% and 80% of the cumulative contribution rate of principal components on the quality of prediction. In the experiment, K-means clustering uses Cosine distance measurement, and the output of the collaborative filtering technique method is a 3 × 3 two-dimensional neuron node, the training step is 1000, and the learning rate is an exponential decay function.
e experimental results of Figure 3 show that the overall quality of prediction of the algorithm gets more accurate with an increase in the amount of information about historical interest. For extreme sparse matrices, it can be observed that collaborative filtering is more feasible for clustering within the transformed low-dimensional spaces. Moreover, compared with the collaborative filtering algorithm, which is based on user clustering (KCLUST_CF), the traditional UPCC nearest neighbor algorithm still has much better prediction accuracy. Table 4 summarizes the offline and online computing time complexity of several comparison algorithms. It can be observed that the new algorithm based on effective dimensionality reduction and clustering proposed in this paper has a better real-time recommendation effect.
Several sets of comparative experiments will be conducted on the accuracy of the algorithm to generate recommendations. First, hide m page preferences for each user in the test set. e rest is used as historical preference information to predict the interest value of unknown pages, and on this basis, N pages with the highest predicted interest value are selected and recommended to the user. If the recommended page appears on a previously hidden page, it is called a hit. In this experiment, m � 10 and N � 5, that is, the recommendation model selects the first 5 pages with the highest predicted interest value as the recommendation output to the user. It can be seen from the comparison curve, in Figure 4, that, as the number of N increases, the accuracy of the recommendation will continue to decline, and finally    gradually stabilize. In general, the recommendation performance of the collaborative filtering technology method is better than that of the K-means model. As shown in Table 5, the average recommendation satisfaction degree of the collaborative filtering technology method is approximately 43.6%, while the evaluation recommendation satisfaction degree of the K-means model is somehow 36.4%, which is far less than that of the former method. erefore, compared with the accuracy rate, the recall rates of the two models are relatively low. e reason that we believe is that the N value and the size of the test set affect the recall rate. Table 6 reflects the comparison of the statistical prediction accuracy of the two models, as well as the prediction of the degree of interest of the portal page. e prediction accuracy of the collaborative filtering technology method is more accurate than that of the K-means model. is finding     was observed since the average MAE of the proposed method is reduced by approximately 0.03. Particularly, when there is less predictive historical information (e.g., Given5), the collaborative filtering technology method performs better in predicting quality, and the MAE is reduced by 0.041. Table 6 shows that the larger the historical importation, the lesser the MAE value.
In short, the page recommendation experiment in this data set illustrates that the recommendation method based on collaborative filtering technology shows better prediction accuracy and improves the accuracy of the recommendation. Moreover, the time complexity of the online model is significantly reduced, which is a sign of a more practical online recommendation model.

Conclusions and Future Work
e fulfillment of individualized educational resource recommendations has become the key problem that has to be solved in intelligent education due to the dual pressures of work and study. Since the personalized recommendation system has become the focus of current research on how to integrate with online teaching as a critical technology to alleviate the problem of cognitive overload or confusion during online learning, student's interests are not static and the recommended results should be updated continuously with the changes of students' interests, which helps to cultivate the potential interests of users. erefore, the requirements for the system to respond immediately to changes in user interest are very high. To solve the real-time problem of the recommendation system, many scholars have proposed a model-based collaborative filtering algorithm based on user clustering, which has achieved certain results.
Based on the collaborative knowledge graph, this paper combines the collaborative filtering algorithm to extract the semantic information of teaching network resources from the collaborative knowledge graph. According to the nearest neighbor recommendation principle, the course attribute value preference matrix APM is obtained, the course predicted values are sorted in descending order, and the top T courses with the highest predicted value are selected as the final recommended course set for target learners. Finally, the rehearsal platform was put through its paces in terms of functionality and performance, yielding the expected results.
e rehearsal platform provides students with appropriate IT learning resources as well as a platform for learning exercises, and the recommendation system not only helps users locate high-quality content that interests them fast but also saves them time and money. e search range of the nearest neighbor is narrowed, the feature information is more concentrated, and a better recommendation effect is obtained in the test on the standard data set and the real data.

Data Availability
e data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest
e author declares no conflicts of interest.