Time Series Data Prediction and Feature Analysis of Sports Dance Movements Based on Machine Learning

Sports dance is a competition project and a kind of sports, with the characteristics of being smooth, generous, leisurely, and comfortable, dance steps, smooth movements, and flowing clouds, and it can give full play to the indoor space. In the light of the new era, sports dance is also playing an increasingly important role. Through the time series data and feature analysis of dance sports movements through machine learning, the internal information is mined to find the trends and laws. Machine learning in the era of big data is widely used in research as the main tool for data analysis and mining. The key difficulty of data mining has always been time series data. Machine learning refers to a method of using the resulting data in a computer to derive a certain model and then using this model to make predictions. The core is “using algorithms to parse data, learn from it, and then make decisions or predictions about new data.”


Introduction
is paper is based on how machine learning analyzes the time series data prediction and characteristics of dance sport movements. e process of machine learning is similar to the learning process of human beings, such as people learning mathematical theoretical models to establish logical thinking skills, analyzing and predicting things [1]. For example, chatbots-chatbots is one of the earliest forms of learning that allows humans and machines to communicate and dialogue, from which to fill the communication gap between humans and technology. For example, machines can act according to human demands or requirements [2]. e earliest is to write scripts, put the script in the machine to compile and run so that these machines have a chat function, and the script code run by the machine will make the machine recognize and let the machine according to what keywords to take what action. But there is another member of the AI family, the acceptance of machines and the use of language recognition (NLP) [3]. Let us take the interactivity and productivity generated by chatting with machines to the next level [4].
e new generation of chatbots can more effectively handle the needs of users and move forward like human-to-human communication [5]. Machine learning's algorithms are used in a wide variety of digital assistants, and this technology can be applied to the new B2C and C2C to find ways to update the traditional way of chatting with robots [6]. Communicating with robots is one of the most widely used machine learning applications in the commercial world [7]. Some AI assistant scripting languages can analyze when relevant questions need to be asked and when to ask questions and demands from humans identification classification [8]; multimedia live platform chatbots can satisfy users' use, search, and pass good music to friends and family, and at the same time, they can also enjoy the relevant music recommended by AI robots according to their personal preferences for us to enjoy [9]; during the rush hour of traffic jam, we need to take a taxi. en you can take a taxi online through the relevant software, use the relevant software or other platforms or related request services, and receive the basic information of the driver and related vehicles that come to pick us up, such as the license plate number, color, and model of the vehicle [10]. Machine learning is also used in organizational structures, and sophisticated learning and neural networks help them analyze images [11]. Machine learning-related technologies like this which have a high breadth of applications in social media sites want to put signs on photos of other media sites, as well as road cameras and store monitoring [12]. Groups that maintain safety such as Sky Eye conduct real-time monitoring, detection, and identification of criminal behavior; later, driverless cars are driven on smooth and wide roads. Retail investors also have many applications in various aspects such as the classification of images and the recognition and analysis of images. For example, install cameras in warehouses, connect the cameras to the computer, use the computer's visual system and the self-learning system to scan the relevant items on the current shelves, and identify and determine whether there are items that are misplaced, random, or out of stock; you can also use the scanner to scan the goods taken out of the shopping cart using image recognition technology to make the goods be identified one by one. is reduces the loss of sales formed in an unintentional state; it can also be used to use image recognition in the computer through cameras, surveillance, sky eyes, and other devices to analyze whether there is suspicious activity or illegal and criminal behavior (such as smoking on high-speed rail or carrying unauthorized dangerous goods or equipment) [13]. Although most of the machine learning is highly specialized for a certain need, most merchants still try the highly specialized technology of machine learning to shorten the business process, making it easy and fast to optimize the process of collaborative processing of daily business, especially financial transactions and software development such as banks, securities companies, and other related financial transactions [14]. From the early days to the present, the most widely used applications are in the financial organization, IM, and companies' business processes, as well as software development and testing. Most departments, such as VCs and operations, are using machine learning techniques to improve the efficiency of their own departments, thereby creating more value for the company [15]. Because human energy is always limited, machine learning techniques can be used to reduce work cycles, reduce errors, and speed up work efficiency. In machine learning, we can give it a time to form a cycle according to the time we set, automatically troubleshoot errors, detect problems, and give problems to the relevant technicians in a cycle, so that we can reduce the effort on it, thereby reducing unexpected problems and interference caused by unplanned work [16]. In addition, in software testing, machine learning techniques can be added to black and white box testing and automated testing, which greatly improves the speed of software testing so that software development is faster and cheaper. Sometimes we need to extract structured critical data in documents that cannot be extracted directly, because not all data is structured and stored in unstructured and semistructured formats; that is, we need to apply NLP's machine learning technology to help us extract key structured data in related documents [17]. Experts say applying machine learning-related techniques to understand documents is a great opportunity for all aspects of life. Companies can do this, from tax returns to invoices to statutory contracts, all of which can improve efficiency and accuracy and free the work force [18] from positions that are seen as day-to-day work. Most of the smartphone's capabilities also come from machine learning. For example, voice assistants, from setting alarm clocks to finding language assistants in restaurants to decoding facial recognition phones, Apple's Siri, Xiaomi's Little Love, and Google Assistant, establish a dance sport movement time series data prediction and feature analysis based on machine learning to explore the characteristics of them for overall development.  [19]. e capture of dances in sport includes contact and no contact in equipment, electromagnetic, inertial, machine, and optical terms, which record the movements through specific man-machine instruments, and the noncontact type includes a monocular RGB-D camera or a monocular RGB camera and a depth camera.

Dance Sport Movement Data Files.
e dance sport movement acquisition system stores the acquired data to capture the movements in a file as BVH, which is parsed out after the action capture, which is the general format of the animation characteristic file through the human body function. It is well supported on many well-known animation software programs (flash, TV Painter, Blender3D) [20]. e representation of the human body therein is the skeleton model in the picture above, which is then expressed through the structure of the tree. BVH contains data on the movement of limb joints of characters performing dance sport movements.

Wavelet Transform.
e basic solution of the wavelet transform (WT) is to represent the action signal as a set of wavelets, which can obtain information about the time and frequency domain of the action signal. e two most commonly used types of wavelet transform in WT include 2 Computational Intelligence and Neuroscience the continuous wavelet transform (CWT) and the discrete wavelet transform (DWT) [21]. Continuous wavelet transforms are expressed as follows: is called a base wavelet or a mother wavelet; it is called a scaling factor (or scale); τ is the ψ * s ,τ (t) conjugate of the translation factor. When the harmony can be continuously changed, the wavelet change at this time is called the continuous wavelet transform ψ s,τ (t)sτ CWT. Due to the complexity of the calculation of the continuous wavelet transform and the high degree of redundancy, it is not suitable for practical applications. erefore [22], the DWT is obtained by discretizing the scaling factor in the CWT. Bring it in (2) (s � s m 0 τ � n τ 0 s m 0 m, n ∈ Z) to get discrete wavelets: e discrete wavelet transform is e decomposition process of DWT is equivalent to going through a high-pass filter and a low-pass filter, followed by using a binary decimation algorithm for downsampling.
e DWT decomposition and reconstruction process is shown in Figure 1. H and L are decomposition filters, where H is a high-pass filter and L is a low-pass filter; after decomposition, a downsampling operation is required. H′, L′ is a reconstruction filter; likewise, H′ is a high-pass filter and L′ is a low-pass filter.

Static Wavelet Transform.
Since the discrete wavelet decomposition uses a binary decimation algorithm to downsample the action, the wavelet coefficient will be reduced by one-half after each decomposition, so the details of the original action will be lost in each decomposition. e stationary wavelet transform (SWT) that removes the downsampling and upsamples the filter solves this problem. e SWT decomposition reconstruction process is shown in Figure 2, in which the output components of the high-pass filter and the low-pass filter are no longer downsampled, but the upper filter is upsampled to obtain a decomposition of the high-pass filter and low-pass filter in each step [23]. e detail and approximate components after each decomposition of the static wavelet are the same as the length of the original action signal, which ensures that the characteristics of the movement are preserved to the greatest extent possible and are also conducive to the analysis and study of sports dance movements. e single-step multiscale static wavelet decomposition process of the action signal is similar to the single-step multiscale discrete wavelet decomposition process, as shown in Figure 3.

ERD Models.
e ERD model was proposed by Frigidaria [24]. It is an encoder-loop unit-decoder (ERD) model used to identify and predict human posture in video and motion capture [25]. e main way it runs is to obtain a new prediction frame by continuously putting the prediction frame of the previous step into the model, so as to achieve the effect of multiframe prediction; the specific method he achieves is to encode the human action data through the fully connected network and put it into the recurrent neural network to predict the next action state according to the memory information of the previous time, and then the obtained data vector is decoded through the corresponding full connection layer, obtain the action data, and reconstruct the action through a certain reconstruction method to obtain the prediction result. Its main structure is shown in Figure 4.

Conversion between Dance Sport Movement Data and
Trainable Data. Since the sports dance action data recorded in the dataset is in the form of quaternions, the rotation amplitude of one of the movements consists of four numbers between −1 and 1, and the continuity in the number value is not strong, so the original movement data needs to be processed to a certain extent.
at is, it proposes exponential mapping of raw data, which can effectively avoid data discontinuities and Vientiane knot locks [26]. e process is as follows: To find the rotation matrix rotationmat, where rotationmat is the original exponential mapping matrix, according to the rotation r matrix to find the rotation quaternion, the process is as follows: In the above equation, R is the rotation matrix, which eventually yields quaternion.
Due to the particularity of the heel node, if it controls the rotation mode and angle of the entire human body, we hope that the human body can have a certain stability, so the human root node is unchanged for the translation of the ground plane and for the rotation of gravity perpendicular to the ground (assuming that the ground surface is horizontal).

Comparative Experiments.
e experiment selected 30 personnel for dance steps, outer dance steps, preparatory outside dance steps, reflexive movements, reflexive action positions, lifting, swinging, and other 7 kinds of sports dance movements in the same time and place to complete the experiment; the experiment does not constrain the behavior habits of the testers; participating students who take the test only need to complete the experiment in their own way. In this comparative experiment, the first adopts the traditional human movement pattern information collection method, and the second adopts the motion pattern recognition method of the accelerator and the sensor. ere is a sports dance movement A, a dance step T, an outer dance step N, a preparatory outer dance step W, and a reflexive movement A. e experimental results of the reflexive action position of F lifting and descending to H and swinging to M are shown in Tables 1 and 2. According to Tables 1 and 2, we can conclude that the difference between the dance steps and several other  movements is very high, so the recognition is 100%; the difference between the reflex and reflexive action positions is very small, so its recognition is very low. Specific parameters are identified as shown in Table 3.
As can be seen from Figure 5, traditional recognition technology can identify a variety of action patterns, and its recognition accuracy is balanced at 90.1%. e recognition of reflexive action and reflexive action position is low. When integrated with the accelerometer, its recognition accuracy can be balanced to 94.3%. Compared with the previous recognition accuracy, its recognition accuracy is balanced upward by 4.2 percentage points, and the result is better.     Computational Intelligence and Neuroscience 5 sports dance movements, and they were divided into two groups; that is, the regular group completed the experiment according to their own behavior, and the training group conducted sports dance movement analysis and teaching. e two sets of results are then compared and analyzed. Because the height, weight, and age of the students participating in the test are basically the same, the P value is greater than 0.06, so the elements related to the body will not affect the experimental results. eir situation is shown in Table 4.
From Table 5 and Figure 6, it can be seen that the indicators of the conventional group and the training group are basically the same, and after the t-test is carried out on both groups, P is above 0.05, which depends on the initial situation of the two groups.
From Table 6 and Figure 7, it can be seen that, under the same initial conditions, the sports dance indicators of the trained students can be improved. roughout the dance movements, the angle and speed of each movement change periodically. After making appropriate modifications to the movement predictions of the time series data, the comparison curve of the angle and speed of the movements during the process of performing the dance sport movements is shown in Figure 8.

Data Processing.
e experiments set the mean and variance of the prediction accuracy as p and p(1 − p), respectively. Due to different experiments, the prediction reversibility of the algorithm is now statistically zero, so the correct random variable with a mean of p is f, and its variance decreases as p(1 − p)/N with the increase of the repeated simulation experiment coefficient N, and when N>100, it is close to the normal distribution. is makes it possible to construct a positive-tyrannous random variable: e following equation is then passed with the confidence level c determined: z values can be extrapolated from a probability table. e true value p can be obtained using the calculation method of probability theory, with the interval boundary value c of the probability approaching f .
± gives two values, the upper and lower bounds of the confidence.
When collecting data, the duration of each action is relatively short, and it cannot correspond well to the data      obtained individually, so, by obtaining several pieces of action cycle data, clustering is divided, and the results and data are analyzed by curve comparison to determine the action period to which the data belongs. As shown in Figures 9 and 10, the clustering results correspond to the two-dimensional three-point plot of the action.  Computational Intelligence and Neuroscience Table 1 shows the type II prediction confusion matrix. For one class, for example, the "Dance Sport" class in Table7, set to T the correct class, and the other is the negative class F, so that the true positive (TP), true negative (TN), false positive (FP), and false negative (FN) are verified. So, the correct rate of classification of an action is e maximum value is 1, and the action is the best. Table 8 shows the cost matrix of the three classification projections. e cost matrix represents the cost caused by prediction error and correctness, the correct cost is 0 and the cost of error is 1, so the cost of the resulting statistical error is the number of errors, as shown in Table 8.
e first thing we need to consider for different movement performances is the rising chart, which represents the total number of students testing SCORP movements and the proportion of students practicing SCORP, and the vertical axis represents the correct prediction rate, as shown in Figure 11. e cost curve is an action corresponding to a straight line, the purpose of which is that the action changes with the distribution of the class, as shown in Figure 12; the horizontal axis represents the probability of a certain class of samples in the training sample, and the vertical axis represents the expected error. Predictions made for only one of these types are represented by two diagonal lines, decisions are always erroneously represented by horizontal dotted lines, and horizontal lines indicate that predictions are always correct.

Data Results
Analysis. According to the experiment, the model of the article is compared with the performance of the support vector machine and the decision tree motion analysis model, and the results of three different models are observed from different aspects of accuracy and page response, and the specific experimental data are shown in Table 11.
As shown in Table 11, 8 images were taken at different distances on the same circuit board; the closest one was set as the template, and the remaining 7 groups of different images were tested to calculate the matching accuracy of various models. e method of detecting the response time of different models is to increase the number of tests and observe the average response time of different models.
As can be seen from Figure 13, among the 8 image samples used in our experiment, the multisensor motion analysis model has the highest accuracy, followed by the vector machine motion analysis model and the decision tree motion analysis model.

Conclusion
is paper mainly studies the use of machine learning to predict the timing data of sports dance movements and applies wavelet deformation and static wavelet variation based on the characteristics of time series data in the implementation of the algorithm.
rough the implementation of the algorithm of time series data prediction, and then through the acquisition of the action data analysis model, the acquired data is transformed, and then the characteristics of the action are learned, including the encoder-loop unit-decoder (ERD) model. en, a comparative experiment was conducted to verify this method, and the data collected were analyzed and processed to obtain the advantages of time series data prediction and feature analysis of dances in sport based on machine learning. at is, the action time series data prediction of machine learning is suitable for sports dance moves. However, due to the fact that the structure used does not have a higher level of supervision, the effect is not ideal in some aspects, although some results have been achieved here, but further research can be carried out, for example, (1) studying using seq2seq structure; (2) a combination of time and space studied using structure-run, a corresponding spatial attention model; (3) deeper use of Python and Unity3D for research.

Data Availability
e experimental data used to support the findings of this study are available from the corresponding author upon request.

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