Abstract

Physical education is considered as the essential part of health plan and also reflects the higher education system. A teacher with physical education is accountable to teach physical education and/or health education to the students. This study has proposed a new approach for teaching evaluation with college physical education in universities. By combining neural network with genetic algorithm (GA), the approach that we proposed can improve the general traditional BP network, such as global convergence and training time. The model uses MATLAB software for empirical research work. According to MATLAB simulation and experiments, it was revealed that the combining neural network with GA algorithm has effective application prospects for the teaching evaluation with college physical education in universities.

1. Introduction

At present, we always do the teaching evaluation through different methods and approaches, as the teaching quality has always been the focus of social attention. In China, we have a huge amount of higher education system in which a large number of students are studying. The evaluation of training quality of a university is an important issue in front of us which need proper evaluation mechanism. The quality evaluation system has been considered as an important part of education [15]. At present, many teaching quality evaluation systems are established according to the standards of ordinary colleges and universities level. In the current evaluation system, there are some problems for the evaluation of university education quality which includes the following. (a) The evaluation index system is not reasonable which cannot reflect the characteristics for university physical education. (b) The teaching evaluation index often contains many no quantitative factors, so in the evaluation, there are some complex nonlinear relationships between the input and output. So, it is hard to build precise mathematical models through a relationship. (c) The teaching quality evaluation methods, such as the absolute evaluation method, the relative evaluation method, the rating method, the comment method, the realistic method, and the comprehensive scoring method, are either too subjective, or simple mathematical operations (such as addition, subtraction, multiplication, and division) are used to evaluate the teaching effect, ignoring the nonlinear relationship between the evaluation indexes and the teaching effect, and the results are difficult to reflect the teaching quality; it is also difficult to be accepted by people [613]. (d) It is difficult to make an accurate evaluation by using traditional methods to evaluate the results of some indicators, and the calculation is complex, the solution is cumbersome, and these algorithms also lack of self-learning ability [1416].

To overcome these problems, this study has proposed a novel approach for teaching evaluation with college physical education in universities. By combining neural network with genetic algorithm, the current approach can progress the general traditional BP network, such as global convergence and training time. The approach has used MATLAB software for experimental work. Based on the simulation and experiments, it was shown that combining the neural network with GA algorithm has operational applications for the teaching evaluation with college physical education in universities.

2. BP Neural Network with Genetic Algorithm

The following sections briefly show the details.

2.1. Genetic Algorithm

Genetic algorithm (GA) mainly includes selection, crossover, mutation, and other operations. By combining neural network with genetic algorithm, it not only makes use of the strong learning ability of neural network but also combines the global search characteristics of genetic algorithm.

In this paper, we introduce the GA into the BP neural network for the evaluation model, which is a further optimization application of BP neural network. Various applications of GA exist [17, 18].

2.2. BP Neural Network System Model Based on Genetic Algorithm

In BP neural network, we use the descent method as the learning rule. By adjusting the weight value of each layer, we try to minimize the square sum of network error. As shown in Figure 1, firstly, representative teaching quality evaluation indexes are selected as input information; then, we sent these evaluation indexes to the input layer, hidden layer, and output layer for training. We use the genetic algorithm to iteratively learn the network weights according to the training objective function to find the best weights. The network becomes a stable pattern evaluator, and then, the evaluation results can be output.

The number of input nodes of the model is n (evaluation index of college physical education quality), the number of middle layer nodes is n, and the number of output layer nodes is 1, which is the evaluation value of college physical education quality. The input layer node transmits the information directly to the middle layer node, so the output of the input layer node is equal to the input; the output information of the middle layer node is the input information of the output layer node, and the output layer has only one node, which receives the input of the middle layer node and outputs the evaluation results of the teaching quality:(1)Input layer node , that is, n represents teaching quality assessment(2)Middle layer nodeThe input isThe output iswhere is the weight from the input layer node i to the middle layer node j and represents the ith factor of the sample, i.e., the ith teaching quality evaluation index.(3)Output layer node: the output layer has only one node, and the input is the output of the middle layer node:where q is the actual output value of the sample, that is, the calculated teaching quality evaluation value and is the connection weight from the middle layer node i to the output layer node.

2.3. Genetic Algorithm
2.3.1. Coding Mode

The common genetic coding methods are real number encoding and binary encoding. Real number coding has high precision and is easy to search in a large space; binary coding is in line with the important biological characteristics of diploid chromosomes in higher organisms and has the function of long-term memory, which is convenient for various genetic operations. To facilitate genetic operation, binary coding is used for weight coefficient.

2.3.2. Training Objective Function

The training objective function is defined as the mean value of the squared sum of the error between the actual output and the evaluation value of P samples:where P is the total logarithm of the training sample pattern, q is the actual output value of the sample network, and q is the expected value of the sample network. The actual output Q of the identified object (the teaching quality evaluation model of Higher Vocational Colleges) is taken as the feedback signal, which is compared with the expected value of the neural network sample to make E < e. If e does not meet the requirements due to the small number, the weight coefficient is adjusted continuously to meet the corresponding requirements.

2.3.3. Weight Adjustment Model of BP Neural Network Evaluation System

The purpose of network learning is to minimize e by adjusting the connection weight in the network. Using the gradient descent method, the adjustment of connection weight is as follows:

Among , for the learning rate, . Then, the connection weight adjustment amount between the input layer node and the middle layer node is

The adjustment amount of connection weight is as follows:

By using the above model, the connection weight of the neural network can be determined according to the iterative algorithm of the common neural network, and the error between the actual output and the sample value can be reduced.

2.3.4. Description of Connection Weight Optimization Problem Based on Optimal Neural Network

where e is the total error of network training and are the continuous weights after unified numbering which include the connection weights of input layer nodes and middle layer nodes and the connection weights of middle layer nodes and output layer nodes, n is the total number of connection weights. The constraints are . Among them, and are variables of of the upper and lower bounds of change.

2.3.5. Generation of Initial Population

As for the selection of initial population size, according to the research, the larger the nonlinearity of the problem, the larger the P. In this paper, P = 30, and the initial population is composed of P randomly generated strings.

2.3.6. Calculation of Fitness

The calculation of population fitness function is always a bottleneck problem in the application of genetic algorithms. Because the selection probability of individuals is directly proportional to fitness, the definition of fitness function has a great influence on the genetic algorithms. There is a close mapping relationship between the fitness function and objective function, so the following fitness calculation method is adopted:where e is the training objective function and C is the maximum of all e in the current generation.

2.3.7. Genetic Manipulation Produces New Populations

Genetic manipulation mainly includes replication, crossover, and mutation. The purpose of copy operation is to improve the system global convergence and convergence efficiency. The main idea is that the replication probability PR of the string is proportional to its fitness, that is, the individuals with high fitness will be copied to the next generation with high probability. Cross operation can combine new individuals and search effectively in strand space to avoid effective gene deletion. Only in the case of effective gene deletion, the effect of mutation operation is more obvious. To take into account the efficiency of global convergence and avoid premature convergence caused by effective gene deletion, the following strategies are adopted in the selection of genetic operation parameters:where C is the parameter selected to define the fitness and is fitness. Equation (10) makes the replication probability change with the change of fitness, that is, the individuals with high fitness will be inherited to the next generation with a higher probability and the individuals with low fitness will be inherited to the next generation with a lower probability. The results show that the crossover probability PC is usually [0.65, 0.9], while the mutation probability PM is usually [0.001, 0.1].

2.4. The Steps of Genetic Algorithm Training Are Neural Network Algorithm
(1)The training sample data is selected, and the connection weights of input layer and middle layer and middle layer and output layer are generated randomly: and (2)The actual output Q of the sample is calculated according to equations (1)–(3)(3)According to equation (4), calculate the value function e of the square sum of the error between the actual output value and the expected value(4)If e ≤ e meets the error requirements, the training is over, and go to step (11); otherwise, go to step (5)(5)The weight adjustment values of the input layer and the middle layer and the middle layer and the output layer are calculated according to equations (6) and (7)(6)Recalculate the new connection weight according to equations (9) and (10): and (7)According to the new weights and sample data, the average error e of the actual output Q network of samples is recalculated according to equations (1)–(4)(8)If E ≤  and the error requirement is met, the training is over, and go to step (11); otherwise, go to step (9)(9)Set the population size n, weight change range, crossover probability PC, and mutation probability PM, and determine the replication probability PR according to equations (10) and (11)(10)Copy crossover, mutation, and genetic algorithm calculation, according to the network weight generated by the genetic algorithm, as the initial weight value of the next training of the neural network model, and go to step (5)(11)At the end of training, output the weight that meets the training accuracy: and (12)According to the determined weight values and , put the experimental data to be evaluated and output the evaluation results

By fixing the weights of the neural network that has completed the training task, the network model constitutes a pattern evaluator.

3. Evaluation of Physical Education Teaching Quality in Universities

With the expansion of science and information technology, the applications of computer technology have been extensively adopted in all aspects of life. Class room teachings and various sports activities are enriched with the support of computer technology [19]. Various research studies have been conducted associated to physical education. A study has analyzed 35 physical education teachers’ appreciation of a continuous professional development training embedded in self-determination theory, need-supportive teaching, and using quantitative and qualitative methods [20]. The application of virtual reality and web embedded system in the field of evaluation of physical education teaching is used [21]. The study has evaluated the efficacy of need-supportive teaching in physical education on daily moderate-to-vigorous physical activity of girls through the mixed method evaluation [22].

3.1. Establishing the Evaluation Index Teaching Quality

In order to evaluate the teaching quality more scientifically and effectively, we must first determine a set of scientific evaluation index systems of teaching quality. On the basis of interviews with some teachers and students of Sias University, Zhengzhou University of Industrial Technology, Huanghuai University, and Huanghe Science and Technology University, combined with the summary of the theory and practice of the research on the evaluation of the quality of physical education teaching in universities, this paper establishes the evaluation index system of the quality of physical education teaching in universities, as shown in Table 1. From Table 1, we know the index system determines the network structure of the teaching-quality evaluation model.

3.2. Normalization of Input Index

Because the secondary index input is obtained by using the percentile system and scoring by students, the magnitude of each component value is very different. If the original data is applied directly without any transformation, the absolute value of the original data may be too large and fall outside the effective processing range of neurons, resulting in the so-called “saturation phenomenon.” Even if the absolute value of the original data is not too large, it is possible that one component is too large, and the impact on the network is far greater than that of other components so that other components lose the ability to regulate the network. Therefore, it is necessary to normalize the input samples of the neural network. In this paper, the maximum and minimum method is used for normalization processing because this method is a linear transformation for data processing, which can better retain its original meaning and will not cause information loss. For the input data, the normalization formula used in this paper is as follows:where x is the input value of the neural network after normalization, I is the input value of the neural network without processing, is the maximum input of neural network, and is the minimum input of neural network.

3.3. Preparation of Sample Library

In the GABP neural network, based on the summary and analysis, according to the evaluation index of teaching quality, this paper formulates the teaching questionnaire of higher vocational colleges so that the students in our college can choose and score the indicators of teachers. The collected sample data were standardized according to formula (11). These data are transformed into data [0, 1]. The processed sample data is shown in Table 2.

3.4. Simulation Process and Results

The neural network toolbox in MATLAB contains the realization of various neural network algorithm programs. The realization of BP neural network by MATLAB generally has four steps: the first is the initialization of the network, the second is the creation of the network, the third is the simulation of the network, and the fourth is the training of the network. To test the performance of GA neural network training model, read the training data and teacher data (the first 10 groups of data in Table 2), generate the corresponding network model according to the neural network model structure proposed in Section 2.2, and set the error precision of network training as e = 0.001. The operation parameters of the neural network are set as follows: learning efficiency 0.9 and momentum coefficient 0.9, and the operation parameters of genetic algorithm are set as follows: weight variation range 0.5, crossover probability 0.75, and mutation probability 0.005. The simulation process is as follows.

3.4.1. Simulation Process

Fid = fopen(train_data.txt);P = fscanf(fid,%g, [10, 18]);%P = mydataT = fscanf(fid,%g, [1, 10]);Net = = newff([0,1], [1, 7],{'tansig','tansig'},traingdm');Net.trainParam.show = 50;net.trainParam.goal = 0.001;fidt = fopen('test_data.txt');while(feof(fidt))Q = fscanf(fidt,%g, [4, 18]);B = sim(net,Q);End

Table 3 shows the results with BPGA, and the simulation evaluation results and expert evaluation results of the four test sets (the last four groups of data in Table 2 are shown in Table 4). From Tables 3 and 4, we know that it is not only the training samples which are very close to the expert evaluation results but also the simulation evaluation results of the four test sets are very close to the expert evaluation results.

4. Conclusions

The contribution of the paper is to improve the traditional BP neural network using the GA. As the GA can iterative the weight factor to change the input of BP neural network. The basic idea is to use GA to optimize the input parameters of the neural network and speed the system convergence, finally, taking the optimization result as the initial value of BP algorithm, and then, train the network with BP algorithm. In this way, BP algorithm with GA is alternately run until the required accuracy of the problem is reached. In the experiment, we use many groups of sample data of our college to test and establish a BP neural network model based on genetic algorithm. Through the optimization of neural network connection weights, that is, the genetic evolution of the initial population generation by generation, the evaluation of college physical education teaching quality is realized. Results show the effectiveness of the study.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The author declares that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This study was supported by the project of Science and Technology of Henan Province (Social Development), Research on the Integrated Development of Physical Exercise and Physical Therapy from the Perspective of Multiagent Collaboration (no. 202102310651), in 2020.