Swimming athlete training load prediction method based on PCA-PNN

文档序号:1161861 发布日期:2020-09-18 浏览:36次 中文

阅读说明:本技术 一种基于pca-pnn的游泳运动员训练负荷预测方法 (Swimming athlete training load prediction method based on PCA-PNN ) 是由 田磊 周近 于 2020-04-23 设计创作,主要内容包括:一种基于PCA-PNN的游泳运动员训练负荷预测方法,Step1:特征指标选取和数据库构建;Step2:主成分分析构建PNN网络输入量;Step3:构建PNN游泳运动员训练负荷预测模型。本发明提供一种基于PCA-PNN的游泳运动员训练负荷预测方法,该方法通过研究运动员的训练负荷影响融合特征,来构建游泳运动员训练负荷预测模型,以评估一个游泳运动员的训练安排。(A swimming athlete training load prediction method based on PCA-PNN, Step 1: selecting characteristic indexes and constructing a database; step 2: the main component analysis constructs PNN network input quantity; step 3: and constructing a PNN swimmer training load prediction model. The invention provides a swimming athlete training load prediction method based on PCA-PNN, which constructs a swimming athlete training load prediction model by researching training load influence fusion characteristics of athletes so as to evaluate training arrangement of a swimming athlete.)

1. A swimming athlete training load prediction method based on PCA-PNN comprises the following specific steps;

step 1: selecting characteristic indexes and constructing a database;

selecting characteristic indexes of a load prediction model from three aspects, namely basic information data, training data and physiological and biochemical data of a swimmer, wherein the data are from a training analysis system of a national-level swimming center, a trainer uploads characteristic information and training load evaluation of the swimmer to a MYSQL database in real time for storage, when a sample set is selected, useless data need to be deleted, the athlete ID and training date of the training data are taken as basis, if other data of the MYSQL database have missing items, the training data is abandoned, each sample of the sample set can be represented as a characteristic input vector with the dimension of 21, the training load corresponding to each characteristic vector is classified into the grades of overlarge training amount, undersize training amount and moderate training amount;

step 2: the main component analysis constructs PNN network input quantity;

constructing a Principal Component Analysis (PCA) method to eliminate the correlation among all indexes, wherein the specific method comprises the following steps:

step2.1 constructs an original swimmer index matrix as X according to the sample set,

Figure FDA0002463618980000011

Step2.2 normalizes the data: firstly, calculating the mean value of the characteristic indexes of each athlete

Figure FDA0002463618980000012

Step2.3 calculates a correlation coefficient matrix R among all characteristic indexes,

Figure FDA0002463618980000016

step2.4 calculating the characteristic value of the correlation matrix R as lambda12,...,λnSatisfy lambdafMore than or equal to 0(f is 1,2,.. n), and the unitized feature vector corresponding to the feature value is marked as p1,p2,...,pnSelecting the first s main components as the comprehensive index for representing the swimmer, and then obtaining the comprehensive index vector of the ith athlete characteristic sample;

Tis=(yi1,yi2,...,yis)=(xi1,xi2,...,xin)[p1,p2,...,ps]wherein y isi1,yi2,...,yisS composite indicators of the ith athlete characteristic sample;

step 3: constructing a PNN swimmer training load prediction model;

the constructed PNN swimming athlete training load prediction model consists of an input layer, a hidden layer, an accumulation layer and an output layer, wherein the input layer receives PCA (principal component analysis) to extract a comprehensive index vector T of an athlete feature sample to be predictedsAs an input vector X*

The neuron node of the hidden layer has a center, the layer receives the sample input of the input layer, calculates the distance between the input vector and the center, and finally returns a scalar value, the number of the neurons is the same as the number of the input training samples, namely the total training sample number m and the vector X*The j neuron of the i type input into the hidden layer determines an input/output relational expression of

Figure FDA0002463618980000021

Where i is 1,2,3 represent three types of athlete load predictions, respectively, d is the dimension of the sample space data, Xij *Is the jth center of the ith sample, and sigma is a smoothing factor;

the accumulation layer mainly has the main functions of linear summation and weighted average, the output of the neurons of the same type in the hidden layer is weighted average, the number of the neurons in the layer is the same as the total number of the sample types, the number of the neurons is 3, each neuron respectively corresponds to one athlete load prediction type, and the precondition that the accumulation layer and the hidden layer neurons establish a connection relation is that the accumulation layer and the hidden layer neurons belong to the same type;

Figure FDA0002463618980000022

in the formula, PhIs the output of class h category, h is 1,2, 3;

the output layer is composed of competitive neurons, the number of the neurons is the same as the total number of types of training samples, the number of the neurons is 3, each neuron corresponds to one type of athlete load prediction respectively, and also corresponds to a neuron node of the accumulation layer, the neuron is used for judging a critical value for the output of the accumulation layer, the neuron with the maximum posterior probability density in the output layer is output as 1, and the other outputs are 0, so that the training load prediction type result of the swimmer can be obtained.

2. The PCA-PNN based swimmer training load prediction method of claim 1, wherein the basic information data of the swimmer in step one is 5, specifically the height, weight, age, gender and body mass index, wherein gender is real number coded, male is 0 and female is 1.

3. The PCA-PNN based swimmer training load prediction method of claim 1, wherein there are 5 training data aspects of the swimmer in step one, specifically maximum oxygen intake, swimming duration, training item type, leg swing and hand swing, respectively.

4. The PCA-PNN based swimmer training load prediction method of claim 1 wherein 11 physiological and biochemical data of step one swimmer are blood oxygen saturation, urine PH, urine protein, urobilin, leukocyte count, hemoglobin, platelet count, erythrocyte count, urea nitrogen, creatine kinase and testosterone, respectively.

Technical Field

The invention belongs to the field of athlete training load prediction methods, and particularly relates to a swimming athlete training load prediction method based on PCA-PNN.

Background

In the competitive swimming sports, the development of the athletic ability of athletes depends on whether the material selection method of the athletes is scientific or not, and also depends on whether the training mode and the method in years of training are reasonable or not and whether the sports load arrangement is proper or not. Training is the important daily content in sportsman's career, and the sportsman can promote the competitive level of self through reasonable training, but too big messenger's sportsman is injured, and too little training can not reach the training effect. Meanwhile, if athletes in different states are treated by the same training mode and load arrangement, the training cannot play a role, even if the training is excessive, the technology is damaged, and the athletic performance of the athletes is reduced for a long time. Training load arrangement needs to be carried out according to the change of different physiological conditions and environmental factors of the athlete, and by combining with knowledge of multiple disciplines such as data mining, sports physiology, biomechanics and the like, the athlete can obtain physical fitness for improving professional technical performance by using a reasonable, effective and more compact method. Thus, it can be said that scientific training arrangements are critical to excellent swimmer performance.

However, the existing training load arrangement aiming at the swimmer does not have a complete and reliable framework, and does not fully play the important role of excellent trainers in popularizing scientific swimming competitive sports training, so the applicant designs a swimming athlete training load prediction method based on PCA-PNN.

Disclosure of Invention

In order to solve the problems, the invention provides a swimming athlete training load prediction method based on PCA-PNN, which constructs a swimming athlete training load prediction model by researching the training load influence fusion characteristics of athletes so as to evaluate the training arrangement of a swimming athlete, and for the purpose, the invention provides a swimming athlete training load prediction method based on PCA-PNN, which comprises the following specific steps;

step 1: selecting characteristic indexes and constructing a database;

selecting characteristic indexes of a load prediction model from three aspects, namely basic information data, training data and physiological and biochemical data of a swimmer, wherein the data are from a training analysis system of a national-level swimming center, a trainer uploads characteristic information and training load evaluation of the swimmer to a MYSQL database in real time for storage, when a sample set is selected, useless data need to be deleted, the athlete ID and training date of the training data are taken as basis, if other data of the MYSQL database have missing items, the training data is abandoned, each sample of the sample set can be represented as a characteristic input vector with the dimension of 21, the training load corresponding to each characteristic vector is classified into the grades of overlarge training amount, undersize training amount and moderate training amount;

step 2: the main component analysis constructs PNN network input quantity;

constructing a Principal Component Analysis (PCA) method to eliminate the correlation among all indexes, wherein the specific method comprises the following steps:

step2.1 constructs an original swimmer index matrix as X according to the sample set,wherein xijThe j index of the ith player characteristic sample is m, the total sample number is n, the player characteristic number is n, and n is 21.

Step2.2 normalizes the data: firstly, calculating the mean value of the characteristic indexes of each athleteAnd standard deviation ofThen calculating the normalized index matrixEach element

Step2.3 calculates a correlation coefficient matrix R among all characteristic indexes,

Figure BDA0002463618990000026

wherein r isuvThe correlation coefficient of the u-th characteristic index and the v-th characteristic index,

step2.4 calculating the characteristic value of the correlation matrix R as lambda12,...,λnSatisfy lambdafMore than or equal to 0(f ═ 1,2,. n), and the unit feature direction corresponding to the feature valueQuantity is denoted as p1,p2,...,pnSelecting the first s main components as the comprehensive index for representing the swimmer, and then obtaining the comprehensive index vector of the ith athlete characteristic sample;

Tis=(yi1,yi2,...,yis)=(xi1,xi2,...,xin)[p1,p2,...,ps]wherein y isi1,yi2,...,yisS composite indicators of the ith athlete characteristic sample;

step 3: constructing a PNN swimmer training load prediction model;

the constructed PNN swimming athlete training load prediction model consists of an input layer, a hidden layer, an accumulation layer and an output layer, wherein the input layer receives PCA (principal component analysis) to extract a comprehensive index vector T of an athlete feature sample to be predictedsAs an input vector X*

The neuron node of the hidden layer has a center, the layer receives the sample input of the input layer, calculates the distance between the input vector and the center, and finally returns a scalar value, the number of the neurons is the same as the number of the input training samples, namely the total training sample number m and the vector X*The j neuron of the i type input into the hidden layer determines an input/output relational expression of

Where i is 1,2,3 represent three types of athlete load predictions, respectively, d is the dimension of the sample space data, Xij *Is the jth center of the ith sample, and sigma is a smoothing factor;

the accumulation layer mainly has the main functions of linear summation and weighted average, the output of the neurons of the same type in the hidden layer is weighted average, the number of the neurons in the layer is the same as the total number of the sample types, the number of the neurons is 3, each neuron respectively corresponds to one athlete load prediction type, and the precondition that the accumulation layer and the hidden layer neurons establish a connection relation is that the accumulation layer and the hidden layer neurons belong to the same type;

Figure BDA0002463618990000032

in the formula, PhIs the output of class h category, h is 1,2, 3;

the output layer is composed of competitive neurons, the number of the neurons is the same as the total number of types of training samples, the number of the neurons is 3, each neuron corresponds to one type of athlete load prediction respectively, and also corresponds to a neuron node of the accumulation layer, the neuron is used for judging a critical value for the output of the accumulation layer, the neuron with the maximum posterior probability density in the output layer is output as 1, and the other outputs are 0, so that the training load prediction type result of the swimmer can be obtained.

As a further improvement of the invention, the basic information data of the swimmer in the step one are 5, specifically, the height, the weight, the age, the gender and the body mass index are respectively as follows, wherein the gender adopts a real number coding form, the male is 0, and the female is 1.

As a further improvement of the invention, 5 training data of the swimmers in the step one are provided, specifically, the maximum oxygen intake, the swimming time, the training item type, the leg swing number and the hand swing number are respectively as follows.

As a further improvement of the invention, there are 11 physiological and biochemical data of the swimmer, step one, specifically blood oxygen saturation, urine pH, urine protein, urobilin, white blood cell count, hemoglobin, platelet, red blood cell count, urea nitrogen, creatine kinase and testosterone.

The swimming athlete training load prediction method based on the PCA-PNN has the following specific advantages;

(1) the basic data, the training data and the physiological data of the swimmer are fused to predict the load level of the swimmer, wherein the basic data, the training data and the physiological data are respectively overlarge in training amount, undersize in training amount and moderate in training amount, and the method can provide important references for the swimmer to formulate a reasonable and scientific training plan;

(2) the PCA extracts the comprehensive indexes of the swimmers, can subtract the interference of linear correlation quantity in the original indexes, and reduces the network complexity of the subsequent PNN prediction network.

(3) The method uses the PNN algorithm, has high prediction precision, no model parameter to be trained, high training convergence speed and high real-time performance, realizes random nonlinear approximation, and can be better applied to the training load prediction of athletes.

(4) The PNN hidden layer adopts a radial basis function (Gauss function), considers the mutual influence among different types of samples, is insensitive to abnormal data, and is from the subjective evaluation of experts aiming at the data of athlete training load prediction, wherein unreasonable subjective judgment is inevitable, the PNN can effectively solve the problem, and the established model has better generalization.

Drawings

FIG. 1 is a frame of the swimmer training load prediction method based on PCA-PNN of the present application;

FIG. 2 is a PNN prediction network model based on comprehensive characteristic indexes.

Detailed Description

The invention is described in further detail below with reference to the following detailed description and accompanying drawings:

the invention provides a swimming athlete training load prediction method based on PCA-PNN, which constructs a swimming athlete training load prediction model by researching training load influence fusion characteristics of athletes so as to evaluate training arrangement of a swimming athlete.

As an embodiment of the invention, the invention provides a PCA-PNN-based swimmer training load prediction method framework as shown in figure 1, and a PNN prediction network model based on comprehensive characteristic indexes as shown in figure 2.

Step 1: selecting characteristic indexes and constructing a database;

the invention selects the characteristic indexes of the load prediction model from three aspects, namely basic information data, training data and physiological and biochemical data of the swimmer. The number of basic information data is 5, namely height, weight, age, gender and body mass index, wherein the gender adopts a real number coding form, male is 0, and female is 1; the number of training data is 5, and the training data is respectively the maximum oxygen uptake, the swimming time, the training item type, the leg swing number and the hand swing number; there are 11 aspects of physiological and biochemical data, blood oxygen saturation, urine PH, urine protein, urobilin, white blood cell count, hemoglobin, platelets, red blood cell count, urea nitrogen, creatine kinase, and testosterone. The data is from a training analysis system of a national-level swimming sport center, and a trainer uploads characteristic information and training load evaluation of athletes to a MYSQL database in real time for storage. When selecting the sample set, useless data is firstly deleted, the athlete ID and the training date of the training data are taken as the basis, and if other data of the MYSQL database have missing items, the training data is abandoned. Each sample of the sample set can be represented as a feature input vector with the dimension of 21, and the classification of the training load corresponding to each feature vector is respectively that the training amount is too large, the training amount is too small, and the training amount is moderate.

Step 2: the main component analysis constructs PNN network input quantity;

on the premise of ensuring enough information quantity of original data, the original multidimensional index variable data is subjected to dimensionality reduction, the number of indexes can be compressed, the data can be simplified, and comprehensive index data can be extracted. Principal Component Analysis (PCA) was constructed to eliminate the correlation between indices. The specific method comprises the following steps:

step2.1 constructs an original swimmer index matrix as X according to the sample set,wherein xijThe j index of the ith player characteristic sample is m, the total sample number is n, the player characteristic number is n, and n is 21.

Step2.2 normalizes the data: firstly, calculating the mean value of the characteristic indexes of each athleteAnd standard deviation of

Figure BDA0002463618990000053

Then calculate the targetNormalized index matrixEach element

Step2.3 calculates a correlation coefficient matrix R among all characteristic indexes,

Figure BDA0002463618990000056

wherein r isuvThe correlation coefficient of the u-th characteristic index and the v-th characteristic index,

step2.4 calculating the characteristic value of the correlation matrix R as lambda12,...,λnSatisfy lambdafMore than or equal to 0(f is 1,2,.. n), and the unitized feature vector corresponding to the feature value is marked as p1,p2,...,pn. The first s main components are selected as the comprehensive index for representing the swimmer, and then the comprehensive index vector of the ith athlete characteristic sample is provided

Tis=(yi1,yi2,...,yis)=(xi1,xi2,...,xin)[p1,p2,...,ps]Wherein y isi1,yi2,...,yisS composite indicators for the ith player characteristics sample.

Step 3: constructing a PNN swimmer training load prediction model;

the model used is a Probabilistic Neural Network (PNN), the algorithm is a forward type neural network, probability density distribution estimation is obtained by using a Gaussian function as a basis function and a Parzen window method, and then the probability density distribution estimation is developed by combining with a Bayesian minimum risk criterion. The constructed PNN swimmer training load prediction model consists of an input layer, a hidden layer, an accumulation layer and an output layer. Aiming at the load prediction sample of the athlete to be predicted, the input layer receives PCA (principal component analysis) to extract the characteristics of the athlete to be predictedComprehensive index vector T of symbolic samplesAs an input vector X*

The neuron node of the hidden layer has a center, the layer receives sample input of an input layer, calculates the distance between an input vector and the center, and finally returns a scalar value, and the number of the neurons is the same as the number of input training samples, namely the total training sample number m. Vector X*The j neuron of the i type input into the hidden layer determines an input/output relational expression of

Where i is 1,2,3 represent three types of athlete load predictions, respectively, d is the dimension of the sample space data, Xij *σ is the smoothing factor for the jth center of the ith class of training samples.

The main function of the accumulation layer is linear summation and weighted average. And performing weighted average on the output of the neurons of the same category in the hidden layer, wherein the number of the neurons in the hidden layer is the same as the total number of the sample types, the number of the neurons is 3, and each neuron corresponds to one athlete load prediction category respectively. The precondition for the accumulation layer and the hidden layer neuron to establish the connection relationship is that the accumulation layer and the hidden layer neuron belong to the same type.

Figure BDA0002463618990000062

In the formula, PhThe output of class h, h is 1,2, 3.

The output layer is composed of competitive neurons, the number of the neurons is the same as the total number of types of training samples, the number of the neurons is 3, and each neuron corresponds to one athlete load prediction category and also corresponds to an accumulation layer neuron node. And the method is used for judging a critical value for the output of the accumulation layer, outputting the neuron with the maximum posterior probability density in the output layer as 1, outputting the rest of neurons as 0, and checking the corresponding category of 1 to obtain the training load prediction type result of the swimmer.

The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, but any modifications or equivalent variations made according to the technical spirit of the present invention are within the scope of the present invention as claimed.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:在狭小空间实现自行车户外运动功能的装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!