Application of Multilayer Neural Network in Sports Psychology

)e research on multilayer neural network theory has developed rapidly in recent years. It has parallel processing capabilities and fault tolerance and has aroused the interest of many researchers. )e neural network has made great progress in the field of control, especially in model identification and control. It has been quickly applied in the fields of device design, optimized operation, and fault analysis and diagnosis. Neural network control, as an automated control technology in the 21st century, has been fully proved by theories and practices at home and abroad, and it is very useful in complex process control. Sports psychology is a discipline that studies the psychological characteristics and laws of people engaged in sports, and it is also a new development in sports science. )e main task of sports psychology is to study people’s psychological processes when participating in sports, such as feeling, perception, appearance, thinking, memory, emotion, and characteristics of will and its role and significance in sports. An important feature of multilayer neural networks is to achieve results that match the expected output through network learning. It has strong self-learning, self-adaptability, and fault tolerance. )e multilayer neural network system evaluation method is unique with its extraordinary ability to deal with complex nonlinear problems and does not involve human intervention. )is article presents a multilayer neural network algorithm, which classifies the samples of athletes, and studies the physical education training process, the psychological characteristics of related personnel in sports competitions, such as the psychological characteristics of the formation of sports skills, and the psychological training of athletes before the game.


Introduction
Multilayer neural network theory is an international frontier research field that has developed rapidly in recent years. It has parallel processing capabilities and fault tolerance and can approximate arbitrary nonlinear functions, self-learning, self-adaptation, and associative memory functions [1,2]. It is very attractive that the multilayer neural network has aroused the interest of many researchers and has made significant progress in various fields. In the application of neural network, there is no need to consider the internal mechanism of the process or phenomenon. Some highly nonlinear and highly complex problems can be handled well. erefore, the neural network has made great progress in the field of control, especially in model identification and control. It has been quickly applied in the fields of device design, optimized operation, and fault analysis and diagnosis. Neural network control, as an automated control technology in the 21st century, has been fully proved by theories and practices at home and abroad, and it is very useful in complex process control. Sports psychology is a discipline that studies the psychological characteristics and laws of people engaged in sports, and it is also a new development in sports science [3][4][5]. It is closely related to sports science, sports sociology, exercise physiology, sports training theories and methods, and other sports theories and methods. e main task of sports psychology is to study people's psychological processes when participating in sports, such as feeling, perception, appearance, thinking, memory, emotion, and characteristics of will and its role and significance in sports. It also studies the characteristics of personality, initiative, and temperament when people participate in various sports and the influence of sports on personality characteristics. Multilayer neural network is a cutting-edge research field used to simulate the structure and intelligent characteristics of the human brain. An important feature of it is to achieve results that match the expected output through network learning. It has strong self-learning, self-adaptability, and fault tolerance in addition to the ability to store memory. e multilayer neural network system evaluation method is unique with its extraordinary ability to deal with complex nonlinear problems.
is evaluation method is faithful to objective reality and does not involve any human intervention [6]. Sports psychology is the science of applying the principles of psychology to sports or exercise multilayer neural network scenarios. It studies the influence of psychological factors and emotional factors on sports performance multilayer neural networks and exercise effects. It also studies participation in sports and exercise. For a long time, we have used multilayer neural networks to analyze psychological and emotional factors, and the research on multilayer neural network in sports psychology in our country has mainly focused on three aspects: competitive sports psychology, sports education multilayer neural network theory, and mass exercise psychology [4,[7][8][9]. e directions are discussed separately. With the increasing expansion of the research object of multilayer neural networks and the continuous updating of research methods, the cross-penetration between the three research directions of multilayer neural networks has become more and more frequent. Multilayer neural network is a kind of image that shows the relationship between the development process and structure of scientific knowledge of multilayer neural network based on the knowledge domain as the research object [10]. e scientific research communities of sports colleges and normal universities have become the main driving force for the development of sports psychology [11][12][13]. About multilayer neural networks, the research hotspots of sports psychology in China mainly focus on improving the mental health of various groups. e research objects and research hotspot time zone continue to expand. It presents the two stages of exploration and anti-multilayer neural network thinking and expansion and innovation. e research content includes psychological training, skill learning, social adaptation, physical education process, physical activity, and exercise rehabilitation.
In the application of neural network, there is no need to consider the internal mechanism of the process or phenomenon. Some highly nonlinear and highly complex problems can be handled well. erefore, the neural network has made great progress in the field of control, especially in model identification and control. It has been quickly applied in the fields of device design, optimized operation, and fault analysis and diagnosis. Multilayer neural network is based on the basic understanding of human brain neural network, using mathematical methods and from the perspective of information processing to abstract the human brain neural network and establish a certain simplified mathematical model [14]. It is a large-scale parallel distributed processor composed of simple processing units, which naturally has the characteristics of storing experience knowledge and making it available. Neural network control, as an automated control technology in the 21st century, has been fully proved by theories and practices at home and abroad, and it is very useful in industrial complex process control. However, the industrial field needs advanced control methods and urgently needs engineering and practical neural network control methods. erefore, studying the application of neural networks in control is of great significance to the improvement of the automation level of our country and the economic benefits of enterprises. e rapid development of science and technology and the tremendous progress of society have put forward new and higher requirements for sports psychology. Multilayer neural networks have encountered some problems in the application of sports psychology. First of all, the analysis and design of these systems in sports psychology are based on accurate system mathematical models. However, actual systems are generally difficult due to factors such as nonlinearity, uncertainty, time varying, and incompleteness. Obtain accurate mathematical models; secondly, when studying these systems, some assumptions are generally first put forward, and these assumptions are often not completely consistent with the reality in the application, which inevitably leads to larger errors. erefore, for many years, sports psychology researchers have been looking for solutions, and the application of multilayer neural networks has brought a dawn. Multilayer neural network is one of the three major areas of intelligent control. It has been paid attention to by many scholars since its birth and has made great progress in prediction, safety monitoring, control, and pattern recognition. In our country, through the long-term efforts of scientific researchers, some aspects of multilayer neural network theory have approached or reached the world's advanced level, but there is a huge disconnect between these advanced theories and engineering practice, and the research has engineering practical intelligence [15].

Related Work
e keywords in the retrieved documents generally reflect the main content of the document. If the same keywords appear frequently in the literature of a certain research field, we generally tend to think that these keywords or topic words can reflect hot topics in this research field. e network node (Node type) selects the keyword (Keyword) and obtains the core keyword cooccurrence network map in the field of sports psychology research in my country. Among them, each circular node represents a keyword in sports psychology research. e size of the circle is proportional to the frequency of the keyword. e depth of the circle represents different years, and the level change shows the evolution of the keyword from far to near with the years. e line between nodes indicates that there is an association between two keywords, and the width of the line indicates the degree of affinity between the keywords. Keywords with relatively high frequency and centrality jointly show the hot topics in the field of sports psychology research in my country from 2008 to 2017 (Table 1). e keyword cooccurrence map reflects important nodes in the field of sports psychology in my country [16,17]. It can be seen that the frequency of occurrence of larger nodes is 279 times for mental health, 202 times for college students, 186 times for physical education, 101 times for physical exercise, 89 times for school physical education, 81 times for influencing factors, 77 times for athletes, and 75 times for physical education. We have 10 times, 70 times physical activity, and 53 times the quality of life. Based on the above statistical results, the research objects in the field of sports psychology in my country have been expanding in the past 10 years, including college students, athletes, the elderly, teachers, and youth groups; research hotspots are mainly concentrated in the mental health of college students or elderly groups and physical education [18,19].
In the past, the discourses on sports psychology were mostly discussed from the three directions of competition, sports, and mass exercise. It is generally believed that the research on competitive sports psychology belongs to the mainstream research category. e evolution of the size and level of the nodes in Figure 4 clearly shows that the three directions are the development of public exercise psychology and that physical education psychology has been greatly developed. e development of public exercise psychology has been very rapid in the past 10 years. Since 2009, five academic conferences on physical exercise and mental health have been held. In 2019, the 6th Academic Conference on Physical Exercise and Mental Health will be held in Sichuan, highlighting the results of the implementation of the "Mass Fitness Program," which is also in line with the current development trend of "Healthy China" [20][21][22].
Xuet al. [23] used multilayer perceptron and CNN to build a sportswear retailing forecast model. ey collect data from some offline sports stores to train the model and propose a novel loss function to improve the forecast accuracy rate. ey define influencing factors including time series sale data, features of the products, strategy used for distribution, and size of the shop. ey claimed a higher accuracy of 65% compared to other systems with only about 20% accuracy rates. Aldosary and Alrashdan [24] used artificial neural networks-based model to predict whether gym members are going to end their agreement with the gym and join another one. ey applied multilayer perceptron using backpropagation with an emphasis on feature selection. ey concluded from their study that implementing psychological concept of habit formation serves as a link for introducing effective artificial neural network-based model into the fitness strategies. Nadeem et al. [25] conclude that physical activity recognition is an essential tool for smart health monitoring and for fitness exercises. ey propose a unified framework to explore multidimensional features with the help of a fusion of body part model and discriminant analysis, using the features for human pose estimation. e features are processed with Markov model as a recognition model. ey use various datasets and achieve an accuracy of up to 90%. e research of young people and ethnic minorities has also received increasing attention. It can be seen from this that in the course of development and evolution of sports psychology research in my country, research topics have been continuously enriched, research has continued to have meticulous and in-depth content, research methods have continued to innovate, the relationship with the parent subject has become increasingly close, interdisciplinary research has increased, and more attention has been paid to cognitive perspective to examine the psychological impact.

Multilayer Neural Network Data Source.
e data required is retrieved and collected using the China National Knowledge Infrastructure (CNKI) database platform. In the visual analysis of the scientific knowledge map, the data directly determines the results of the analysis. erefore, the first important problem to be solved in this research is how to make the retrieved data as comprehensive and accurate as possible to include the research results in the field of sports psychology in China. After the combination and debugging of multiple retrieval methods, such as the classification number of the Chinese Library Classification, and a comparative analysis of the retrieval results, it was finally determined that the retrieval method was set as the subject word "sport" or "sports" according to the traditional classification method of sports psychology research or "sports" or "exercise" with "psychology," the search condition is set to "precise," the time span is set to 2008 to 2017, the document source category is set to "core journals," and the retrieval date is January 23, 2018. On the 23rd, a total of 3675 related index documents were retrieved. en, some documents were manually deleted such as "meeting notices," "call for papers," and documents that are obviously not in the field of sports psychology to improve the effectiveness of the search data. Finally, 3260 retrieved documents were confirmed as the source of the research data for analysis and processing.

Ideas and Learning Rules of Multilayer Neural Network
Algorithms.
e basic idea of the multilayer neural network algorithm is that the learning process is composed of two processes, the forward propagation of the signal and the Scientific Programming backward propagation of the error. In the forward propagation, the input samples are passed from the input layer, processed by each hidden layer time slicing by layer, and then passed to the output layer. If the actual output of the output layer does not match the expected output, it will enter the error backward propagation stage. It is mainly through the gradient descent method that the weight is modified, so that the total error function is minimized. Suppose the network has a total of L layers and N l is the number of neurons in the first layer, where l � 1, 2, . . ., L. e total number of samples entered is P. e sample P input vector is as below: e expected output vector is as below: e actual output vector is as below:

Research Methods of Multilayer Neural Networks.
CiteSpace III visualization tool based on JAVA platform is used to draw scientific knowledge graph. e CiteSpace III visual analysis software was developed by Chen Chaomei, a professor at the School of Information Science and Technology of Drexel University and a Yangtze River Scholar Chair Professor at Dalian University of Technology. It can draw a huge amount of raw data and visually present it in graphics or images. e research hotspots, development trends, and sudden changes in the dynamic development network structure of a certain subject knowledge field provide support for clearly understanding and grasping the development trend of the subject. e preprocessed 3260 literature documents are imported into CiteSpace III visual analysis software, the time span is set to 2008-2017, the time zone division (time slicing) is set to one stage per year, and the critical path algorithm (Pathfinder) is used for institutions. e author, keyword, and other functions are analyzed and processed; we conducted cluster analysis on the cooperation relationship between core academic research institutions and core academic researchers; the annual number of articles and other data are used for mathematical statistics.

Program Realization of Multilayer Neural Network
Algorithm. Experimental method is an important method in psychology research. Compared with other research methods, experimental method is more able to test causality and explore the laws between things. In experimental method, the researchers use instruments and equipment, artificially control and intervene in the research object according to the purpose of the subject, eliminate interference factors, highlight the key points, and observe the experimental object under favorable conditions. e measurement method is a method of collecting data that uses tools to measure the characteristics of the human body in sports science research. Because of its quantification, error, and unit consistency uncertainty, it determines its status in sports research. e measurement method is divided into self-made scale and ready-made scale. Self-made scales are some items compiled by researchers according to the problems to be studied. In the use of self-made scales by Chinese researchers, most of them lack the proof of the validity of the scale, and the basic principles of psychological measurement are not used for demonstration. e readymade scale is tested by time and practice and has a certain degree of representativeness and practicability. Tan Xianming and Chen Gengchang's "Analysis of the Application Status of Psychological Scales in the Field of Sports Psychology" in the past ten years included sports science, sports journals, China Sports Science and Technology, and psychological sciences. Journal of Beijing Sport University, Journal of Wuhan Institute of Physical Education, and Shanghai Institute of Physical Education 670 papers on sports psychology in 14 journals including the Chinese Journal of Analytical Research have been conducted. It is found that only 25% of the papers using psychological scales are used by most researchers. e scales used by most researchers are borrowed from other fields of psychology. Very few of them have compiled their own scales, and the most used scales are sixteen cartels. We collected personality factor test (16PF), trait anxiety questionnaire, Sports Competition Anxiety Scale (SCAT), etc. e programming steps of the multilayer neural network algorithm are as follows: initialize the weight matrix W(1), W(2), . . . , W(L) to assign random numbers, set the sample pattern counter P and the training times counter q to 1, set the error E to 0, set the learning rate to a number within 0-1, and set the accuracy E achieved after the network training to a small positive number; input the training sample pair, and calculate the output of each layer; calculate the network output error; calculate according to the formula the error signal of each layer; adjust the weight of each layer according to the formula; check whether a rotation training is completed for all samples. If p < P, the counters p and q increase by 1, return the input training sample pair, and calculate the output of each layer; otherwise, check whether the total error of the network meets the accuracy requirements. If E< E min , the training ends; otherwise, E is set to 0, p is set to 1, and return to the step of inputting the training sample pair and calculating the output of each layer.

Experiment and Result Analysis
e research of sports psychology has been a hot area of psychology at home and abroad in the past few decades. In China, the "Sports Psychological Characteristics Research" project that began in 1980 has driven the continuous exploration of most sports psychologists in China. A variety of domestic and foreign psychological characteristics, research tools, and methods have been introduced and applied in volleyball gymnastics and table tennis. We choose sports psychology in different sports as our choice and evaluation, such as track and field, shooting, swimming, football, weightlifting, and badminton boating. In foreign countries, since the 1960s and 1970s, the research works on sports psychological characteristics are also conducted one after another. Researchers have tried to find some universally significant and stable "success factors" through comparative studies of excellent athletes and the general population, to provide scientific basis for athletes' selection, diagnosis, training, competition, and other practical activities. In this way, the enthusiasm for research has enriched the research on the psychological characteristics of sports, both in experience and in theory, and the connotation of this research field has also been continuously expanded.
On the one hand, in the field of sports psychology, some new theories and models that are completely different from the traditional have emerged in recent years, which have also challenged the research models and research ideas based on traditional theories; on the other hand, in sports psychology within the scope of learning, the existing research conclusions related to athletes' personality and psychological characteristics have not been effectively verified in sports selection and sports competition practice, and the actual benefits of most studies still need to be tested. is experiment will compare the cognitive processing ability (digital calculation) and physiological (heart rate) trends of gymnasts of different levels (master group, general athlete group, and nongymnast group) in the stress and passion environment. e changes of the two indicators in the three groups of subjects in a calm state and in a stressful (interference) situation are shown in Tables 2 and 3.
In the table, X represents the average value of the difference between the calculation ability of the three groups of test subjects in a stressful environment (under laboratory conditions) and the calculation ability in a calm state. e smaller the difference is, the less the calculation ability of this group of subjects is affected by the stress factors. e results in the table show that excellent gymnasts (master level) are significantly better than the other two groups in the degree of influence of stress factors. e X in the table represents the average value of the difference between the heart rate of the test subject in a stressful state (under laboratory conditions) and the heart rate in a calm state. A smaller difference indicates that the changes in the heart rate of this group of subjects are less affected by stress factors. Table 3 shows that the change of heart rate in the elite athlete group is smaller than that of the other two groups at the level of 0.1 or close to 0.1.
To explain the reasons for the variation of the above two results, the study separately examined the influence of factors such as age, education level, exercise level, and training years on the calculation ability and the trend of heart rate changes. e results show that the above factors have no significant effect on the changing trends of the two indicators in the three groups of subjects in different situations.
erefore, this observed cross-situational stability can be attributed to individual personality characteristics. In this study, it was named "anti-interference ability." However, according to the CAPS theory, this research result provides a preliminary example for the application of cognitive-emotional system theory in the field of sports psychology.
is experiment uses the four indicators of accuracy, precision, recall, and F1 score to measure the predictive ability of the classification model. ese indicators are common detection and classification indicators. ese common metrics are all related to the confusion matrix (also called the error matrix). e confusion matrix evaluates the model's classification of the psychological change dataset.
TP represents the number of samples whose true results and predicted results are true; FN represents the number of samples whose true results are true and predicted results are false; FP represents the number of samples whose true results are false and predicted results are true; TN represents the number of samples whose both true results and predicted results are true. According to Table 3, the calculation formula of accuracy rate is shown in (4), the calculation formula of accuracy is shown in (5), and the calculation formula of recall rate is shown in (6).
If there are only precision and recall values, it is impossible to compare the quality of the classification model, so the index F1 score is required. e F1 score is a judgment index that combines the precision value and the recall value.
rough the calculation of the F1 score, a value between 0 and 1 will be obtained. e closer to 1, the better the classification model. At this time, you can compare the classification models. e definition formula of F1 is as follows: In the arrhythmia classification model, after disrupting the order of all ECG samples, 16033 ECG datasets are selected as the training set of the classification model, and other ECG datasets are used as the test set of the classification model. In the training process, the accuracy rate of the classification model and the graph of the increase of the loss function value with the  It can be seen from Figure 35 that the loss function value reaches convergence at about 3000 steps. is has two main reasons. First, the ECG signal belongs to one-dimensional data, which has a relatively simple data form, and the signal data points are less than 300. e second is the CNN-BiLSTM model. Although the classification model has many layers, the classification model reduces the number of parameters and improves the accuracy (shown in Figures 1 and 2). After the classification model is trained, the classification results obtained on the test set are shown in Figure 3, and the confusion matrix obtained on the training set is shown in Table 4. It can be seen from Figure 3 that the CNN-BiLSTM classification model can classify different arrhythmias including normal heartbeat beats. Although normal beats and abnormal beats are sometimes confused, most of the beats can be accurately detected.

Conclusion
is paper uses multilayer neural networks to build models and build neural network control systems. We select multiple network types, write neural network software, and write interfaces that are integrated and run with multiple configuration software to improve neural network software. Different types of artificial neural networks are used to identify complex objects and analyze the identification results. Neural network is used to adjust PID parameters to control complex objects and improve the algorithm. e PID neural network controller is directly used to construct an artificial neural network control system to directly control complex objects without a model. is experimental model uses multilayer network neural algorithms to carry out applied research on sports psychology, which is useful for further research on the characteristics and laws of human psychological processes in sports and the relationship between human personality differences and sports. e short-term and long-term effects of the psychological process and personality characteristics, the study and mastering of sports knowledge, the formation of sports skills, the psychological laws of skill training, and the study of people's mental state in sports competitions have very important practical reference significance. Constantly increasing and improving system performance will play an increasingly important role in competitive sports.

Data Availability
e datasets used and analyzed during the current study are available from the author upon reasonable request.

Conflicts of Interest
e author declares no conflicts of interest.