Abstract

In sports or fitness training, nonstandard movements will affect the training effect and even lead to sports injuries. However, the standard movements of various sports activities need professional guidance, so it is difficult to find out whether the movements 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. Thus, it is unable to effectively correct the wrong movement, but will mislead the training personnel. Therefore, 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. Thus, 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.

1. Introduction

When people participate in sports training [13], sports instructors [46] play a vital role. The instructor is responsible for the movement guidance, health care [79] 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 [1214], 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. Therefore, there is an urgent need for intelligent sports training supervision and guidance programs.

With the revolutionary progress in the field of artificial intelligence [1519] 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. The 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. The shortcomings of this judgment method are low efficiency, too subjective, lack of objectivity, and lack of unified quantitative indicators [10, 11]. There is little research on computer vision technology application in sports training [1619]. 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. The 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.

The 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. This undoubtedly provides powerful means to control the sports training process.

This 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. Therefore, 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 decision-making better, complementing the shortcomings of different measures. Finally, the weighted voting strategy is used to fuse the decision information of classification rules.

The 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. The weight of the three measures to evaluate the credit contribution degree is reflected by the classification performance setting. The 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)This 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.

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 [2022] 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.” This 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. They 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.

The 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. The 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. The model-free method does not require the establishment of a human body model. This 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. The 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.

3. Methodology

This paper uses the Hotelling 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.

3.1. Similarity Measure

The Hotelling 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 Tz distance. It has many acquaintances with Mahalanobis distance. The calculation equation is

Hotelling is a unitless value that uses a single standard deviation to describe the distance between two samples. Among them and are sample sizes and and are sample averages. The Hotelling statistic is a unitless metric that is often used to measure data changes, and it is also suitable for high-dimensional data.

The 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. The J-S divergence is symmetric, and its value is between 0 and 1. It is defined as follows:where and are two distributions.

The cosine of the angle in the geometry of the cosine distance can be used to measure the difference between two vector directions. This concept is used in machine learning to measure the difference between sample vectors. The cosine distance in n-dimensional space is as follows:where and are -dimensional vectors.

3.2. Weighted Fusion

This paper proposes a decision fusion algorithm for the fusion of multiple similarity measures. The important idea is to use multiclassifier fusion technology to perform weighted voting fusion on decision information of three different similarity measures: Hotelling statistic, Jensen–Shannon difference, and cosine distance. Given the matrix ,

It consists of class labels determined by a single classifier, where represents the classification label of sample using classifier , is the category number, is the total number of samples, and is the number of classifiers. The weight of the classifier i represents its classification performance for samples:

In order to make the final decision on the label prediction, the voting decision matrix is defined as :

Therefore, the final decision equation is the dot product of the weighted vector and the voting decision matrix is as follows:where is the th column of the voting matrix .

3.3. 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]. The 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 and be different items in the data set. is the classification association rule, where and means it belongs to the category. For example, the rule can be interpreted as if the attribute 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 , its Shannon’s direct iswhere represents the posterior probability of item , represents the number of possible categories, and calculates the amount of information of item . The 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 to calculate the assigned weight of item :

4. Experiments and Results

4.1. Experimental Setup

The 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. The operating system is CentOS 7.5 (1804) and the development tool is matlab 2019, which is shown in Table 1.

4.2. Dataset

This 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. The 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. The dataset is freely available online at https://github.com/wmcnally/GolfDB.

4.3. 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.

4.4. Evaluation Methods

This 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. The calculation equation is as follows:

4.5. Experimental Results

The random sampling method of 1000 sample data is to select 10% of the sample population randomly for 10 times as training samples. This allows all samples in the population to have an equal chance of selection. The 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. The 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. Then, we set the training sample ratio to 25%, 50%, and 75% in three cases by randomly segmenting the training and test samples. Figures 35 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).

5. Conclusion

This 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. The 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. Therefore, efforts will be made in the future to make this study available online.

Data Availability

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

Conflicts of Interest

The authors declare that they have no conflicts of interest.