CN116167412A - Exercise heart rate prediction method based on time convolution network - Google Patents

Exercise heart rate prediction method based on time convolution network Download PDF

Info

Publication number
CN116167412A
CN116167412A CN202310161397.1A CN202310161397A CN116167412A CN 116167412 A CN116167412 A CN 116167412A CN 202310161397 A CN202310161397 A CN 202310161397A CN 116167412 A CN116167412 A CN 116167412A
Authority
CN
China
Prior art keywords
data
heart rate
time
exercise
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310161397.1A
Other languages
Chinese (zh)
Inventor
杨良怀
孙甜甜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University of Technology ZJUT
Original Assignee
Zhejiang University of Technology ZJUT
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University of Technology ZJUT filed Critical Zhejiang University of Technology ZJUT
Priority to CN202310161397.1A priority Critical patent/CN116167412A/en
Publication of CN116167412A publication Critical patent/CN116167412A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/103Detecting, measuring or recording devices for testing the shape, pattern, colour, size or movement of the body or parts thereof, for diagnostic purposes
    • A61B5/11Measuring movement of the entire body or parts thereof, e.g. head or hand tremor, mobility of a limb
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7203Signal processing specially adapted for physiological signals or for diagnostic purposes for noise prevention, reduction or removal
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7225Details of analog processing, e.g. isolation amplifier, gain or sensitivity adjustment, filtering, baseline or drift compensation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/725Details of waveform analysis using specific filters therefor, e.g. Kalman or adaptive filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7271Specific aspects of physiological measurement analysis
    • A61B5/7275Determining trends in physiological measurement data; Predicting development of a medical condition based on physiological measurements, e.g. determining a risk factor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/049Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/011Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • Biophysics (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Surgery (AREA)
  • Veterinary Medicine (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Physiology (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Psychiatry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Evolutionary Computation (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Cardiology (AREA)
  • Fuzzy Systems (AREA)
  • Power Engineering (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Dentistry (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a motion heart rate prediction method based on a time convolution network, which comprises the following steps: step 1: and collecting historical data of heart rate and longitude and latitude in the exercise process of the students, converting exercise speed and acceleration data, processing abnormal values, and carrying out normalization processing and data set division on the data. Step 2: and constructing a time convolution network model. And training a network model by using the divided training data set, and selecting and storing a model with the best prediction result by using the test data set. Step 3: and collecting heart rate and longitude and latitude data of recent student exercise, preprocessing, inputting a trained neural network model, and carrying out inverse normalization on the model output value to obtain an exercise heart rate prediction result. The invention uses the time convolution network to receive the multi-sequence speed and acceleration input, avoids the problem of gradient explosion or disappearance which often occurs in the cyclic neural network, and has the parallel characteristics that the processing efficiency is higher and the processing speed is faster.

Description

Exercise heart rate prediction method based on time convolution network
Technical Field
The invention belongs to the field of sports health, and particularly relates to a sports heart rate prediction method based on a time convolution network.
Background
In recent years, students in colleges and universities have poor overall physical quality and tend to slip down year by year. Students in colleges and universities use the student as a main backup force for social construction, and a good physical quality is a precondition for active learning or work. Although colleges and universities can adopt physical health test and other modes to urge students to exercise, the physical health test and the exercise can only be used as feedback of the physical quality of the students, and the problems faced by the physical quality of the students can not be reflected and monitored well in real time and corresponding measures can be taken. On the other hand, researches show that the heart rate (the number of times of heart beating in one minute) in the exercise process can accurately reflect the exercise intensity and exercise load of the sporter, the exercise process can be reasonably guided according to the level of the real-time heart rate and the personal condition of the sporter, the injury risk caused by unreasonable exercise is reduced, and the physical quality of the sporter is improved.
With the development of wearable technology, people have been able to measure and collect their own heart rate by mobile devices (e.g., exercise bracelets). The large-scale popularization of the exercise bracelet brings great convenience for recording the exercise process of students and counting the exercise data of the students, saves a great deal of manpower compared with the traditional manual recording, and solves the defect that the traditional method cannot know the specific situation in the exercise of the students. The school can monitor the daily exercise condition of students by checking statistical data or prescribing corresponding exercise times, can analyze heart rate data collected in the exercise process of the students, and can conduct personalized guidance and monitor the long-term change of the constitution of the students aiming at the individual constitution problem of the students.
There are still problems with using a sports wristband to monitor heart rate during actual sports. On the one hand, due to various reasons such as limitation of the exercise bracelet, temperature influence and the like, the heart rate measured and displayed by the exercise bracelet sometimes has a certain deviation from the actual heart rate of an athlete, and the exercise artifact phenomenon occurs, so that the actual situation of the exercise of the student can not be reflected well. On the other hand, the price of the sport wristband is approximately hundreds of different, the sport wristband is relatively expensive, the problem of insufficient budget can exist in independent purchase of students or in mass collective purchase of schools, and certain difficulty is brought to the use of mass high coverage of campuses. For such cases, only speed data, not heart rate data, may be acquired while the student is in motion.
Disclosure of Invention
Based on the problems to be solved mentioned in the background art, the invention provides the exercise heart rate prediction method, which can predict the heart rate time sequence through the speed and acceleration data of the exercise process and correct the true exercise heart rate to a certain extent. The invention adopts the following technical scheme:
an exercise heart rate prediction method based on a time convolution network comprises the following steps:
step 1: and collecting historical data of heart rate and longitude and latitude in the exercise process of the students, converting exercise speed and acceleration data, processing abnormal values, and carrying out normalization processing and data set division on the data.
Step 2: constructing a time convolution network model, training the network model by using the divided training data set, and selecting a model with the best prediction result by using the test data set for storage.
Step 3: and collecting heart rate and longitude and latitude data of recent student exercise, preprocessing, inputting a trained neural network model, and carrying out inverse normalization on the model output value to obtain an exercise heart rate prediction result.
Further, the student movement history data collected in the step 1 is of a time series data type, and the collection frequency is once per second. During exercise, the students wear and start a bracelet heart rate acquisition function to acquire exercise real-time heart rate data; and recording the motion through intelligent application, and collecting the real-time longitude and latitude position data of the motion. The specific steps of the step 1 are as follows:
1) In order to solve the problem of missing or abnormal acquired data and remove data noise, the invention adopts the following preprocessing. Deducing a corresponding speed and acceleration sequence by using the acquired longitude and latitude information; carrying out Kalman filtering on the obtained speed and acceleration sequence; and judging whether the data is abnormal according to the maximum fluctuation threshold value of the heart rate per second for the heart rate data, and deleting the heart rate at the time point if the data is abnormal. Whereas interpolation is used to fill in data that is missing or that requires multi-dimensional alignment.
2) Unifying time steps of the preprocessed data sets, performing zero filling operation on data which are smaller than the set time steps, and performing cutting operation on data which are larger than the set time steps.
3) And (5) carrying out normalization processing on the time sequence of the speed, the acceleration and the heart rate in the data set.
4) According to 3: the 1 scale randomly divides the data set into a training set and a test set.
The data obtained after step 1 can be expressed as
Figure BDA0004094278850000021
Time series data representing the speed from the start time to the T time,/->
Figure BDA0004094278850000022
Time series data representing acceleration from start time to T time, y 1:T Representing heart rate sequence data from the start time to the T time.
Further, the neural network model in the step 2 has an overall structure including: and the superposition and output layers of the front-stage and rear-stage time convolution networks comprise a plurality of residual blocks. The specific steps of the step 2 are as follows:
1) Velocity data
Figure BDA0004094278850000031
Acceleration data->
Figure BDA0004094278850000032
Time information from start time to T time +.>
Figure BDA0004094278850000033
As three dimensions of input data, sequentially passing through an expansion convolution layer and a batchThe normalization layer, the ReLU activation layer, and the discard layer, the dilation convolution can be expressed by the following formula:
Figure BDA0004094278850000034
where d represents the expansion ratio, f represents a filter of size k, x represents a one-dimensional sequence input, and s represents a sequence element.
2) And performing layer jump connection in a residual block formed by two layers of convolution structures with the same expansion rate, and combining the output results of the 1X 1 convolution and the expansion convolution layers by using the formula:
o=Activation(X+F(X))#(2)
where X represents the input and F (X) represents the output of the convolution module. The step eliminates the influence of network gradient elimination and explosion to a certain extent, and avoids the condition of different input and output widths, and the Activation is an Activation function.
3) And after a plurality of residual blocks, obtaining the output of the front-stage time convolution network, taking the output as the input of the rear-stage time convolution network with the same structure, and finally obtaining a prediction result through a full connection layer.
4) And calculating the predicted result and the loss of the normalized real heart rate data by using an average absolute error loss function, and updating the parameters of the time convolution network model by an Adam algorithm.
5) And stopping model iteration when the loss function value is smaller and tends to be stable, adjusting super parameters such as the learning rate, the discarding rate and the like of the model, and observing the performance change of the model, so as to acquire the optimal parameters of the model and save the optimal parameters, namely the trained time convolution network model.
Further, the specific steps of the step 3 are as follows:
1) And (3) selecting longitude and latitude data to be predicted, and performing preprocessing in the step (1) to obtain a speed and acceleration time sequence.
2) And (3) inputting the preprocessed data into the time convolution neural network model trained in the step (2) to obtain model output.
3) And (5) carrying out inverse normalization on the model output to obtain a predicted heart rate result.
Compared with the prior art, the technical scheme of the invention is characterized in that:
the heart rate prediction method based on the improved time convolution network model is used for receiving multi-sequence input, so that the problem of gradient explosion or disappearance frequently occurring in a cyclic neural network is avoided, and the parallel characteristics enable the processing efficiency to be higher and the processing speed to be higher. The trained time convolution network model can capture short-term and long-term modes in a time sequence, and can play a role in predicting the heart rate with high precision for long-time movements.
Drawings
FIG. 1 is a flow chart of a heart rate prediction model based on a time convolution network in the present invention;
FIG. 2 is a diagram of the overall architecture of a time-convolved neural network model of the present invention;
fig. 3 is a block diagram of a residual block in the neural network model of the present invention.
Detailed Description
The invention relates to a personalized exercise prescription recommendation method driven by exercise data, which is further described in detail below with reference to the accompanying drawings and the embodiments, and as shown in fig. 1, the method comprises the following steps:
step 1: and collecting historical data of heart rate and longitude and latitude in the exercise process of the students, converting exercise speed and acceleration data, processing abnormal values, and carrying out normalization processing and data set division on the data.
The student movement history data collected in the step 1 is of a time series data type, and the collection frequency is 1s. The student wears and starts a bracelet heart rate acquisition function in the exercise process, and heart rate data in the exercise process are acquired; and recording the movement through intelligent application, and collecting real-time longitude and latitude position information in the movement process.
The specific steps of the step 1 are as follows:
1) The problem of data missing or data abnormality exists in the collected data, and the data needs to be preprocessed first. First, the distance d between two points is calculated by using the acquired longitude and latitude information i The formula is:
Figure BDA0004094278850000041
where r represents the earth radius, arcsin is an abbreviation for arcsine function, hav is an abbreviation for semi-orthostatic function,
Figure BDA0004094278850000042
and->
Figure BDA0004094278850000043
Respectively represent the latitude, lambda of two points i And lambda (lambda) i-1 Representing the longitudes of the two points, respectively.
Calculating the movement speed s of the student between the two points according to the distance and the time interval i
Figure BDA0004094278850000044
And then deducing the student exercise acceleration:
Figure BDA0004094278850000045
for the velocity sequence(s) 1 ,…,s N ) Acceleration sequence (a) 1 ,…,a N ) Performing Kalman filtering; for heart rate sequence (y 1 ,…,y N ) Judging whether the data point is abnormal or not according to the maximum fluctuation threshold value of the heart rate per second, and deleting the heart rate at the time point if the data point is abnormal. Whereas interpolation is used to fill in data that is missing or that requires multi-dimensional alignment. Taking heart rate as an example, when y i Missing, and y i-1 And y i+1 All are absent, y i The following formula can be used for calculation:
Figure BDA0004094278850000051
when y is i Missing, and y i-1 Or y i+1 Deletion, y i The following formula can be used for calculation:
Figure BDA0004094278850000052
wherein a, b is greater than or equal to 1 and y i-a+1 ,...,y i-1 ,y i-1 ,...,y i+b-1 All are missing values. When y is i Missing, and y i For the first value in the heart rate sequence, y i+1 And y i+2 All are absent, y i The following formula can be used for calculation:
Figure BDA0004094278850000053
when y is i Missing, and y i For the last value in the heart rate sequence, y i-1 And y i-2 All are absent, y i The following formula can be used for calculation:
Figure BDA0004094278850000054
2) Unifying the time step T of the preprocessed data set, performing zero padding operation on the data with less than the set time step (namely, the sequence length N < T), and performing cutting operation on the data with more than the set time step (namely, the sequence length N > T).
3) The method comprises the following steps of carrying out normalization processing on the time sequence of the speed, the acceleration and the heart rate in the data set, wherein the maximum and minimum normalization is adopted in the method:
Figure BDA0004094278850000055
wherein f and f' represent the values before and after normalization of the data points, f min Minimum value in sequence, f max Representing the maximum in the sequence.
4) According to 3: the 1 scale randomly divides the data set into a training set and a test set.
The data obtained after step 1 can be expressed as
Figure BDA0004094278850000056
Time series data representing the speed from the start time to the T time,/->
Figure BDA0004094278850000057
Time series data representing acceleration from start time to T time, y 1:T Representing heart rate sequence data from the start time to the T time. An example of data is given in table 1, where the value of T is 1024.
Table 1 data example
Figure BDA0004094278850000061
Step 2: constructing a time convolution neural network model, training the neural network model by using the divided training data set, and selecting a model with the best prediction result by using the test data set for storage.
The neural network model in step 2, as shown in fig. 2, has the overall structure including: the superposition and output layers of the previous and subsequent time convolution networks further comprise a plurality of residual blocks, and the structure of the residual blocks can be shown in fig. 3. The specific steps of the step 2 are as follows:
1) Velocity data
Figure BDA0004094278850000062
Acceleration data->
Figure BDA0004094278850000063
Time information from start time to T time +.>
Figure BDA0004094278850000064
As three dimensions of input data, sequentially passing through an expansion convolution layer, a batch normalization layer, a ReLU activation layer and a discarding layerWherein the dilation convolution can be expressed by the following formula:
Figure BDA0004094278850000065
where d represents the expansion ratio, f represents a filter of size k, x represents a one-dimensional sequence input, and s represents a sequence element.
2) Layer jump connection is carried out in a residual block formed by two layers of convolution structures with the same expansion rate, and output results of the 1X 1 convolution and the expansion convolution layers are combined:
o=Activation(X+F(X))#(10)
where X represents the input and F (X) represents the output of the convolution module. The step eliminates the influence of network gradient elimination and explosion to a certain extent, and avoids the condition of different input and output widths.
3) And after a plurality of residual blocks, obtaining the output of the front-stage time convolution network, taking the output as the input of the rear-stage time convolution network with the same structure, and finally obtaining a prediction result through a full connection layer.
4) Calculating the predicted result and the loss of the normalized real heart rate data by using an average absolute error loss function:
Figure BDA0004094278850000066
wherein y is i Represents the predicted value of the current value,
Figure BDA0004094278850000071
representing the true value and n representing the heart rate sequence length. The parameters of the time convolution network model are then updated by Adam algorithm.
5) And stopping model iteration when the loss value is small and tends to be stable, adjusting super parameters such as the learning rate, the discarding rate and the like of the network model, observing the performance change of the model, and obtaining the optimal parameters of the model for storage, namely the trained time convolution network model.
Step 3: and collecting heart rate and longitude and latitude data of recent student exercise, preprocessing, inputting a trained neural network model, and carrying out inverse normalization on the model output value to obtain an exercise heart rate prediction result.
The specific steps of the step 3 are as follows:
1) And (3) selecting longitude and latitude data to be predicted, and performing preprocessing in the step (1) to obtain a speed and acceleration time sequence.
2) And (3) inputting the preprocessed data into the time convolution neural network model trained in the step (2) to obtain model output.
3) And (5) carrying out inverse normalization on the model output to obtain a predicted heart rate result.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting thereof; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the previous embodiment can be modified or part of technical features can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (4)

1. An exercise heart rate prediction method based on a time convolution network is characterized by comprising the following steps:
step 1: collecting historical data of heart rate and longitude and latitude in the exercise process of students, converting exercise speed and acceleration data, processing abnormal values, and carrying out normalization processing and data set division on the data;
step 2: constructing a time convolution neural network model, training the neural network model by using the divided training data set, and selecting a model with the best prediction result by using the test data set for storage;
step 3: and collecting heart rate and longitude and latitude data of recent student exercise, preprocessing, inputting a trained neural network model, and carrying out inverse normalization on the model output value to obtain an exercise heart rate prediction result.
2. The exercise heart rate prediction method based on a time convolution network according to claim 1, wherein the specific steps of step 1 are as follows:
1.1 The collected student movement history data is of a time sequence data type, and the collection frequency is 1s; the student wears and starts a bracelet heart rate acquisition function in the exercise process, and heart rate data in the exercise process are acquired; recording motion through intelligent application, and collecting real-time longitude and latitude position information in the motion process;
1.2 Using the acquired longitude and latitude information to deduce a corresponding speed and acceleration sequence; carrying out Kalman filtering on the obtained speed and acceleration sequence; judging whether the data is abnormal according to the maximum fluctuation threshold value of the heart rate per second for the heart rate data, and deleting the heart rate at the time point if the data is abnormal; and for missing or data requiring multi-dimensional alignment, filling by using an interpolation method;
1.3 Unifying time steps of the preprocessed data sets, performing zero filling operation on the data which are less than the set time steps, and performing cutting operation on the data which are more than the set time steps;
1.4 Normalizing the time sequence of the speed, the acceleration and the heart rate in the data set;
1.5 Randomly dividing the data set into a training set and a test set according to the ratio.
3. The exercise heart rate prediction method based on the time convolution network according to claim 1, wherein the neural network model in the step 2 has a whole structure including: the superposition and output layer of the two-stage time convolution network, the time convolution network comprises a plurality of residual blocks;
the specific steps of the step 2 are as follows:
2.1 Speed data)
Figure FDA0004094278830000011
Acceleration data->
Figure FDA0004094278830000012
Time information from start time to T time +.>
Figure FDA0004094278830000013
As three dimensions of the input data, sequentially pass through an expansion convolution layer, a batch normalization layer, a ReLU activation layer and a discard layer, wherein the expansion convolution is expressed by the following formula:
Figure FDA0004094278830000014
wherein d represents expansion rate, f represents a filter with a size of k, x represents one-dimensional sequence input, and s represents a certain sequence element;
2.2 Layer jump connection is performed in a residual block formed by two layers of convolution structures with the same expansion rate, and output results of the 1 x 1 convolution and the expansion convolution layers are combined:
o=Activation(X+F(X))
wherein X represents input, F (X) represents output of the convolution module, and activity is an Activation function;
2.3 After a plurality of residual blocks, obtaining the output of a front-stage time convolution network as the input of a rear-stage time convolution network with the same structure, and finally obtaining a prediction result through a full connection layer;
2.4 Calculating the predicted result and the loss of the normalized real heart rate data by using an average absolute error loss function, and updating the parameters of the time convolution network model by an Adam algorithm;
2.5 Stopping model iteration when the loss value is smaller and tends to be stable, adjusting super parameters such as the learning rate, the discarding rate and the like of the time convolution network model, observing the performance change of the model, and obtaining the optimal parameters of the model for storage, namely the trained time convolution network model.
4. The exercise heart rate prediction method based on the time convolution network according to claim 1, wherein the specific steps of the step 3 are as follows:
3.1 Selecting longitude and latitude data to be predicted, and performing preprocessing in the step 1 to obtain a speed and acceleration time sequence;
3.2 Inputting the preprocessed data into the time convolution neural network model trained in the step 2 to obtain model output;
3.3 Inversely normalizing the model output to obtain a predicted heart rate result.
CN202310161397.1A 2023-02-24 2023-02-24 Exercise heart rate prediction method based on time convolution network Pending CN116167412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310161397.1A CN116167412A (en) 2023-02-24 2023-02-24 Exercise heart rate prediction method based on time convolution network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310161397.1A CN116167412A (en) 2023-02-24 2023-02-24 Exercise heart rate prediction method based on time convolution network

Publications (1)

Publication Number Publication Date
CN116167412A true CN116167412A (en) 2023-05-26

Family

ID=86419737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310161397.1A Pending CN116167412A (en) 2023-02-24 2023-02-24 Exercise heart rate prediction method based on time convolution network

Country Status (1)

Country Link
CN (1) CN116167412A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118105051A (en) * 2024-04-30 2024-05-31 知心健(南京)科技有限公司 Rehabilitation cloud platform system for monitoring cardiopulmonary function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118105051A (en) * 2024-04-30 2024-05-31 知心健(南京)科技有限公司 Rehabilitation cloud platform system for monitoring cardiopulmonary function

Similar Documents

Publication Publication Date Title
CN105300692B (en) A kind of bearing failure diagnosis and Forecasting Methodology based on expanded Kalman filtration algorithm
CN110991690B (en) Multi-time wind speed prediction method based on deep convolutional neural network
CN109472241A (en) Combustion engine bearing remaining life prediction technique based on support vector regression
CN105595990A (en) Intelligent terminal device for evaluating and distinguishing quality of electrocardiosignal
Mo et al. Multi-head CNN-LSTM with prediction error analysis for remaining useful life prediction
Massaro et al. Neural networks for automated smart health platforms oriented on heart predictive diagnostic big data systems
CN115249541A (en) Dynamic blood glucose prediction model construction method based on deep learning
CN116561589B (en) Attendance training management method and system based on intelligent wearable equipment
CN110414590A (en) Physical activity recognition methods based on Intelligent mobile equipment and convolutional neural networks
CN112488529A (en) Engineering cost management system based on big data
CN110705599B (en) Human body action recognition method based on online transfer learning
CN115101203A (en) Mental health index evaluation method and system
CN115687038A (en) Hard disk failure prediction system and method based on big data
CN111513723A (en) Motion attitude monitoring method, motion attitude adjusting device and terminal
CN116167412A (en) Exercise heart rate prediction method based on time convolution network
CN109064363A (en) A kind of college entrance will recommended method, device, terminal and storage medium
CN116186561B (en) Running gesture recognition and correction method and system based on high-dimensional time sequence diagram network
CN115169504B (en) Equipment abnormity identification method in coal gas fine desulfurization process
CN116701977A (en) Human body temperature data fitting method based on clustering algorithm and neural network
CN112071434B (en) Abnormal body temperature sequence detection method
CN116434979A (en) Physiological state cloud monitoring method, monitoring system and storage medium
CN114464319B (en) AMS susceptibility assessment system based on slow feature analysis and deep neural network
CN115565639A (en) Exercise heart rate prediction method, device and equipment
CN114664074A (en) Test method and system of Bluetooth remote controller
CN115575127A (en) Bearing residual life prediction method based on whale optimization LSSVM

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination