# Development of Online Political and Ideological Education System Based on Personalized Recommendation

Authors: Shoudao Wang
Journal: Computational Intelligence and Neuroscience
 (2022)

---

## Abstract

This paper aims to design and implement the online political and ideological teaching system based on personalized recommendation in order to more accurately recommend teaching resources appropriate for students’ learning, thus improving the learning efficiency and teaching quality of the online political and ideological teaching system. First, the design of the online political and ideological education system is detailed, along with its basic framework, functional modules, hierarchical structure, and database. A personalized recommendation approach based on knowledge map is proposed. The algorithm is applied to the online political and ideological teaching system to understand the differences of students’ interests in different teaching resources, establish a student interest transfer model, and effectively improve the transfer of students’ interests. On the basis of knowledge map, the matrix decomposition method is introduced, matched with the knowledge map to obtain the recommendation prediction score, and the feedback model is established and extended. Measure the dynamic transformation of the recommended ideological and political teaching content, and comprehensively consider the long-term and short-term preferences of students, so as to realize the personalized recommendation of ideological and political teaching resources. Experiments show that the personalized recommendation online political and ideological teaching system designed in this paper has good overall performance, the accuracy of the proposed recommendation approach is high, and the recommendation time is fast, so as to improve the teaching quality of the teaching system.


---

## Body

## 1. Introduction

Due to wide range of development in the field of wireless communications, these modules have been extensively utilized in different application domains for resolving the communication issue among the interested devices or parties in the networks. In this network, a common and interesting scenario is when multiple devices are trying to communicate concurrently with an intended device preferably which reside in the coverage area of the concerned wireless module or antenna. These communication networks are utilized in different forms such as wireless networks, sensor networks, and Internet of Things. These networks have enabled researchers to resolve various problems which have a direct correlation with the life standard of the every individual such as healthcare and teaching. With the gradual growth of online education resources, data information has gradually changed from the form of text to a variety of media forms such as pictures, video, and online live broadcast. The quality of data information and how to identify data information have become an urgent problem to be solved. In particular, the current work pressure is large and the pace of life is accelerated. The accuracy and efficiency of data information acquisition become very important. In such an environment, providing accurate and efficient data information for users has become the primary task of all industries. In view of this situation, relevant websites have also made specific responses, but in most cases, users do not know their own needs. It is precisely because of these problems that promote the rapid development of emerging technologies and generate personalized recommendation technology to solve the problems of accuracy and efficiency of data acquisition. The main idea is to recommend the data information that users really need, so as to meet the different needs and characteristics of users.In the conventional ideological and political educational process, teachers impart pertinent knowledge to pupils, and they choose the course material based on textbooks. Students are ineffectively simple in a passive receptive condition. Network technology is likewise advancing gradually under the optimization trend in computer technology. Applying personalized recommendations to online political and ideological teaching systems can significantly raise the level of teaching information technology, enable the sharing of educational resources, make recommendations for specific students based on their learning preferences, increase student motivation for learning, and enhance the quality and effectiveness of instruction.The innovations of this paper are as follows: (1) design the online political and ideological teaching system, and describe the overall framework design, overall structure and functional modules, hierarchical structure, and database in detail. A personalized recommendation approach based on knowledge map is proposed to recommend teaching resources suitable for ideological and political course learning to students. (2) Compared with other recommendation approach teaching systems, the personalized recommendation online political and ideological teaching system designed in this paper has better overall performance, and the proposed recommendation approach has higher accuracy and faster recommendation time, so as to improve the teaching quality of the teaching system.The rest of the article is going to be arranged according to the following basis.In the following section, brief description of the approaches, which are presently available online and have direct correlation with the problem at hand, is presented. Moreover, it has been mentioned that how these approaches could solve a problem and why these schemes are not applicable to address the issue that is required to be solved by the proposed approach. In Section3, online political and ideological education system based on personalized recommendation is reported along with detailed discussion on how it is formed and why it more reasonable than other techniques which are available online. Simulation results and observations have been presented in Section 4 of the paper where conclusion is represented as the last section.


## 2. Related Work

The focus of intelligence education is to achieve personalized teaching. Personalized online teaching system is effectively applied in ideological and political education, and some research results have been obtained. In order to effectively handle computer language and improve the quality of ideological and political education, Jin proposed an online political and ideological computer teaching system based on language processing recommendation. The overall structure of the system is designed. According to the overall structure, the system is divided into login module, intelligent answer module, teaching assistant management module, and personalized recommendation module. The teaching assistant management module and answer module are the main core of the online political and ideological system. Language processing technology is used to realize online political and ideological education. Through the experimental verification, the system can effectively stimulate students’ interest in learning, reduce the learning difficulty of ideological and political courses, and improve the efficiency of teachers’ work, but the teaching quality has not been effectively improved [1]. Li and Liu, in order to provide a fully functional online political and ideological education system, developed the online political and ideological education system by combining offline classes with online learning. The system uses Memcached to build a multi-server cluster, complete high concurrent load balancing, improve the usability of online education system, use the model of data information network as the underlying storage database, and make use of the characteristics of associated storage. Cascade query and dynamic modeling are used to improve the efficiency and scalability of online teaching system queries. The application of INM in database modeling and database access is proposed, which simplifies the overall process of database modeling, but this method does not improve the quality of teaching [2]. Liu and Wang proposed an online political and ideological education system based on Web recommendation to address the issue of poor implementation in the traditional recommended online political and ideological education system. It uses particle swarm algorithm to optimize the calling process of data course, ensures the scientific exchange of teaching resources, optimizes the query algorithm in the system database, and supplements the functions of the subsystem in the online educational system. Enhance subsystem performance, use high-speed operation to guarantee the stability of instructional resources, and avoid resource connection failure. The experimental findings demonstrate that, even when a large number of students are using the system, the online political and ideological education system based on Web recommendations can maintain smooth operation of teaching resources without interruption [3]. However, this approach does not increase the effectiveness of students’ learning. The fast advancement of educational information technology, according to Ming, will lead to the creation of a system for sharing educational materials. Although the sharing of information about educational resources can make users’ lives easier, there are still too many data information issues brought on by the expansion of educational resources, which forces users to expend a lot of time and effort filtering the data information they require from the massive data. To address this issue, this paper applies personalized recommendation technology to the online political and ideological education system, providing students with specific and interesting teaching resource recommendations. It also conducts a thorough examination of the characteristics of ideological and political education, as well as personalized learning theory and recommendation technology, and focuses on the application of collaborative filtering recommendation. It is evaluated how the online teaching system is organized overall, how the data are stored, and how recommendations are made. The findings of the experiments demonstrate that the system can tailor recommendations to the requirements of the individual students and increase learning effectiveness, although this approach has the drawback of having low teaching quality [4].


## 3. Online Political and Ideological Education System Based on Personalized Recommendation

With the recent developments, new ideas have been proposed in different research domains in order to improve life standard of the human beings and assist them in getting the basic facility through easily accessible means using various and newly developed resources. Among those activities or facilities, education system is one of them which has been drastically effected by the current pandemic and researchers are eager to develop new and impressive way to continue the education activity alive as it is one of the basic needs of the human beings and the very future of the world relies on it as well. Therefore, solid measures were required to be adopted which could possibly resolve these issues more importantly with the available infrastructures. For this purpose, online education systems were introduction where every faculty member is bounded to deliver his/her lecture on a schedule time where it is high likely that students will interact with the teacher during the class and can make conversation similar to that of class.


### 3.1. Framework Design of Online Political and Ideological Education System

The structure of an online political and ideological education system is depicted in Figure1. The online educational system is basically separated into teaching course management, user management, comment management, etc., in Figure 1. The online political and ideological education system is split into client and server in Figure 1.Figure 1
Ideological and political online teaching system framework.


### 3.2. Overall Structure of Online Political and Ideological System

Online political and ideological education system based on personalized recommendation utilizes the three-tier mode of B/S [5, 6]. Customer layer, application layer, and data layer, respectively, are shown in Figure 2.Figure 2
Ideological and political online system structure model diagram.In Figure2, the client basic function of the layer is interactive input, the application basic function of the layer is business processing, and the data basic function of the layer is the transmission and archiving of instructional materials. Based on the client and server’s browsers, HTML is transformed into Web pages. The teaching resources are sent to the data server once the user submits a business request to the server and receives a response. The teaching data are then fed back to the server, which subsequently feeds the teaching data to the client [7, 8]. The ideological and political education system on the Internet and the three-tiered structure has no relationship at all. As a result, the system is more transferable and maintainable, which benefits the cross-platform of the real time education system.


### 3.3. Module Design

Figure3 shows the design of the system functional module. In Figure 3, the personalized recommendation online political and ideological education system contains many modules, such as network communication and personalized recommendation, teaching data collection module, bus program, and transmission loading. Among them, the unique function of the teaching data collection module is to recognize the original ideological and political teaching materials and to transmit them using the varied teaching data collecting technology. In the process of transferring ideological and political education materials, the resource nodes are separated into three tiers, namely, the backbone, general, and interface, according to the distribution of units and the relevance of nodes. The completion of real-time, efficient online political and ideological education as well as the distribution of such resources is made possible by wireless radio frequency technology [9, 10].Figure 3
Function modules of ideological and political online teaching system.The specific function of network communication module is to transfer network data information and to communicate online. Web technology is used to design the network of the online teaching system, so as to store the object of ideological and political teaching resources, data mining of teaching resources, information service of teaching resources, and effective feedback of teaching efficiency and teaching quality.Service framework based on interface access, which includes modules such as resource data collection, organization framework, and storage database of teaching resource information, evaluates the stability and reliability of network transmission through hierarchical system framework and interface access. The Internet of Things is used as network middleware technology to develop an online political and ideological education system of teaching resources retrieval, and it can help improve the processing of these resources.


### 3.4. System Hierarchical Structure Design

The hierarchical structural architecture of the online political and ideological education system is depicted in Figure4. The data storage layer, user analysis layer, and log mining layer of the online political and ideological education system are constructed in Figure 4 and are managed based on the connection module of the overall framework [11, 12]. User and background management are two subsystems included in the hierarchical architecture of the online political and ideological education system. Students can retrieve teaching resources, set and modify user names and passwords, and provide feedback on teaching resource data. Teachers and students can register and log on to the online teaching system using their own rights. Teachers can use software to assess the quality and effectiveness of ideological and political education in addition to transferring teaching materials and managing multimedia learning environments. According to the behavior of users on the external server, the background management system may scientifically analyze the development of ideological and political education, teaching material, and teaching objects, and excavate the available teaching resources. Smart terminal devices are connected to background management systems. For data information, user-based services must communicate with functional modules.Figure 4
Hierarchical design structure of ideological and political online teaching system.


### 3.5. Database Design

The database is designed according to the actual situation of online teaching. The online teaching system also includes online course schedule and registration form. This paper provides effective reference for these two data tables [13, 14].(1)
Most of the registry stores the information registered by users, including user name and login password, which is shown in Table1.(2)
Online course schedule is mainly used to record the information of online courses, including course name, course content, lecturer, and teaching time, which is represented in Table2.Table 1
Online teaching system registry.
The fieldThe field typeThe length of the fieldWhether the primary keySerial numberint10IsThe user namevarchar20NoPasswordvarchar20NoTeacher status or notBitNoRegistration timedatetimeNoThe phone numbervarchar12NoReal namevarchar10NoE-mailvarchar20NoLast login timedatetimeNoTable 2
Online course schedule of online teaching system.
The fieldThe field typeThe length of the fieldWhether the primary keySerial numberint10IsCourse namevarchar20NoCourse is an introduction tovarchar100NoLearning goalsvarchar100NoThe teaching contentdatetime200NoCourse feedatetimeNoCreation timevarchar10NoThe teacher’s namedatetimeNoClass timevarcharNo


## 3.1. Framework Design of Online Political and Ideological Education System

The structure of an online political and ideological education system is depicted in Figure1. The online educational system is basically separated into teaching course management, user management, comment management, etc., in Figure 1. The online political and ideological education system is split into client and server in Figure 1.Figure 1
Ideological and political online teaching system framework.


## 3.2. Overall Structure of Online Political and Ideological System

Online political and ideological education system based on personalized recommendation utilizes the three-tier mode of B/S [5, 6]. Customer layer, application layer, and data layer, respectively, are shown in Figure 2.Figure 2
Ideological and political online system structure model diagram.In Figure2, the client basic function of the layer is interactive input, the application basic function of the layer is business processing, and the data basic function of the layer is the transmission and archiving of instructional materials. Based on the client and server’s browsers, HTML is transformed into Web pages. The teaching resources are sent to the data server once the user submits a business request to the server and receives a response. The teaching data are then fed back to the server, which subsequently feeds the teaching data to the client [7, 8]. The ideological and political education system on the Internet and the three-tiered structure has no relationship at all. As a result, the system is more transferable and maintainable, which benefits the cross-platform of the real time education system.


## 3.3. Module Design

Figure3 shows the design of the system functional module. In Figure 3, the personalized recommendation online political and ideological education system contains many modules, such as network communication and personalized recommendation, teaching data collection module, bus program, and transmission loading. Among them, the unique function of the teaching data collection module is to recognize the original ideological and political teaching materials and to transmit them using the varied teaching data collecting technology. In the process of transferring ideological and political education materials, the resource nodes are separated into three tiers, namely, the backbone, general, and interface, according to the distribution of units and the relevance of nodes. The completion of real-time, efficient online political and ideological education as well as the distribution of such resources is made possible by wireless radio frequency technology [9, 10].Figure 3
Function modules of ideological and political online teaching system.The specific function of network communication module is to transfer network data information and to communicate online. Web technology is used to design the network of the online teaching system, so as to store the object of ideological and political teaching resources, data mining of teaching resources, information service of teaching resources, and effective feedback of teaching efficiency and teaching quality.Service framework based on interface access, which includes modules such as resource data collection, organization framework, and storage database of teaching resource information, evaluates the stability and reliability of network transmission through hierarchical system framework and interface access. The Internet of Things is used as network middleware technology to develop an online political and ideological education system of teaching resources retrieval, and it can help improve the processing of these resources.


## 3.4. System Hierarchical Structure Design

The hierarchical structural architecture of the online political and ideological education system is depicted in Figure4. The data storage layer, user analysis layer, and log mining layer of the online political and ideological education system are constructed in Figure 4 and are managed based on the connection module of the overall framework [11, 12]. User and background management are two subsystems included in the hierarchical architecture of the online political and ideological education system. Students can retrieve teaching resources, set and modify user names and passwords, and provide feedback on teaching resource data. Teachers and students can register and log on to the online teaching system using their own rights. Teachers can use software to assess the quality and effectiveness of ideological and political education in addition to transferring teaching materials and managing multimedia learning environments. According to the behavior of users on the external server, the background management system may scientifically analyze the development of ideological and political education, teaching material, and teaching objects, and excavate the available teaching resources. Smart terminal devices are connected to background management systems. For data information, user-based services must communicate with functional modules.Figure 4
Hierarchical design structure of ideological and political online teaching system.


## 3.5. Database Design

The database is designed according to the actual situation of online teaching. The online teaching system also includes online course schedule and registration form. This paper provides effective reference for these two data tables [13, 14].(1)
Most of the registry stores the information registered by users, including user name and login password, which is shown in Table1.(2)
Online course schedule is mainly used to record the information of online courses, including course name, course content, lecturer, and teaching time, which is represented in Table2.Table 1
Online teaching system registry.
The fieldThe field typeThe length of the fieldWhether the primary keySerial numberint10IsThe user namevarchar20NoPasswordvarchar20NoTeacher status or notBitNoRegistration timedatetimeNoThe phone numbervarchar12NoReal namevarchar10NoE-mailvarchar20NoLast login timedatetimeNoTable 2
Online course schedule of online teaching system.
The fieldThe field typeThe length of the fieldWhether the primary keySerial numberint10IsCourse namevarchar20NoCourse is an introduction tovarchar100NoLearning goalsvarchar100NoThe teaching contentdatetime200NoCourse feedatetimeNoCreation timevarchar10NoThe teacher’s namedatetimeNoClass timevarcharNo


## 4. Personalized Recommendation Method of Online Political and Ideological Teaching Based on Knowledge Map

### 4.1. Student Interest Transfer Model

We may determine the variations in students’ interests in various fields of knowledge by allocating various proportional weights to the instructional resource nodes in the knowledge map [15, 16]. The interest transfer model appropriately modifies the weight of teaching resource nodes in the knowledge map in accordance with the students’ retrieval behavior and retrieval periods, which accurately depicts the changing features of students’ interest transfer. Students are more interested in the teaching resource if their conduct is more comparable to that of the present moment, there have been more instances of similar behavior, and the weight of teaching resource nodes is higher.The expression of weight between studentUi and online political and ideological teaching resource Ij is(1)wij∑s=1nw1+et−ts−t0+w.In formula (1), t represents the current time point, n represents the number of times the same behavior occurs, ts represents the time when students give feedback to teaching resources, t0 represents the factor of students’ interest transfer time, and w represents the threshold of weight.


### 4.2. Personalized Recommendation Approach Based on Matrix Decomposition

On the basis of knowledge map, an online personalized recommendation approach for ideological and political education resources based on matrix decomposition algorithm is introduced. The specific idea of matrix decomposition is to think that students and any ideological and political education resources have their own characteristics, and students’ interests are determined by a few factors. Matrix decomposition is used to obtain the matrix of students’ and teaching resources’ characteristics in the interactive matrix of teaching resources [17, 18]. The model of matrix decomposition goes through abstraction and becomes(2)R=UVT.In formula (2), U∈Rm×d and V∈Rn×d represent the d-dimensional student and teaching resource characteristic matrix after matrix decomposition. After decomposition, the real matrix of known online political and ideological education resources is fitted by product of UVT between low-dimension students and teaching resources characteristic matrix. The model training objective function is(3)L=∑i=1nIijUiVjT−rij2+λ1UiF2+λ2ViF2.In formula (3), Iij indicates whether student i scores teaching resource j. If scoring is performed, the value of Iij is 1. On the contrary, the value of Iij is 0. rij represents the true score of student i on teaching resource j, Ui and Vi represent the d-dimensional feature vector of students and teaching resources after decomposition, UiVjT represents the predicted score, UiVjT−rij2 represents the square error between the predicted value and the actual value, λ1 and λ2 represent the percentage of regularization of constrained students and teaching resources matrix in the model.In order to accurately control the model and fit the problem in the process of parameter learning, the weighted regularization method of parameters is introduced to prevent the transfer of the objective function through the number of studentsnui and the number of online political and ideological teaching resources nvj. The improved loss function is expressed as(4)L=∑j=1nIijUiVjT−rij2+λ1∑imnuiUiF2+λ2∑imnvjViF2.On the basis of knowledge map, an online personalized recommendation approach for ideological and political education resources based on matrix decomposition algorithm is introduced. The expression of the objective function after the matrix decomposition is(5)L=∑i=1m∑j=1nIijUiVjT−rij2+λ1∑imnuiUiF2+λ2∑jnnvjViF2+λ3∑jnVj−∑Vk∈NVjsimVj,VkVk2.In formula (5), ∑j=1nIijUiVjT−rij2 is constructed on the matrix decomposition model. The second and third items are to prevent fitting regular items, and the third item is to represent the potential information of the similarity of online political and ideological teaching resources through the knowledge map. Among them, nvj represents the set of n nearest neighbors of teaching resource Vj. simVj,Vk represents the function of similarity. In this paper, the function of cosine similarity is adopted, and the value range is −1,1, which is expressed as(6)vjsimVj,Vk=∑i=1dVjd,Vbd∑i=1dVjd2∑i=1dVbd2,In formula (6), d represents the dimension obtained by model training, and the value is a positive number. It is standardized through formula(7)fx=1+x2.By minimizing the objective function of the gradient descent method, the student characteristic matrixU and the online political and ideological teaching resource characteristic matrix V are solved, and the feedback model is constructed:(8)∂L∂Ui=∑j=1nIijUiVjT−rijVj+λ1∑inuiUi.After solving the feature matrix of students and online political and ideological education resources, the features should be projected intoK-dimensional space, and the more similar the geometric features, the stronger the correlation. The information simei,ej of the correlation between characteristic ei and ej is obtained by using the cosine similarity of vectors, which is expressed as(9)simei,ej=cosei⟶,ej⟶=ei⟶,ej⟶ei⟶×ej⟶,=∑i=1neit,ejt∑i=1neit2∑i=1nejt2.This paper expands the personalized recommendation list, uses knowledge pictures to judge students’ long-term preferences, and constructs a mixed knowledge map through feedback model and students’ interest offset model to judge some time-sensitive factors such as the content change of online political and ideological education resources and the fluctuation of students’ preferences [19, 20].An update model of inter-entity weights for hybrid knowledge maps is(10)kRWij=λ×rating×wij×ηk,ifrij=k,ηothers,frij=others.In Formula (10), RWij denotes the weight value between feature i and j of the updated teaching resources, wij denotes the degree of interest value obtained after the calculation of the student interest migration model, relation k denotes the scoring relationship between student i and teaching resource j, and rating denotes the student’s scoring of the online political and ideological teaching resources. λ is the normalization factor so that λ×rating normalized initial weight is 1 to prevent too high a score from negatively affecting random walk.SimUi,Ijmix is extracted from the resources Ui,Ij that are centrally trained, combined with the characteristics of all teaching resources and the deep wandering on the knowledge map of student interest migration, and a mixed feature model is built according to formula (11), that is,(11)x⟶UiIj=SimUi,Ij1,…,SimUi,Ijmix.Input setyij,Ui,x⟶UiIj as sorting model to form a personalized recommendation list, which combines multidimensional features, considers the long-term and short-term preferences of students, strengthens the effect of personalized recommendation, and completes the development of an online political and ideological education system based on knowledge map personalized recommendation from the above content.


## 4.1. Student Interest Transfer Model

We may determine the variations in students’ interests in various fields of knowledge by allocating various proportional weights to the instructional resource nodes in the knowledge map [15, 16]. The interest transfer model appropriately modifies the weight of teaching resource nodes in the knowledge map in accordance with the students’ retrieval behavior and retrieval periods, which accurately depicts the changing features of students’ interest transfer. Students are more interested in the teaching resource if their conduct is more comparable to that of the present moment, there have been more instances of similar behavior, and the weight of teaching resource nodes is higher.The expression of weight between studentUi and online political and ideological teaching resource Ij is(1)wij∑s=1nw1+et−ts−t0+w.In formula (1), t represents the current time point, n represents the number of times the same behavior occurs, ts represents the time when students give feedback to teaching resources, t0 represents the factor of students’ interest transfer time, and w represents the threshold of weight.


## 4.2. Personalized Recommendation Approach Based on Matrix Decomposition

On the basis of knowledge map, an online personalized recommendation approach for ideological and political education resources based on matrix decomposition algorithm is introduced. The specific idea of matrix decomposition is to think that students and any ideological and political education resources have their own characteristics, and students’ interests are determined by a few factors. Matrix decomposition is used to obtain the matrix of students’ and teaching resources’ characteristics in the interactive matrix of teaching resources [17, 18]. The model of matrix decomposition goes through abstraction and becomes(2)R=UVT.In formula (2), U∈Rm×d and V∈Rn×d represent the d-dimensional student and teaching resource characteristic matrix after matrix decomposition. After decomposition, the real matrix of known online political and ideological education resources is fitted by product of UVT between low-dimension students and teaching resources characteristic matrix. The model training objective function is(3)L=∑i=1nIijUiVjT−rij2+λ1UiF2+λ2ViF2.In formula (3), Iij indicates whether student i scores teaching resource j. If scoring is performed, the value of Iij is 1. On the contrary, the value of Iij is 0. rij represents the true score of student i on teaching resource j, Ui and Vi represent the d-dimensional feature vector of students and teaching resources after decomposition, UiVjT represents the predicted score, UiVjT−rij2 represents the square error between the predicted value and the actual value, λ1 and λ2 represent the percentage of regularization of constrained students and teaching resources matrix in the model.In order to accurately control the model and fit the problem in the process of parameter learning, the weighted regularization method of parameters is introduced to prevent the transfer of the objective function through the number of studentsnui and the number of online political and ideological teaching resources nvj. The improved loss function is expressed as(4)L=∑j=1nIijUiVjT−rij2+λ1∑imnuiUiF2+λ2∑imnvjViF2.On the basis of knowledge map, an online personalized recommendation approach for ideological and political education resources based on matrix decomposition algorithm is introduced. The expression of the objective function after the matrix decomposition is(5)L=∑i=1m∑j=1nIijUiVjT−rij2+λ1∑imnuiUiF2+λ2∑jnnvjViF2+λ3∑jnVj−∑Vk∈NVjsimVj,VkVk2.In formula (5), ∑j=1nIijUiVjT−rij2 is constructed on the matrix decomposition model. The second and third items are to prevent fitting regular items, and the third item is to represent the potential information of the similarity of online political and ideological teaching resources through the knowledge map. Among them, nvj represents the set of n nearest neighbors of teaching resource Vj. simVj,Vk represents the function of similarity. In this paper, the function of cosine similarity is adopted, and the value range is −1,1, which is expressed as(6)vjsimVj,Vk=∑i=1dVjd,Vbd∑i=1dVjd2∑i=1dVbd2,In formula (6), d represents the dimension obtained by model training, and the value is a positive number. It is standardized through formula(7)fx=1+x2.By minimizing the objective function of the gradient descent method, the student characteristic matrixU and the online political and ideological teaching resource characteristic matrix V are solved, and the feedback model is constructed:(8)∂L∂Ui=∑j=1nIijUiVjT−rijVj+λ1∑inuiUi.After solving the feature matrix of students and online political and ideological education resources, the features should be projected intoK-dimensional space, and the more similar the geometric features, the stronger the correlation. The information simei,ej of the correlation between characteristic ei and ej is obtained by using the cosine similarity of vectors, which is expressed as(9)simei,ej=cosei⟶,ej⟶=ei⟶,ej⟶ei⟶×ej⟶,=∑i=1neit,ejt∑i=1neit2∑i=1nejt2.This paper expands the personalized recommendation list, uses knowledge pictures to judge students’ long-term preferences, and constructs a mixed knowledge map through feedback model and students’ interest offset model to judge some time-sensitive factors such as the content change of online political and ideological education resources and the fluctuation of students’ preferences [19, 20].An update model of inter-entity weights for hybrid knowledge maps is(10)kRWij=λ×rating×wij×ηk,ifrij=k,ηothers,frij=others.In Formula (10), RWij denotes the weight value between feature i and j of the updated teaching resources, wij denotes the degree of interest value obtained after the calculation of the student interest migration model, relation k denotes the scoring relationship between student i and teaching resource j, and rating denotes the student’s scoring of the online political and ideological teaching resources. λ is the normalization factor so that λ×rating normalized initial weight is 1 to prevent too high a score from negatively affecting random walk.SimUi,Ijmix is extracted from the resources Ui,Ij that are centrally trained, combined with the characteristics of all teaching resources and the deep wandering on the knowledge map of student interest migration, and a mixed feature model is built according to formula (11), that is,(11)x⟶UiIj=SimUi,Ij1,…,SimUi,Ijmix.Input setyij,Ui,x⟶UiIj as sorting model to form a personalized recommendation list, which combines multidimensional features, considers the long-term and short-term preferences of students, strengthens the effect of personalized recommendation, and completes the development of an online political and ideological education system based on knowledge map personalized recommendation from the above content.


## 5. Experimental Result

To verify the performance of the online political and ideological education system proposed in this paper based on the personalized recommendation of knowledge map, an experimental comparison is made on the platform of MATLAB. Table3 represents the experimental data.Table 3
Experimental data.
Experimental environmentThe experimental dataProgramming languageJavaThe databaseMy SQL relational databaseThe operating systemWindows 7Memory4GCPUIntel PentiumFigure5 shows the accuracy of the personalized recommendation approach based on knowledge map compared with the methods in literature [3, 4] for teaching resource information recommendation.Figure 5
Comparison of accuracy of teaching resource recommendation by different methods.By examining Figure5, we can see that, in the initial experiment, the accuracy of resource recommendation was 83 percent when recommending teaching resources using the same number of online political and ideological teaching resources. However, as the number of ideological and political teaching resources increased gradually, the accuracy of resource recommendation gradually decreased when using the method proposed in [4]. The first resource recommendation’s accuracy is 73 percent, but it also steadily declines as the number of instructional materials rises. The accuracy of teaching resource recommendation in this paper has been stable over 90% throughout the whole experiment because this algorithm introduces a matrix decomposition algorithm based on the knowledge map, obtains the vector representation of the recommended target, establishes the feedback model, and expands it. This improves the accuracy of personalized recommendation of online political and ideological education resources. Table 4 shows the time needed to recommend teaching resources between the methods proposed in this paper and those in literature [3, 4].Table 4
Comparison of recommended time for teaching resources of different methods.
Different methods forRecommended resource time (s)In this paper, methods15Methods of literature [3]35Methods of literature [4]48As can be seen from Table4, under the same online political and ideological education resources, the methods proposed in this paper are shorter than those in literature [3] and literature [4], because this method builds a model of student interest migration and effectively improves the problem of student interest migration, thereby reducing the time of personalized recommendation of online political and ideological education resources, and improving the efficiency of personalized recommendation.Figure6 shows the coverage of the proposed personalized recommendation approach based on knowledge map compared with the methods in literature [3, 4] for teaching resources.Figure 6
Comparison of coverage rate of teaching resource recommendation by different methods.The recommended coverage of the three methods is increasing with the number of recommended teaching resources, as can be seen from the analysis of Figure6, but the initial recommended coverage of the recommended method experiment in the literature is only 13 percent, the final recommended coverage is 39 percent until the end of the experiment, and the initial recommended coverage of the recommended method experiment in the literature [4] is 35 p. However, until the trial’s conclusion, the ultimate suggested coverage rate for the personal recommendation approach experiment discussed in this article is 80 percent, up from the experiment’s initial recommended coverage rate of 52 percent. This shows that the methods presented in this paper have better recommended coverage in different recommendation lists. Figure 7 shows the overall performance of the online political and ideological education system based on the knowledge map and the personalized recommendation approach proposed in this paper compared with the online political and ideological education system based on the traditional recommendation approach.Figure 7
Overall performance comparison of teaching systems under different recommended methods.Although the teaching resources of the online political and ideological education system are the same, different personalized recommendation approaches have different effects on the overall performance of the online political and ideological education system. As can be seen from Figure7, traditional recommendation approaches applied to the online political and ideological education system have not improved the overall performance of the system, resulting in poor learning efficiency and teaching quality for students. The personalized recommendation approach based on knowledge map proposed in this paper is applied in the online political and ideological education system. It can recommend suitable teaching resources for students according to their preferences, stimulate students’ interest in learning ideological and political courses, and thus improve the learning efficiency and teaching quality.


## 6. Conclusion

Due to the current pandemic, it has become vital to use other available techniques for the lecture delivery, especially in the education sector in general and universities in particular. However, these systems must have the expected level of the smartness and intelligence for the carrying out of activities especially without human intervention. Online teaching system is a teaching carrier based on digitized technology and computer multimedia technology. In order to adapt to the online teaching of ideological and political course, this paper designs an online political and ideological teaching system based on personalized recommendation of knowledge map. By comparing with other recommended algorithms, the knowledge map-based recommendation approach proposed in this paper has a higher recommendation accuracy and a faster recommendation time, which can effectively stimulate students “interest in learning ideological and political courses, thus improving the teaching quality and students” learning efficiency of the online political and ideological teaching system, which is worth promoting and widely applied to the teaching of various disciplines.



---

*Source: 8161596-2022-07-20.xml*