Auxiliary Decision Support Model of Sports Training Based on Association Rules

In sports or fitness training, nonstandard movements will affect the training effect and even lead to sports injuries. However, the standardmovements of various sports activities need professional guidance, so it is difficult to find out whether themovements are standard or not. In recent years, body pose estimation has become a hot topic in computer vision research. A deep learning model can effectively identify the human nodes and movement trajectory in pictures or videos and evaluate the movements of the target human body. However, the movement process is generally covered by others or the situation of nearby personnel, which leads to the deviation of the movement recognition of the human body and affects the evaluation of the movement. *us, it is unable to effectively correct the wrong movement, but will mislead the training personnel. *erefore, this paper proposes a novel decision support model for sports training based on association rules. We use posterior probability settings to reveal the weights of the discriminative ability of attribute items and set the classification performance to reflect the weights of three measures to evaluate credit contribution. *us, the learning threshold setting reflects the weight of the decision-making ability of sports training. Furthermore, compared with traditional association rules, attribute items, frequent item sets, and classification rules that can improve the decision-making performance of sports training are discovered, which complement the deficiencies of different measures. Finally, using the weighted voting strategy to fuse the decision-making information of the classification rules, we can effectively assist in sports training so that the coach can work out corresponding countermeasures and realize scientific management.


Introduction
When people participate in sports training [1][2][3], sports instructors [4][5][6] play a vital role. e instructor is responsible for the movement guidance, health care [7][8][9] guidance, and health assessment [10,11] of sports activities and various exercises. Due to the rigorous involvement of sports instructors, athletes can master scientific exercise methods and correct techniques, which eventually and effectively improve the level of exercise and achieve sports training. However, the number of sports instructors and the number of exercises in our country live far from each other, causing many exercisers and athletes in our country to lack professional guidance. Even in physical education classes [12][13][14], it is difficult for teachers to pay attention to every student's move during exercise. Suppose the movement is wrong during sports training. In that case, it will fail to achieve the exercise effect and even be harmful to the body. erefore, there is an urgent need for intelligent sports training supervision and guidance programs.
With the revolutionary progress in the field of artificial intelligence [15][16][17][18][19] research, it has become possible to use intelligent machines to replace humans to perform simple and repetitive tasks, serve human life, and liberate productivity. Human-computer interaction is a hot topic of artificial intelligence technology research. However, it is not a simple matter to allow machines to learn and understand our human instructions and communicate with humans. e process of human-computer interaction requires machines to recognize and complete human instructions and work accordingly accurately. Human body pose estimation technology is currently an effective way to realize human-computer interaction [9]. However, it is common for other people to visually obstruct the subject during the exercise process, which in turn leads to deviations in recognition of human actions, which then affect the evaluation of the actions and ultimately mislead trainers to correct the wrong actions effectively.
At present, the standard of movement is judged by naked eye observation. e shortcomings of this judgment method are low efficiency, too subjective, lack of objectivity, and lack of unified quantitative indicators [10,11].
ere is little research on computer vision technology application in sports training [16][17][18][19]. It only uses artificial intelligence technology to recognize athletes' movements to obtain athletes' body posture information. However, there is no standard, and no work has been found on the issue when other foreign objects block a part of the athlete's body or the movement is highly symmetrical. e current network structure will not be able to accurately recognize the athlete's body posture and thus cannot be evaluated and analyzed. Such recognition results will have many limitations. e decision support system is an interactive computer system that can provide decision makers with valuable information and an environment for creative thinking and learning and help decision makers solve semistructured and unstructured decision-making problems. Its merits are mainly reflected in its support for the whole process of decision-making, especially its ability to support each stage of the decision-making process. is undoubtedly provides powerful means to control the sports training process. is paper constructs a sports training decision support model, combining association rules and adaptive weighted decision fusion based on the above observation. Association rule mining based on a priori is a process to obtain strong association rules by mining frequent item sets in the data set according to a given measure (support, confidence, or weighted chi-square). However, different attribute items, measures, and rules have different discriminating abilities to sports training decisions. erefore, this paper uses a posteriori probability to set the weight to reveal the discriminant ability of attribute items, embodies the weight to evaluate the credit contribution degree of the three measures through the classification performance setting, and reflects the weight to evaluate the credit contribution degree of the rules through the learning threshold setting. Furthermore, compared with traditional association rules, attribute items, frequent item sets, and classification rules can improve the performance of sports training decisionmaking better, complementing the shortcomings of different measures. Finally, the weighted voting strategy is used to fuse the decision information of classification rules. e following are the main contributions of this paper: (1) In this paper, the posterior probability is used to set the weight of the discriminative ability of the attribute item. e weight of the three measures to evaluate the credit contribution degree is reflected by the classification performance setting. e threshold of learning sets the weight of the credit evaluation ability of the rule. Furthermore, compared with traditional association rules, attribute items, frequent item sets, and classification rules that can improve the decision-making performance of sports training are discovered, which complements the deficiencies of different measures. (2) is paper uses association rules to reduce the dimensionality of high-dimensional data, realizes decision information fusion through five similarity measures, and builds a sports training auxiliary decision support model that combines multiview similarity measures and association rules.

Related Work
Human research in the field of human motion analysis technology has gone through a long process. Its history is much earlier than modern computer vision [20][21][22] technology. It can even be traced back to the fifteenth century. In order to better depict specific movements of the human body and create lifelike works, Leonardo da Vinci, a world-famous painter, has done some work on the force of the limbs and the state of muscle tissue when the human body performs these movements. In the nineteenth century, the French scientist Mahler invented the "Mahler Photographic Gun." is invention enabled continuous photography to move from dream to reality. It can show moving objects on the same film. During this period, British videographer Muybridge developed an animal experiment mirror, which can achieve rapid and continuous projection of moving objects. ey have all made many contributions towards recording human movement.
Some research work on motion perception opened the prelude to the use of image sequences to study human motion. In his experiment, he put LED lights on the human body joints (such as wrists, ankles, and knees). He then made the human body perform actions in a dark environment. In this case, only the relevant nodes are visible. Recording the position and combination of light spots during exercise is equivalent to recording the movement of the human body. Its experimental results show that these light spot combinations can distinguish human movement. Later, with developing disciplines such as computer vision, artificial intelligence, pattern recognition, and image processing, these disciplines have also joined the research team on human motion analysis. e study of human motion is a typical research problem of nonrigid body motion. Although there is a relatively complete and comprehensive research theory for rigid body motion research, the research on nonrigid body motion of a typical nonrigid structure like human motion is still in a relatively preliminary stage. Compared with the depth of people's research in the field of rigid motion, people still have a long way to go for the motion analysis research technology of nonrigid structures. In human motion analysis research, model-based human motion analysis methods need to rely on prior knowledge about the human body. When using this method for research, a 2D or 3D model of the human body must be established first. e feature vector of the model-based human motion analysis method is mainly obtained from the model, and the establishment of the human body model is a relatively complicated process, so it is less used in practical applications. e model-free method does not require the establishment of a human body model. is method directly extracts features from the image sequence to describe human actions. Commonly used features include contours, area perimeter ratios, and trajectory regions of interest, which are generally specific. e corresponding feature descriptor is extracted from the recognition behavior, and then, the corresponding feature space is established as the expression of the behavior to be recognized in the computer. At present, the model-free method is widely used in the research of human behavior recognition. Many scholars at home and abroad have been conducting much scientific research on extracting highly robust feature vectors and efficient recognition algorithms [23] easily. In summary, this article adopts an auxiliary decision-making model for sports training based on association rules.

Methodology
is paper uses the Hotelling T 2 statistic to measure the similarity of human motion from the perspective of parameter hypothesis testing, selects the Jensen-Shannon difference to measure the similarities and differences of the sports training effect from the perspective of the information contained in the distribution, and selects the cosine distance to measure the motion from the perspective of the vector direction the difference in training effect.

Similarity Measure.
e Hotelling T 2 statistic is a generalization of the multivariate T-ratio distribution. In fact, the square of T-ratio for univariate data is a special case of Hotelling T z distance. It has many acquaintances with Mahalanobis distance. e calculation equation is Hotelling T 2 is a unitless value that uses a single standard deviation to describe the distance between two samples. Among them n 1 and n 2 are sample sizes and X and Y are sample averages.
e Hotelling T 2 statistic is a unitless metric that is often used to measure data changes, and it is also suitable for high-dimensional data.
e Jensen-Shannon difference is also called (Jensen-Shannon divergence), which measures the similarity between two probability distributions. It solves the problem of asymmetry of KL divergence. e J-S divergence is symmetric, and its value is between 0 and 1. It is defined as follows: where p and q are two distributions.
e cosine of the angle in the geometry of the cosine distance can be used to measure the difference between two vector directions. is concept is used in machine learning to measure the difference between sample vectors. e cosine distance in n-dimensional space is as follows: where x and y are n-dimensional vectors.

Weighted Fusion.
is paper proposes a decision fusion algorithm for the fusion of multiple similarity measures. e important idea is to use multiclassifier fusion technology to perform weighted voting fusion on decision information of three different similarity measures: Hotelling T 2 statistic, Jensen-Shannon difference, and cosine distance. Given the matrix L, L � l 11 l 12 · · · l 1n It consists of class labels determined by a single classifier, where l ij represents the classification label of sample j using classifier i, N is the category number, m is the total number of samples, and n is the number of classifiers. e weight w i of the classifier i represents its classification performance for m samples: In order to make the final decision on the label prediction, the voting decision matrix is defined as V: erefore, the final decision equation is the dot product of the weighted vector W � [w 1 , w 2 , . . . , w n ] and the voting decision matrix V is as follows: where V(j) is the jth column of the voting matrix V.

Association Rules.
Association rules are a combination of association rule mining and classification technology and play an important role in the decision-making process of many applications and fields [24]. e purpose of association rule technology is to discover the correlation or association between items. In contrast, classification technology [25] is responsible for predicting class labels. For example, suppose the support or confidence of the generation rule is greater than or equal to the given minimum support or confidence.
In that case, some items with strong correlation can be mined from the data, frequent item sets. Let T � t 1 , t 2 , . . . , t n and X be n different items x 1 , x 2 , . . . , x n , c 1 , c 2 in the data set. A ⟶ c is the classification association rule, where A⊆X and c means it belongs to the c 1 , c 2 category. For example, the rule A ⟶ c 1 can be interpreted as if the attribute A appears in the rule; then, we say that the rule belongs to the first category.
Shannon's diary is also called information diary, which reflects the relationship between the amount of information and the uncertainty of information. For example, given x, its Shannon's direct is where p j represents the posterior probability of item x, N represents the number of possible categories, and H(x) calculates the amount of information of item x. e larger the entropy is, the smaller the amount of information of the item is and the weaker the item's ability to classify instances with item value x. Use H(x) to calculate the assigned weight W(x) of item x:

Experimental
Setup. e hardware equipment tested in this article is a LENOVO 20DEAOIJCD, the processor is AMD A8-7100 Radeon R5, 8 Compute Cores 4C + 4G, 1800 MHz, the memory is 8.OO GB, and the hard disk storage is 1 TB; a GPU is equipped with NVIDIA Tesla P40 Server, GPU architecture is NVIDIA Pascal, GPU memory is 24 GB, single-precision floating-point computing capacity reaches 12 trillion floating-point operations per second, and maximum power consumption is 250 W. e operating system is CentOS 7.5 (1804) and the development tool is matlab 2019, which is shown in Table 1.

Dataset.
is paper uses GolfDB as the experimental data set, which is a high-quality golf swing video data set created specifically for golf swing motions and used for golf swing motion recognition. GolfDB contains 1,400 golf swing video samples, with a total of more than 390 K frames of video data, which are collected manually from YouTube video sites with 580 regular speed and slow-motion golf swing motion videos. It is the most important for golf swing motion recognition. To ensure that the club is visible and reduces motion blur, the sampling only considers 30 fps, 720 p resolution video. e video mainly intercepts the swing movements of 248 professional golfers in the game video from PGA, LPGA, and Champions Tours obtained from different angles of different scenes of the golf course, such as driving range, tee, bunkers, and fairways. e dataset is freely available online at https://github.com/wmcnally/ GolfDB.

Data Augmentation.
In view of the complex light source problems that may occur in the actual detection scene of the golf course and the target object scale problem caused by the different camera shooting angles and distances, this paper proposes a data enhancement scheme to expand the dataset so that the dataset can simulate various complex scenes and improve the generalization ability of the model in complex scenarios. For the open-air golf course, the strong sunlight source, as shown in Figure 1, adopts the method of increasing the image exposure value and the image contrast to simulate the overexposure environment of the camera.

Evaluation Methods.
is paper uses precision, recall, and average precision to evaluate the performance of the model.
Precision is the degree to which measurements exhibit the same result when conditions are unchanged. It is calculated as the number of true positive divided by the number of true positive and false positive predictions and is calculated as A recall is the fraction of all the positive predictions to overall positive examples in the dataset. It is a measure of sensitivity in binary classification. It is a probability of positive predictions retrieved by a classifier. A recall is calculated as follows: Average precision is a measure that utilizes recall and precision and is the area under the precision and recall curve. Average precision (AP) is the average of (un-interpolated) precision values at all ranks where relevant documents are found. e calculation equation is as follows:

Experimental
Results. e random sampling method of 1000 sample data is to select 10% of the sample population randomly for 10 times as training samples. is allows all samples in the population to have an equal chance of selection. e algorithm in this paper is compared with the five similarity measure methods, and the experimental results are shown in Figure 2.
From Figure 2, we can see that the recognition rates of the four similarity measures, Chebyshev distance, Hamming distance, cosine distance, and Jensen-Shannon difference, have increased slightly after processing the experimental data, especially by the five similarities measurement methods. e recognition rate of the fusion algorithm in this paper has always been at a high level. When the training sample is less than 500, the recognition rates of the three similarity measures of CFMSM-AR, Chebyshev distance, and Hamming distance have small fluctuations. In contrast, the other three lateral degree methods have large fluctuations. It can be seen and is evident from the result that our algorithm has better robustness.
Considering that the classification performance of the three measures, Support (SUP), Confidence (CONF), and weighted chi-square (WCH), is sometimes inconsistent, we take the weighted sum of measures as an integrated measure. In this experiment, we randomly selected a subset composed of 1000 data points from the original dataset. en, we set the training sample ratio to 25%, 50%, and 75% in three cases by randomly segmenting the training and test samples. Figures 3-5 show the classification accuracy of the four measures (SUP, CONF, WCH, and integration measure) obtained in these cases. In addition, the experimental results show that the proposed integration measure is always superior to the other three measures (SUP, CONF, and WCH).

Conclusion
is paper proposes a decision support model for sports training based on association rules. We use a posteriori probability setting to reveal the weights of the attribute items' discriminant ability and set the classification performance to reflect the weights of the three measures for evaluating credit contributions. e setting of the learning threshold reflects the importance of decision-making ability in sports training. In addition, compared with the traditional association rules, attribute items, frequent item sets, and classification rules are found to improve decision-making in sports training, which makes up for the shortcomings of different measures. Finally, the decision information of classification rules can be integrated with the weighted voting strategy, which can effectively assist the sports training, make the coaches work out the corresponding countermeasures, and realize the scientific management.
We understand that the current study's true advantage may be achieved by providing a web predictor that is available to the research community, coaches, and management for its utilization and further enhancement.
erefore, efforts will be made in the future to make this study available online.

Data Availability
e data used to support the findings of this study are included within the article.

Conflicts of Interest
e authors declare that they have no conflicts of interest.