Machine Learning in Mobile Computing: Methods and ApplicationsView this Special Issue
Application of Motion Sensor Based on Neural Network in Basketball Technology and Physical Fitness Evaluation System
Basketball is a sport that requires high athletes’ skills and physical fitness and is deeply loved by the people in our country. This paper studies the application of neural network-based motion sensors in basketball technology and physical fitness evaluation system. The ideal effect of the system is to scientifically analyze relevant data through intelligent algorithms and provide more accurate diagnosis suggestions. Recognizing human movements requires collecting various data of the human body through motion sensors. The data acquisition components of this system are based on considerations of portability and power consumption and are equipped with equipment with strong computing power to realize the functions of data preprocessing, training, and recognition of the recognition model. The system only needs to send the data in the data collector to the computing device; it can effectively realize the action recognition and judge whether the athlete’s technical action and physical fitness level meet the standard. From the experimental data, the pass rate of the subjects in the 1000-meter run was 83.3%, and the excellent rate was 10%; the pass rate in the 1-mile run was 90%, and the excellent rate was 6.7%; and the pass rate in the 20-meter round trip was only at 56.67%; it can be seen that there is still room for improvement in the reaction speed and agility of most subjects. According to intelligent data analysis, athletes can better understand where they have shortcomings and improve their physical fitness and basketball skills through targeted training.
With the advancement of science and technology, intelligent systems have been rapidly developed in various fields, and the availability and use speed of wearable sensor technology have also grown rapidly. The aspects that need to be considered when acquiring athlete information outside the laboratory environment are severely affected and dependent on currently available technologies. Through technological innovation and development, new sensor equipment and systems will provide the possibility for them. Wearable sensor technology is gradually popular in the sports field, which can provide data safely and effectively, promote the development of sports, and meet the needs of coaches and athletes for equipment. Basketball is a sport that requires a constantly changing rhythm, requiring speed, acceleration, and explosive power, such as rebounds, layups, jump shots, and fast breaks. There is a big gap between our country’s basketball skills and the United States and European basketball powers. Therefore, it is particularly important to strive to improve the technical and physical level of basketball players and to train excellent basketball players.
The application of mobile sensors in various fields in foreign countries started early, and many good results have been achieved in the research of intelligent sports systems. Conte conducted research on the physical and technical requirements of young basketball players’ training. In order to examine the physiological and technical requirements of No Game Training (NDGD) and Conventional Training (RD), he tested 19 young basketball players and used Wilcoxon symbols to test and evaluate the relationship between NDGD and RD conditions for each dependent variable. From the experimental results, this research has played a role in optimizing the training program of young athletes, but due to the small number of research objects, it has affected the credibility of the final conclusion . Santos conducted an in-depth study on the changing laws of basketball technical indicators. He conducted a survey on the data of the Brazilian basketball championship from 2005 to 2015 and analyzed the changes in 13 standard indicators in the basketball game. For basketball players, good physical fitness and accurate grasp of technical standards are essential. If the basketball technical indicators and physical fitness evaluation standards can be analyzed through the intelligent system, the scientific nature of basketball training can be further improved .
Although domestic research on artificial neural networks and sports intelligence started relatively late, they have developed rapidly. Yuzhou carried out research on basketball multidirectional training and technical analysis based on BP neural network model. Artificial neural networks can acquire various abilities through learning. If the characteristics of the brain neural network can be used reasonably, an intelligent system with similar functions to the human brain can be designed to process various information. He and his team analyzed the multidirectional training and technical analysis of basketball based on the BP neural network model. Through the analysis of the data, the basketball players’ training and team strategy are optimized. Taking the smallest error and the highest accuracy as the standard, the best method was selected as the predictive model for each performance. From the experimental test results, the model can be helpful to improve basketball training, but more experimental data is needed to improve the accuracy of the model .
Based on artificial neural networks and mobile smart sensors, this paper conducts in-depth research on physical fitness assessment and technical improvement training in basketball training. The research is mainly carried out from the following aspects. This article introduces the technologies and methods involved in the basketball training system, including neural network-based mobile sensors, decision tree classification algorithms, wavelet transform, and system data acquisition technology. Based on the analysis of product requirements, this article has completed the development of the intelligent basketball training system and introduced the overall structure and data modules of the system in detail. Finally, this article starts from the two directions of basketball technical statistical indicators and physical fitness evaluation, combined with experimental data to verify the positive impact of the system in improving the effect of basketball training.
2. Application of Technology in Basketball Test and Evaluation System Based on Neural Network
2.1. Mobile Sensor Based on Neural Network
Artificial neural network is a technology that simulates the neurons of the human brain for abstract processing and realizes information processing by establishing models . With the continuous deepening of neural network research, it has become more and more widely used in the fields of intelligent machines, intelligent recognition, intelligent prediction, and automatic control. Real-time recognition of human body data based on neural networks using mobile sensors can provide data support for intelligent evaluation systems to make scientific decisions [5, 6].
Radio frequency identification technology (RFID) is a kind of communication technology, also called radio frequency identification or electronic tag . It recognizes specific targets and reads data mainly through radio signals. Commonly used technologies mainly include passive, low frequency, ultrahigh frequency, and high frequency. This technology is mainly used for data function positioning in basketball training . The sensor is a kind of signal conversion device, which is mainly composed of a conversion original and a sensitive element. The sensor has the function of sensing external signals and detecting, including heat, light, and humidity, and at the same time transmitting the acquired signals to other organs and devices .
2.2. Decision Tree Classification Algorithm
The human motion data collected by sensors is based on the reference system of each sensor . Since human movement cannot be described in accordance with the sensor’s reference system, such source data cannot be used directly, so it is necessary to classify and process the data through related technologies. Decision tree algorithm is a common machine learning algorithm. When doing machine learning, the decision tree uses a tree structure to resolve the problem one by one . Decision trees make selection judgments at each node, which is similar to the process of human selection when facing some decision problems .
Information entropy, information gain, conditional entropy, and information gain ratio are commonly used in decision trees as the basis for division. Information entropy indicates whether the sample subset is single, that is, the smaller the value, the single the type of data in the set, which means that the division is more ideal . Information entropy is defined as
Assuming that there are possible values for the discrete attribute , the information gain can be calculated according to the weights assigned to the branch nodes according to the number of samples:
According to the definition of information gain, attributes that account for the majority of numbers have inherent advantages and therefore make the division effect worse. The decision tree algorithm is different from the above; it uses the gain rate as the partition index to minimize the impact . Its definition is
This is called the “intrinsic value” of the attribute. At the same time, the decision tree is divided by the Gini index. The Gini value can represent the unity of data, and its definition satisfies
When the decision tree is divided, it will not only encounter discrete values but also divide continuous values. When conducting experiments, sampling is often used to discretize continuous values for continuous variables. For continuous variables, discrete values are essentially processed . Therefore, dealing with the division of continuous variables is essentially dealing with the problem of a large number of possible discrete values of attributes. As samples are sampled, there will be some missing attributes in some samples. If only the samples with values on these attributes are divided, it will lead to a waste of sample sets.
Set each sample to be given a weight and define
Since the classification boundary formed by the decision tree is characterized by being parallel to the coordinate axis, when the boundary of the attribute value to be classified is more complicated, the decision tree must be divided into multiple segments due to the axis-parallel attribute to achieve a good fitting effect. It will increase the number of decision tree layers, which will undoubtedly lead to increased training and prediction costs . Therefore, if the function combination value of multiple attributes can be used for division, it will not only be parallel to the coordinate axis in the multidimensional division plane, which is to find a suitable linear classifier for the node.
2.3. Wavelet Transform
When identifying the specific pattern of data, it is necessary to understand the detailed characteristics of the data, such as the order and quantity of various frequencies, in order to better extract the signal characteristics and construct the recognition model. It is necessary to conduct a comprehensive time-frequency analysis of the signal, so it is necessary to introduce wavelet analysis .
Wavelet analysis decomposes the signal through wavelet transform and analyzes the signal according to the prominent local features of the signal by analyzing the local time domain or frequency domain. This solves the problem that the traditional Fourier transform cannot be analyzed from the global shortcomings of capturing the detailed characteristics of the signal, while solving the problem that the signal cannot be adaptively changed with the change of the signal after the fixed window size decomposition .
Let the expression of a basic function be , and let
Among them, are constants, and is the basic function obtained through translation and expansion. Given a square-integrable signal , the wavelet transform of is defined as
Among them, represents the scale factor and time shift, respectively, and is the basic wavelet. Let the Fourier transform of be , and then, the frequency domain expression of wavelet transform is
A low-pass filter can filter out high-frequency noise to achieve denoising of human body motion data. However, this method cannot filter out the sensor jitter noise that is similar to the human body motion frequency, because the human body motion frequency is not fixed at a certain low frequency, but has a different frequency in each motion . Figure 1 shows the steps of wavelet threshold denoising.
It can be seen from Figure 1 that the basic steps are as follows: wavelet transforms the signal, uses the threshold function to process each layer of wavelet separately, and gets the signal after wavelet reconstruction to remove noise. In the denoising process, by using the threshold function, the noise below the threshold can be effectively filtered out . If the selected threshold is too large, part of the effective information of the signal will be filtered out, resulting in serious signal distortion; if the selected threshold is too small, the denoising will be incomplete. Therefore, the choice of the threshold is related to the quality of the filtering effect.
For the joint distribution of multidimensional independent normal random variables, when the data tends to infinite dimensionality, the optimal threshold is calculated according to the maximum and minimum limits of the estimated data . The constraints are
where represents the standard deviation of noise and represents the signal length. represents the square value of the wavelet coefficient, and assuming that the risk vector is , the element in it satisfies
Find the minimum value from as the risk value, and then, the corresponding can be obtained according to the above formula.
The basic idea of the extreme value criterion is to estimate the threshold value by producing the extreme value of the smallest mean square error. The threshold estimation formula is
On the whole, different threshold estimation methods have different denoising effects. Therefore, in actual application, it is necessary to consider the thresholds obtained by different threshold estimation methods to compare the signal denoising effects .
2.4. System Data Acquisition Technology
The collection of basketball technology and data belongs to the process of automatically collecting information, and the sources of data collection are mainly other equipment under test and sensors . The system has user-defined and flexible functions, with 8 slots and 4 slots as commonly used, but based on sensors and technical physical fitness tests, there are obstacles in data fusion, and further development is needed to realize the combination of network computers and sensors. To ensure the feasibility and accuracy of signal detection and then form a complete detection system , in this system, the sensor is a device that outputs signals and senses the measured size. Data is the main transmission content. When the above functional systems exist as independent individuals, the data transmission must be transmitted step by step. The data processing is mainly the conversion processing of the sensor output signal. The measurement results are displayed in analog or digital and recorded by an automatic recording device .
3. Simulation Experiment of Basketball Technique and Physical Fitness Evaluation System Based on Neural Network
3.1. Experimental Background
The country has always attached great importance to the improvement of the overall quality of the masses, hoping to promote the overall development of the masses’ moral, intellectual, and physical capabilities. However, due to the impact of exam-oriented education, the lack of physical education teachers in grassroots schools has resulted in relatively low quality of physical education in grassroots schools. Basketball is one of the most popular sports in our country, but even professional basketball players cannot always keep one-on-one accompany training when they are training. At this stage, our country has also done a lot of research on basketball training, mainly from the perspective of analyzing common training problems and changing classroom teaching methods. However, the current problems in various physical education have not been well resolved. To this end, this article will use neural network-based mobile sensors to try to combine basketball technical training and physical fitness assessment with an intelligent system to improve the efficiency of basketball teaching. Participants in this experiment include 3 senior basketball coaches, 3 professional basketball players, and 30 basketball enthusiasts with varying technical levels. In this article, 30 subjects were divided into 6 groups (5 people in each group) of similar levels, and they were asked to wear mobile sensors to complete the required basketball technical action and physical fitness assessment items.
3.2. Experimental System Structure Design
Before proceeding with the system structure design, this article conducted a research and analysis of the basic functions of the product and determined that the main task of the system is to improve the scientific nature of the athlete’s physical fitness assessment and provide targeted training and guidance programs for athletes to improve their basketball skills. With a detailed understanding and comprehensive analysis of the physical fitness characteristics and competition rules of basketball sports, the evaluation system of basketball physical fitness and technology is constructed by modern technology.
For intelligent systems, a reliable source of information and data is the basic prerequisite for intelligent analysis. When an athlete wears a smart device with a built-in mobile sensor, the instrument can detect the athlete anytime and anywhere and it can also achieve rapid multiparameter detection and feedback in terms of test data. The intelligent system uses a microcomputer as the data processing software monitoring processor, which can effectively complete the conversion of electronic signals to digital signals and has the characteristics of automation in scoring processing. The data analysis software also has the characteristics of networking and intelligence. It is the main reference basis for the analysis of technical actions.
The system mainly includes the following components: data analysis and performance recording software, basketball technical index database, and basketball special tester. The selected core control device is a single-chip microprocessor, the processing and analysis modes mainly include B/S mode and C/S mode, and the front end of collecting intelligent data mainly includes a single-chip microprocessor, sensor, and corresponding interface circuit.
3.3. Data Module Design of Experimental System
The overall system is divided into three parts, namely, the data acquisition part, the data transmission part, and the data processing part. The data processing part to complete the functions including data preprocessing, training, and recognition of the recognition model is the key to the entire system. Considering that if an embedded device is used for algorithm implementation, it is necessary to select the device and the system architecture for this problem. The overall implementation cost and complexity are relatively high. At the same time, the PC also has certain portability. At the same time, it has PC equipment and development cost. And the complexity is low, so the PC is used to implement the algorithm here. Figure 2 shows the system data preprocessing process.
It can be seen from Figure 2 that the process of data preprocessing is as follows: firstly, pass data verification to determine the correctness of the data packet, then parse the data packet to obtain the decimal value of the original data, and finally filter the signal. After filtering the data, the data is transformed with coordinate axes to obtain the coordinates of the human body travel reference system. Finally, the digital features are calculated for these coordinates, and finally, the feature vector is obtained, and the feature vector is given to the algorithm module as input.
4. Motion Sensor Based on Neural Network in Basketball Technology and Physical Fitness Evaluation System
4.1. Motion Sensor Based on Neural Network in Improving Basketball Technical Training
Basketball technical statistics is one of the methods used by sports researchers to organize, analyze, and research basketball game data. It has been widely used in basketball games today. It can intuitively and scientifically analyze some basketball game-related data. Coaches use data analysis to better study its own advantages and disadvantages, in order to finally win the game, help the team to formulate reasonable countermeasures, and implement the formulation plan; and the postgame summary needs to combine data statistics, field performance, etc. to make the game summary reach more accurate and targeted purpose. It is helpful to summarize the reasons for the failure and find out the winning method and avoid the same mistakes in the next game; through the accumulation and dataization of basketball game statistics, the establishment of a game database for the team and players can better understand the growth of the team and players to understand the player’s training effect and the completion of tactics; at the same time, it also sets the task of playing technical and tactical indicators for the basketball team and players.
The only way to score in a basketball game is through the technical action of shooting, so the technical action of shooting is the most critical in basketball technology. The field goal percentage is an important indicator for evaluating the offensive team’s shots. It is classified as two-pointers, three-pointers, and free throws. The calculation formula is field goal percentage = total field goal attempts/full field goal attempts. If the scoring is only supported by the number of shots, then the total field goal percentage does not reflect the shooting efficiency, and the coach may lose the right to know the team’s offensive effect and affect the next tactical arrangement. Table 1 and Figure 3 are the statistics of shooting angle and distance.
From Table 1 and Figure 3, it can be seen that the common shooting strategies of different groups are determined by the players’ technical preferences. For example, the probability of left shots in Group A is 43.0%, and the probability of close shots and midrange shots is as high as 86.1%. In subsequent matches, the opposing coach can make strategic deployments to this point to make their players pay more attention to the left side infield defense. Table 2 and Figure 4 are the analysis of players’ shooting scores.
From Table 2 and Figure 4, it can be seen that there is also a big difference in the players’ shooting scores. For example, the fast break scores organized by the D players have 29 points, while Group E has only 13 points, which shows the fast break of the D players. Ability is much stronger than that in Group E. In addition, players in different groups have different shooting percentages for three-pointers, two-pointers, and free throws. In this case, the coach can analyze the technical indicators of the shooting area, not only make tactical arrangements but also clearly see the number of two-pointers, three-pointers, free throws, and hits of the team and each player through the data. Calculate the shooting percentage of players. Collect shooting hot zone data to make targeted defensive tactics in order to win the game. Figure 5 shows the number of dribbling rolls of the player during the dribble.
In basketball, even seemingly ordinary actions have relatively strict technical standards. For example, the most common is dribbling. Many players are prone to dribbling and turning their wrists, which leads to the violation of “carrying the ball.” In the course of the experiment, this article sets a stricter index for the dribbling wrist roll, taking 90 degrees and 0 seconds as the “critical value of the -axis angle of the motion sensor” and “the duration of exceeding the critical value” as the initial values. It can be seen from Figure 5 that while adjusting the parameter self-convergence, the effective monitoring ratio of the sensor is also constantly changing. From the recognition of professional coaches, when the -axis angle value of the motion sensor is at a critical value of 105°, the system has the best effect on correcting the wrong posture of the dribble turning wrist. Table 3 and Figure 6 are the statistics of the number of players’ technical errors.
Except for some minor posture errors, players may make varying degrees of errors during dribbling, shooting, rebounding, and passing. If the offensive efficiency represents the points obtained by each offensive and defensive conversion in a team game, the defensive efficiency represents the points obtained by the opponent for each offensive and defensive transition during the team competition. Offensive efficiency and defensive efficiency are added to the number of team offensive and defensive conversions, allowing this indicator to evaluate the offensive and defensive capabilities of each team based on a scientific and equal principle.
From Table 3 and Figure 6, it can be seen that Group A made fewer mistakes in dribbling and passing, but made more mistakes in shooting and rebounding. Group F had a higher number of mistakes in all aspects, which means that players need to be stronger. The coach can also set the corresponding target based on the team’s average turnover rate. The coach can evaluate the performance of the team and the opponent in terms of ball control through the indicator of the turnover rate.
4.2. Motion Sensor Based on Neural Network in Physical Fitness Evaluation
For basketball players, good physical fitness is a necessary condition for sports competition. A large amount of data information is usually involved in physical fitness assessment. These physical data not only change rapidly but also have no obvious symbolic meaning. In this case, the use of wireless sensors and intelligent analysis systems can help coaches better understand the physical fitness of athletes.
In the experiment in this article, the physical fitness of basketball players will be tested through four items: 1000-meter running, 1-mile running, 20-meter round-trip running, and 12-minute long-distance running. Table 4 is the test result table of the athletes’ endurance item.
It can be seen from Table 4 that the average score of the subjects in the 20-meter round-trip run was 71.95 laps, the score in the 12-minute run was 2448.8 meters, the score in the 1-mile run was 478.13 seconds, and the score in the 1000-meter run was 252.48 seconds. Figure 7 shows the statistics of the athletes’ 20-meter round-trip test data.
According to the physical fitness evaluation standard, this article believes that the data of an adult male in a 20-meter round trip should reach 70 laps to be considered qualified. It can be seen from Figure 7 that only 17 of the test subjects in this article have reached the eligibility standard. Although the overall average score is 71.95 laps, there is still room for improvement in physical fitness for some people. Figure 8 is the athletes’ 1000-meter test data.
According to the physical fitness evaluation standard, this article believes that the data of adult males in the 1000-meter run should be at least 272 s to be considered qualified. From the data in Figure 8, the average score of the 30 subjects was 252.48 s, of which 2 did not meet the pass standard and 3 reached the excellent standard. Figure 9 is the athletes’ 1-mile test data.
According to the physical fitness evaluation standard, this article believes that the qualified data for an adult male in a 1-mile run is 7:00-8:30 (min/s). From the data in Figure 9, the average score of the 30 subjects was 478.13 s, of which 1 did not meet the eligibility standard and 2 reached the excellent standard.
Taken together, it can be found that most of the subjects’ data in various physical fitness tests are only at the qualified level, and the number of excellent ones is still small. For basketball, endurance, explosiveness, and agility are all very important physical indicators. If you want to further improve your own basketball level, you can use the intelligent evaluation system to understand your shortcomings more clearly and perform targeted physical fitness work out.
In this paper, through the study of basketball technical statistical index system, according to the basketball technical statistical index system in professional competitions, the representative technical indicators are selected, and these indicators are analyzed, and their significance and function are explained. To build a complete and scientific technical statistical indicator system, “make contributions.” This article conducts in-depth exploration and research on technical indicators such as scoring, rebounds, assists, turnovers, and hit rate and obtains effective hit rate, true hit rate, rebound efficiency, offensive and defensive conversions, offensive and defensive efficiency, assist rate, turnover rate, shooting area, scoring composition and other technical indicators which can be more intuitive, scientific, and comprehensive analysis of the substantive issues of the game. The technical indicators of rebounding are the analysis of offensive and defensive rebounding efficiency, combining the offensive and defensive conversion times of both sides to study the team’s offensive and defensive efficiency; in the assist and turnover technical indicators, the offensive and defensive conversion times are added to analyze the assist efficiency and turnover efficiency.
This article uses mobile sensors and intelligent systems to evaluate the physical fitness of the subjects. The test items include four kinds, namely, 1000-meter running, 1-mile running, 20-meter round-trip running, and 12-minute long-distance running. From the test data, there is still room for improvement in the physical fitness of most subjects. Among them, the pass rate for the 1000-meter run was 83.3%, and the excellent rate was 10%; the pass rate for the 1-mile run was 90%, and the excellent rate was 6.7%; and the pass rate for the 20-meter round-trip run was only 56.67%. Compared with long-distance running, round-trip running is more a test of athletes’ short-term explosiveness and agility. In the follow-up exercise, subjects can start from this aspect to improve their overall physical fitness and lay the foundation for improving comprehensive basketball skills.
On the whole, the research of this article has achieved certain results. Due to the limitations of various aspects, the research still has certain deficiencies. In the future, this article suggests that the research can be improved from the following aspects: (1) starting from the changes in basketball technical indicators, further discuss the scientific nature of the technical indicators; (2) on the shooting area, assist rate, and offensive and defensive conversion times, carry out more detailed analysis; and (3) optimize intelligent algorithms to improve system data analysis and processing capabilities.
No data were used to support this study.
Conflicts of Interest
The authors declare that they have no conflicts of interest.
This work was supported by Jouf University, Sakaka, Al-Jouf, KSA.
Y. Y. S. D. Santos, L. A. Monezi, M. S. Misuta, and L. A. Mercadante, “Technical indicators registered as a function of the playing time in Brazilian basketball,” Revista Brasilra de Cineantropometria e Desempenho Humano, vol. 20, no. 2, pp. 172–181, 2018.View at: Google Scholar
G. Yuzhou and H. Qi, “Research on multi direction training and technical analysis of basketball based on BP neural network model,” International Journal for Engineering Modelling, vol. 31, no. 1, pp. 54–60, 2018.View at: Google Scholar
M. T. B. Florentino, E. G. da Costa, T. V. Ferreira, and A. D. Germano, “Spectral subband centroid energy vectors algorithm and artificial neural networks for acoustic emission pattern classification,” Advances in Electrical and Computer Engineering, vol. 19, no. 3, pp. 49–56, 2019.View at: Publisher Site | Google Scholar
W. Wang, “Digital logistics warehouse management system based on radio frequency identification technology,” Science, Technology and Engineering, vol. 19, no. 2, pp. 170–174, 2019.View at: Google Scholar
P. Rajesh, M. Karthikeyan, B. Santhosh Kumar, and M. Y. Mohamed Parvees, “Comparative study of decision tree approaches in data mining using chronic disease indicators (CDI) data,” Journal of Computational and Theoretical Nanoscience, vol. 16, no. 4, pp. 1472–1477, 2019.View at: Publisher Site | Google Scholar
A. A. Shah, B. S. Chowdhry, T. D. Memon, I. H. Kalwar, and J. A. Ware, “Real time identification of railway track surface faults using canny edge detector and 2D discrete wavelet transform,” Annals of Emerging Technologies in Computing, vol. 4, no. 2, pp. 53–60, 2020.View at: Publisher Site | Google Scholar