A training method and system based on HRV early warning model of altitude sickness
Through the HRV-based model training method, using heart rate gap data and linear analysis technology, the problem of immature research on the correlation between HRV and altitude sickness is solved, the rapid and accurate prediction of the degree of altitude sickness is achieved, and the accuracy and accuracy of model training are improved. efficiency.
Patent Information
- Application Number
- CN202410793621.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-19
AI Technical Summary
In the existing technology, the research on the correlation between heart rate variability (HRV) and acute mountain sickness (AMS) is immature, making it difficult to accurately predict the degree of altitude sickness in clinical diagnosis.
Using a model training method based on HRV, by collecting heart rate gap data in plains and plateau areas, obtaining heart rate gap diagrams and performing nonlinear analysis, calculating heart rate variability, and combining linear analysis methods in time and frequency domain dimensions to form a training sample library , select a specific sample combination for model training and verification, and update the model to improve prediction accuracy.
It achieves rapid and accurate prediction of the degree of altitude sickness, improves the accuracy and efficiency of model training, reduces the amount of training data, and is suitable for automated prediction of altitude sickness.
Smart Images

Figure CN118364298B
Abstract
Description
Technical Field
[0001] The invention relates to the field of altitude sickness prediction, and in particular to a training method and system for a model based on HRV early warning of altitude sickness. Background Art
[0002] As the air pressure decreases with increasing altitude, the plateau has unique climatic characteristics such as low pressure, low oxygen, and low temperature. When the human body enters the plateau environment, the oxygen partial pressure of the entire oxygen transport chain (from the inhaled air to the organs and tissues) will decrease, causing insufficient oxygen supply to tissues and cells, and even damage to the body, thus causing altitude sickness. Common altitude sickness involves multiple organs such as the lungs, heart, and brain, and as the altitude increases, the number of people with altitude sickness also increases, and the severity and cumulative organs also increase. Research data show that at an altitude of 2000-4300 m, 25% to 43% of travelers will develop acute mild altitude sickness; among people who climb to 4559 m, 37% will experience altitude headaches.
[0003] Long Min et al. proposed in "A Preliminary Study on the Relationship between Heart Rate Variability and Acute Mountain Sickness Score" (pp. 1098-1100 in the Journal of Plateau Medicine, Vol. 28, No. 10, May 2006): Autonomic nervous function is related to AMS. People in the plains have higher autonomic nervous activity, sympathetic nervous dominance, and excessive stress response have more severe AMS symptoms. Testing heart rate variability can predict AMS (i.e. acute mountain sickness) to a certain extent.
[0004] However, the current research on the correlation or influencing mechanism between heart rate variability (HRV) and AMS is not mature. Therefore, in actual clinical diagnosis scenarios, it is still difficult for doctors to accurately predict AMS using HRV.
[0005] Therefore, there is an urgent need for a method that can use HRV to quickly and accurately predict the degree of altitude sickness. Summary of the invention
[0006] The purpose of the present invention is to provide a training method based on the HRV early warning model of altitude sickness, which partially solves or alleviates the above-mentioned deficiencies in the prior art and can accurately use the physiological parameters of the plain area to predict the degree of altitude sickness of people entering the plateau area.
[0007] In order to solve the above-mentioned technical problems, the present invention specifically adopts the following technical solutions:
[0008] A first aspect of the present invention is to provide a training method based on a HRV early warning model for altitude sickness, comprising:
[0009] S100, respectively collecting heart rate interval data of a plurality of subjects in a plain area and a plateau area, and collecting the degree of altitude sickness of the subjects in the plateau area;
[0010] S101, obtaining a heart rate interval graph of the heart rate interval data, and analyzing at least one graphic feature of the heart rate interval graph using a nonlinear analysis method;
[0011] S102, calculating the heart rate variability through the heart rate interval data;
[0012] S103, using a first linear analysis method to analyze the heart rate variability to obtain at least one first linear data, and using a second linear analysis method to analyze the heart rate variability to obtain at least one second linear data; wherein the first linear analysis method is used to analyze the change characteristics of the heart rate variability in the time dimension, and the second linear analysis method is used to analyze the change characteristics of the heart rate variability in the frequency domain dimension;
[0013] S104, the data obtained according to steps S100, S101, S102 and S103 form a corresponding data set, and multiple data sets are combined to form a training sample library;
[0014] S105, screening out a first sample combination having a plurality of data sets from the training sample library, wherein the data types in the first sample combination include: at least one first linear data, at least one second linear data, and at least one graphic feature;
[0015] S106, selecting at least one initial model to perform model training through the first sample combination to obtain a corresponding training model;
[0016] S107, selecting a plurality of data sets not used for training from the training sample library as a verification combination, and using the verification combination to verify the prediction accuracy of the training model;
[0017] S108. When the prediction accuracy is less than the first accuracy, continue to update the training model.
[0018] In some embodiments, updating the training model comprises the steps of:
[0019] S81, determining whether the prediction accuracy is less than the second accuracy, and if so, selecting at least one second sample combination from the training sample library again, and the data set ranges of the first sample combination and the at least one second sample combination (equivalent to multiple training combinations) intersect with each other; wherein the second accuracy is less than the first accuracy;
[0020] S82, using the initial model to train again through at least one set of the second sample combination to obtain at least one training model;
[0021] S83, determining whether the difference in prediction accuracy between at least two of the current training models is less than a first difference threshold; if so, it is considered that the currently selected initial model meets the conditions; otherwise, returning to S106 (such as selecting a new initial model).
[0022] In some embodiments, it also includes:
[0023] S84, replacing at least one item of data in the first sample combination according to a set replacement rule, wherein the replacement rule requires that the data to be replaced is the same as the data type of the replaced data;
[0024] S85. According to the new first sample combination formed after replacement, train again to obtain a new training model, and proceed to S107.
[0025] In some embodiments, updating the model comprises the steps of:
[0026] When the prediction accuracy is greater than or equal to the second accuracy and less than the first accuracy, proceed to step S84.
[0027] In some embodiments, the data type of the first linear data includes one or more of the following: mean, standard deviation, peak value of heart rate in a specified time window length, standard deviation of RR interval, number of adjacent heart rate gap differences greater than x milliseconds, and root mean square of adjacent heart rate gap differences.
[0028] In some embodiments, the data type of the second linear data includes one or more of the following: the low-frequency signal power in the heart rate variability signal within a specified time window length, the high-frequency signal power in the heart rate variability signal, the low-frequency power ratio of the heart rate variability signal, the high-frequency power ratio of the heart rate variability signal, and the power ratio of the low-frequency to high-frequency signals in the heart rate variability signal.
[0029] In some embodiments, the data type of the graphic feature includes one or more of the following: a Poincare section ellipse major axis standard deviation of the heart rate interval graph, an ellipse minor axis standard deviation, and a pressure index.
[0030] In some embodiments, one said data set corresponds to one said object.
[0031] The present invention also provides a training system based on the HRV early warning model of altitude sickness, comprising:
[0032] The data collection module is configured to collect heart rate interval data of a plurality of subjects in a plain area and a plateau area, and collect the degree of altitude sickness of the subjects in the plateau area;
[0033] a nonlinear analysis module configured to obtain a heart rate interval graph of the heart rate interval data and analyze at least one graphic feature of the heart rate interval graph using a nonlinear analysis method; and a RR interval calculation module configured to calculate the RR interval using the heart rate interval data;
[0034] A linear analysis module, configured to adopt a first linear analysis method to analyze the RR interval to obtain at least one first linear data for characterizing the heart rate variability, and adopt a second linear analysis method to analyze the RR interval to obtain at least one second linear data for characterizing the heart rate variability; wherein the first linear analysis method is used to analyze the change characteristics of the heart rate variability in the time dimension, and the second linear analysis method is used to analyze the change characteristics of the heart rate variability in the frequency domain dimension;
[0035] A sample library module is configured to form a corresponding data set according to the data obtained by the data acquisition module, the nonlinear analysis module, the RR interval calculation module and the linear analysis module, and a plurality of data sets are combined to form a training sample library;
[0036] A sample screening module is configured to screen out a first sample combination having a plurality of data sets from the training sample library, wherein the data types in the first sample combination include: at least one first linear data, at least one second linear data, and at least one graphic feature;
[0037] A training module is configured to select at least one initial model and perform model training through the first sample combination to obtain a corresponding training model;
[0038] A verification module is configured to select a plurality of data sets not used for training from the training sample library as a verification combination, and use the verification combination to verify the prediction accuracy of the training model;
[0039] The updating module is configured to continue updating the model when the prediction accuracy is less than the first accuracy.
[0040] In some embodiments, the update module includes:
[0041] A first judgment unit is configured to judge whether the prediction accuracy is less than a second accuracy, and if so, select at least one second sample combination from the training sample library again, and the data set ranges of multiple training combinations (i.e., the first sample combination and the at least one second sample combination) are intersecting; wherein the second accuracy is less than the first accuracy;
[0042] A training unit, configured to use the initial model to train again through at least one set of the second sample combination to obtain at least one training model;
[0043] The second judgment unit is configured to judge whether the difference in prediction accuracy between at least two of the current training models is less than a first difference threshold. If so, it is considered that the currently selected initial model meets the conditions; otherwise, the training module is returned.
[0044] Beneficial technical effects: In response to the demand for automated prediction of altitude sickness, the present invention selects a group of specific sample combinations, which include three types of feature data, namely, graphic features of original IBI data and two types of linear features of calculated HRV data; thereby, by specifically selecting data of different dimensions (such as linear features, graphic features) and different stages (such as original measurement data, calculated HRV data), the accuracy and reliability of model training can be ensured.
[0045] On the other hand, for the specific sample combination composed of these three types of data, the present invention also proposes a multi-level verification mechanism based on cross-training to reduce the training workload in the model pre-training stage to a certain extent. Among them, the cross-training can quickly verify the reliability of the selection of the initial model. Furthermore, by performing replacement training on the feature data of a limited category, the initial model and the characteristics of the sample data in the current region can be combined to quickly select a better training sample combination, so as to effectively reduce the amount of data for model training (for example, reduce the necessary sample types) on the basis of ensuring the accuracy of the training model, and improve the efficiency of model training. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, each element or part is not necessarily drawn according to the actual scale. Obviously, the drawings described below are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without paying creative labor.
[0047] Figure 1is a flowchart of the steps of a training method in an exemplary embodiment of the present invention;
[0048] Figure 2 It is a schematic diagram of the module structure of a training system in an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0050] Herein, suffixes such as "module", "component" or "unit" used to represent elements are used only to facilitate the description of the present invention and have no specific meanings. Therefore, "module", "component" or "unit" can be used mixedly. In addition, the terms "first" and "second" are used only for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0051] Herein "and / or" includes any and all combinations of one or more of the associated listed items.
[0052] Herein, "plurality" means two or more than two, ie, it includes two, three, four, five, etc.
[0053] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0054] As used in this specification, the term "about" typically means + / - 5% of the stated value, more typically + / - 4% of the stated value, more typically + / - 3% of the stated value, more typically + / - 2% of the stated value, even more typically + / - 1% of the stated value, and even more typically + / - 0.5% of the stated value.
[0055] In this specification, some embodiments may be disclosed in a format of being in a range. It should be understood that this description of "being in a range" is only for convenience and brevity, and should not be interpreted as a rigid limitation on the disclosed range. Therefore, the description of the range should be considered to have specifically disclosed all possible sub-ranges and independent numerical values within this range. For example, the description of the range 1-6 should be considered to have specifically disclosed sub-ranges such as from 1 to 3, from 1 to 4, from 1 to 5, from 2 to 4, from 2 to 6, from 3 to 6, etc., as well as individual numbers within this range, such as 1, 2, 3, 4, 5 and 6. Regardless of the breadth of the range, the above rules apply.
[0056] Embodiment 1
[0057] See also Figure 1 As shown, the present invention provides a training method for a model (i.e., a prediction model) based on HRV early warning of altitude sickness, comprising:
[0058] S100, respectively collecting heart rate interval data of a plurality of subjects in a plain area and a plateau area, and collecting the degree of altitude sickness of the subjects in the plateau area;
[0059] In some embodiments, an electrocardiogram can be used to detect the electrical signal of the heart and calculate the heart rate interval. Alternatively, in other embodiments, a heart rate monitor can be used to measure the frequency of heartbeats. Specifically, in this embodiment, the heart rate interval data of multiple subjects in plains and plateaus for more than 24 consecutive hours can be statistically analyzed.
[0060] In some embodiments, a plateau refers to a region with an altitude of about 1,000 meters or more, a relative height of about 500 meters or more, and a vast area with relatively flat terrain or certain undulations.
[0061] In some embodiments, a plain (Plain; Planitia, planitiae) refers to a larger area with a flat ground or less undulations. For example, a plain may refer to a landform area with an altitude of less than 200 meters and a flat terrain.
[0062] In some embodiments, the degree of altitude sickness includes:
[0063] Level 0: No reaction;
[0064] Level 1: Mild altitude sickness, usually manifested by mild headache, nausea, vomiting, fatigue, palpitations and other symptoms, which usually disappear within a few hours or days;
[0065] Level 2: Moderate altitude sickness, with more obvious symptoms than level 1, including severe headache, nausea, vomiting, chest tightness, shortness of breath, insomnia, loss of appetite, etc., and symptoms usually last for several days to several weeks;
[0066] Level 3: Severe altitude sickness, with very serious symptoms, including severe headache, nausea, vomiting, chest tightness, shortness of breath, palpitations, insomnia, etc. The symptoms last for a long time and may require medical intervention.
[0067] S101, obtaining a heart rate interval graph of the heart rate interval data, and analyzing at least one graphic feature of the heart rate interval graph using a nonlinear analysis method;
[0068] In this embodiment, the heart rate gap is also called a data heartbeat interval (Inter-Beat Interval, IBI): IBI refers to the time interval between two adjacent heartbeats (R waves).
[0069] For example, in some embodiments, the IBI may be measured by an electrocardiogram (ECG). Specifically, an electrocardiograph may be used to record the graph of electrical activity changes generated by each cardiac cycle of the heart, namely, an electrocardiogram, from the body surface.
[0070] For another example, in some embodiments, the IBI may also be measured by a photoplethysmography (PPG) sensor.
[0071] In some embodiments, the heart rate interval graph refers to a raw data graph of raw heart rate interval data changing over time. The graphical feature refers to a changing trend of data presented in the data graph changing over time.
[0072] It is understandable that, in some embodiments, the original heart rate interval data may be preprocessed to improve data accuracy.
[0073] In some embodiments, the heart rate gap data may include the heart rate gap, or related data calculated from the heart rate gap. For example, the related data includes: a stress index.
[0074] In some embodiments, the data type of the graphic feature includes one or more of the following: a Poincare section ellipse major axis standard deviation of the heart rate interval graph, an ellipse minor axis standard deviation, and a pressure index.
[0075] For example, in some embodiments, the heart rate gap graph can be a Poincare section of the IBI, with the horizontal axis being the IBI value at the nth time node and the vertical axis being the IBI value at the n+1th time node, wherein the distribution of each data point can be approximated as an ellipse, and the standard deviation of the semi-major axis and semi-minor axis of the ellipse are SD1 and SD2, respectively (i.e., the corresponding graphical features).
[0076] For another example, in some embodiments, the heart rate interval graph may be an IBI histogram, wherein the graphical features of the IBI histogram (such as the numerical variation trend in the vertical axis direction) may be used to reflect the stress index of the subject.
[0077] S102, obtaining the RR interval through the heart rate interval data; wherein the RR interval is used to calculate the subsequent heart rate variability, the RR interval refers to the time limit between two R waves on the electrocardiogram, HRV refers to the change in the time interval between consecutive heartbeats, and the heart rate refers to the number of heart beats within a specific time (such as 1 minute);
[0078] Among them, the relationship between heart rate and IBI is: heart rate (times / min)*ibi (ms)=60000.
[0079] S103, using a first linear analysis method to analyze the RR interval to obtain at least one first linear data for characterizing the heart rate variability (for example, converting the RR interval into heart rate data, and then converting the heart rate data to obtain the first linear data), and using a second linear analysis method to analyze the RR interval to obtain at least one second linear data for characterizing the heart rate variability; wherein the first linear analysis method is used to analyze the change characteristics of the heart rate variability in the time dimension, and the second linear analysis method is used to analyze the change characteristics of the heart rate variability in the frequency domain dimension;
[0080] In some embodiments, the first linear method may include: a simple method, and / or a statistical method.
[0081] In some embodiments, the data type of the first linear data includes one or more of the following: the mean, standard deviation, peak value of the heart rate, standard deviation of RR interval, the number of adjacent IBI differences greater than x milliseconds (which can be set by the user) and the root mean square of adjacent IBI differences under a specified time window length. For example, the time window length can be 5 minutes.
[0082] In some embodiments, mean refers to the average value of the heart rate. For example, it may be the average heart rate (mean_hr), that is, the average number of heart beats within 1 minute within a specific time (such as 5 minutes).
[0083] In some embodiments, the standard deviation (SD) refers to the degree of data fluctuation. For example, the standard deviation may refer to the heart rate standard deviation (std_hr, which refers to the standard deviation of the heart rate calculated from a single heartbeat interval, that is, the mean square error of the heart rate.
[0084] In some embodiments, the peak value (Peak Value) refers to the maximum value (max_hr) and the minimum value (min_hr) of the heart rate.
[0085] In some embodiments, the standard deviation of the RR interval (SDNN) is: the standard deviation of the RR interval under a specified time window length, reflecting the overall level of heart rate variability during the entire measurement period.
[0086] In some embodiments, the number of adjacent IBI differences greater than x milliseconds (NNx) is: the number of times the adjacent heartbeat interval difference is greater than x milliseconds within a specified time window length. NN50 is commonly used, which refers to the number of times the adjacent heartbeat interval difference is greater than 50 milliseconds, which can be used to evaluate short-term fluctuations and rapid changes.
[0087] In some embodiments, the root mean square of adjacent IBI differences (RMSDD) is: the square root of the mean of the squares of adjacent IBI differences within a specified time window length, reflecting short-term heart rate variability, especially vagus nerve activity.
[0088] In some embodiments, a second linear analysis method is used to analyze the mathematical relationship between the frequency domain of a signal (eg, RR interval) and the signal strength / amplitude.
[0089] For example, in some embodiments, the data type of the second linear data includes one or more of the following: the low-frequency signal power in the heart rate variability signal, the high-frequency signal power in the heart rate variability signal, the low-frequency power ratio of the heart rate variability signal, the high-frequency power ratio of the heart rate variability signal, and the power ratio of the low-frequency to high-frequency signals in the heart rate variability signal within a specified time window length.
[0090] For example, in some embodiments, the second linear analysis method may include: regression method (AR method), Welch method or Lomb-Scargle spectrum analysis.
[0091] S104, the data obtained according to steps S100, S101, S102 and S103 form a corresponding data set, and multiple data sets are combined to form a training sample library;
[0092] In some embodiments, one of the data sets corresponds to one of the objects. One of the data sets includes:
[0093] (1) Graphic features of heart rate interval data collected when a subject is active in a plain area for the first time, the first linear data and second linear data of HRV, and the degree of altitude sickness corresponding to each set of data (e.g., usually zero level, or no altitude sickness);
[0094] (2) Graphical features of heart rate interval data collected from the same subject during the second activity in the plateau area, the first linear data and second linear data of HRV, and the degree of altitude sickness corresponding to each set of data (e.g., first, second, or third level);
[0095] S105, screening out a first sample combination having a plurality of data sets from the training sample library, wherein the data types in the first sample combination include: at least one first linear data, at least one second linear data, and at least one graphic feature;
[0096] S106, selecting at least one initial model to perform model training through the first sample combination to obtain a corresponding training model;
[0097] For example, in some embodiments, a model database may be acquired in advance, and the model database may include multiple initial models. During the training process, one of the initial models may be randomly selected for the first model training. Alternatively, the initial model may also be selected by the user independently.
[0098] S107, selecting a plurality of data sets not used for training from the training sample library as a verification combination, and using the verification combination to verify the prediction accuracy of the training model;
[0099] For example, in some embodiments, sample data is collected for 100 objects, and IBI data of each object in plain and plateau areas are collected. The above steps are used to construct a data set for each object based on the IBI data. When 100 data sets of 100 objects are collected for 100 objects to be tested, 80 data sets can be selected as the first sample combination, and the remaining 20 data sets can be used as the verification combination.
[0100] S108: When the prediction accuracy is less than the first accuracy, the training model is updated, and the training model is output when the prediction accuracy is greater than or equal to the first accuracy.
[0101] In summary, the present invention selects three types of features, including the graphic features of the original data and two types of linear features of the HRV calculation data, as a specific training sample combination, and selects specific sample types from different dimensions (such as graphic feature dimensions, linear feature dimensions) and different stage data (such as original IBI data, and related indicators such as HRV obtained according to IBI analysis) to ensure the accuracy and reliability of altitude sickness prediction.
[0102] Furthermore, in order to improve the accuracy and reliability of the training model, the present invention also proposes a multi-level verification mechanism based on cross-training, so that on the basis of ensuring accuracy, a suitable initial model structure and specific training combination can be quickly found through a pre-training mode, thereby reducing the workload of model training to a certain extent.
[0103] In some embodiments, updating the training model comprises the steps of:
[0104] S81, determining whether the prediction accuracy is less than a second accuracy, and if so, selecting at least one second sample combination from the training sample library again, and the data set ranges of the plurality of training combinations overlap with each other; wherein the second accuracy is less than the first accuracy;
[0105] For example, taking a sample library with 100 data sets as an example, different data sets can be selected to construct the following multiple training combinations:
[0106] Training combination 1: The first sample combination constructed from the first 80 data sets, and the remaining 20 data sets as the validation combination;
[0107] Training combination 2: The second sample combination constructed by the last 80 data sets, and the first 20 data sets as the corresponding verification combination.
[0108] It can be understood that one or more second sample combinations can be constructed as long as the training data sets of each second sample combination are not completely repeated.
[0109] S82, using the initial model to train again through at least one set of the second sample combination to obtain at least one training model;
[0110] S83, determine whether the difference in prediction accuracy between at least two of the current training models is less than a first difference threshold. If so, it is considered that the currently selected initial model meets the conditions; otherwise, return to S106, such as using a new initial model to perform model pre-training again.
[0111] Alternatively, in some other embodiments, when the prediction accuracy is greater than or equal to the second accuracy, it is considered that the initial model selected by the current training model meets the conditions and can directly enter S84.
[0112] That is, in this embodiment, the same initial model will be used to train multiple sample combinations to obtain two or more training models. When the difference between the prediction accuracy of the two training models is small, the initial model is considered to be more reliable, and the process proceeds to S84 to further improve the accuracy of the training model by replacing data. Otherwise, a new initial model will be selected and the process returns to S106 for retraining.
[0113] In some embodiments, after the initial model is verified to meet the conditions, S108 further includes:
[0114] S84. Replace at least one item of data in the first sample combination according to a set replacement rule, wherein the replacement rule requires that the replaced data has the same data type as the replaced data; it can be understood that the data in this embodiment mainly includes three types: image features, first linear data, and second linear data.
[0115] S85. According to the new first sample combination formed after replacement, train again to obtain a new training model, and proceed to S107.
[0116] For example, in some embodiments, the first linear data includes: the mean, standard deviation, peak value of the heart rate, the standard deviation of the RR interval, the number of adjacent IBI differences greater than x milliseconds, and the root mean square of adjacent IBI differences under a specified time window length. In the first training process, the mean of the heart rate is selected together with the other two types of feature data as the training sample type. When the prediction accuracy of the final training model is relatively low, another type of first linear data (such as standard deviation or root mean square) can be selected to replace the mean of the heart rate to form a new training sample type.
[0117] If the prediction accuracy after replacement is significantly improved (for example, when the difference between the previous prediction accuracy and the current latest prediction accuracy is greater than the second difference threshold), the current replacement is generally considered to be effective. Otherwise, you can continue to try to replace data for another type of data (such as graphic features).
[0118] Preferably, in some embodiments, in step S84, the first linear data, or the data type of the graphic feature, is replaced first.
[0119] Preferably, in S84, only one specific type of data is replaced in one replacement process, for example, only the data of the graphic feature is replaced, or only the first linear data is replaced in a single replacement process.
[0120] That is to say, the present invention proposes a model pre-training method based on a finite update mode, so as to reduce the workload of the pre-training stage as much as possible while ensuring the accuracy of the training model by reasonably restricting the training samples.
[0121] In some embodiments, updating the model comprises the steps of:
[0122] When the prediction accuracy is greater than or equal to the second accuracy and less than the first accuracy, proceed to step S84.
[0123] It is worth noting that in the actual prediction scenario of altitude sickness, different plateau regions have different terrain characteristics, and plateau regions may also have different degrees of impact on the human body under different climatic conditions. However, the workload of creating specific prediction models for different seasons or regions is very large. The present invention selects the feature data types of the training combination in a limited manner, and provides a multi-level evaluation mechanism based on cross-validation, which can assist users (such as doctors) to quickly build applicable prediction models for different application scenarios.
[0124] In other words, the present invention can quickly screen out a specific training data combination and an applicable initial model suitable for the current scenario through pre-training experiments with only a small amount of sample data, thereby reducing the workload of model training to a certain extent.
[0125] By using the above method to establish a prediction model for predicting the occurrence of altitude sickness, an early warning can be given 72 hours in advance of the occurrence of altitude sickness, which is suitable as a health management tool for people suffering from acute diseases in plateaus.
[0126] Embodiment 2
[0127] See also Figure 2 As shown, the present invention also provides a training system based on the HRV early warning model of altitude sickness, comprising:
[0128] The data collection module 10 is configured to collect heart rate interval data of a plurality of subjects in a plain area and a plateau area, and collect the degree of altitude sickness of the subjects in the plateau area;
[0129] The nonlinear analysis module 11 is configured to obtain a heart rate interval graph of the heart rate interval data, and analyze at least one graphic feature of the heart rate interval graph using a nonlinear analysis method;
[0130] The RR interval calculation module 12 is configured to calculate the RR interval according to the heart rate interval data;
[0131] The linear analysis module 13 is configured to adopt a first linear analysis method to analyze the RR interval to obtain at least one first linear data for characterizing the heart rate variability, and adopt a second linear analysis method to analyze the RR interval to obtain at least one second linear data for characterizing the heart rate variability; wherein the first linear analysis method is used to analyze the change characteristics of the heart rate variability in the time dimension, and the second linear analysis method is used to analyze the change characteristics of the heart rate variability in the frequency domain dimension;
[0132] The sample library module 14 is configured to form a corresponding data set according to the data obtained by the data acquisition module, the nonlinear analysis module, the RR interval calculation module and the linear analysis module, and a plurality of data sets are combined to form a training sample library;
[0133] The sample screening module 15 is configured to screen out a first sample combination having a plurality of data sets from the training sample library, wherein the data types in the first sample combination include: at least one first linear data, at least one second linear data, and at least one graphic feature;
[0134] The training module 16 is configured to select at least one initial model and perform model training through the first sample combination to obtain a corresponding training model;
[0135] A verification module 17 is configured to select a plurality of data sets not used for training from the training sample library as a verification combination, and use the verification combination to verify the prediction accuracy of the training model;
[0136] The updating module 18 is configured to continue updating the training model when the prediction accuracy is less than the first accuracy.
[0137] In some embodiments, the update module includes:
[0138] A first judgment unit is configured to judge whether the prediction accuracy is less than a second accuracy, and if so, select at least one second sample combination from the training sample library again, and the data set ranges of multiple training combinations overlap each other; wherein the second accuracy is less than the first accuracy;
[0139] A training unit, configured to use the initial model to train again through at least one set of the second sample combination to obtain at least one training model;
[0140] The second judgment unit is configured to judge whether the difference in prediction accuracy between at least two of the current training models is less than a first difference threshold. If so, it is considered that the currently selected initial model meets the conditions; otherwise, the training module is returned.
[0141] It can be understood that the system in this embodiment can implement the steps in any of the above methods, which will not be described in detail here.
[0142] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a computer terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0144] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
Claims
1. A training method based on a model of HRV early warning of altitude sickness, characterized in that: include: S100, respectively collecting heart rate interval data of a plurality of subjects in a plain area and a plateau area, and collecting the degree of altitude sickness of the subjects in the plateau area; S101, obtaining a heart rate interval graph of the heart rate interval data, and analyzing at least one graphic feature of the heart rate interval graph using a nonlinear analysis method; S102, calculating the RR interval by using the heart rate interval data; S103, using a first linear analysis method to analyze the RR interval to obtain at least one first linear data for characterizing the heart rate variability, and using a second linear analysis method to analyze the RR interval to obtain at least one second linear data for characterizing the heart rate variability; wherein the first linear analysis method is used to analyze the change characteristics of the heart rate variability in the time dimension, and the second linear analysis method is used to analyze the change characteristics of the heart rate variability in the frequency domain dimension; S104, the data obtained according to steps S100, S101, S102 and S103 form a corresponding data set, and a plurality of the data sets are combined to form a training sample library; S105, selecting a first sample combination having a plurality of the data sets from the training sample library, wherein the data types in the first sample combination include: at least one first linear data, at least one second linear data, and at least one graphic feature; S106, selecting at least one initial model to perform model training through the first sample combination to obtain a corresponding training model; S107, selecting a plurality of the data sets that are not used for training from the training sample library as a verification combination, and using the verification combination to verify the prediction accuracy of the training model; S108, when the prediction accuracy is less than the first accuracy, updating the training model; Wherein, updating the training model comprises the steps of: S81, determining whether the prediction accuracy is less than the second accuracy, and if so, selecting at least one second sample combination from the training sample library again, and the ranges of the data sets of the first sample combination and the at least one second sample combination overlap each other; wherein the second accuracy is less than the first accuracy; S82, using the initial model to train again through at least one set of the second sample combination to obtain at least one training model; S83, determining whether the difference in prediction accuracy between at least two of the current training models is less than a first difference threshold; if so, it is considered that the currently selected initial model meets the conditions; otherwise, returning to S106.
2. The training method of the model based on HRV early warning of altitude sickness according to claim 1 is characterized in that: Also includes: S84, replacing at least one item of data in the first sample combination according to a set replacement rule, wherein the replacement rule requires that the data to be replaced is the same as the data type of the replaced data; S85. According to the new first sample combination formed after replacement, train again to obtain a new training model, and proceed to S107.
3. The training method of the model based on HRV early warning of altitude sickness according to claim 2 is characterized in that: Updating the training model includes the steps of: When the prediction accuracy is greater than or equal to the second accuracy and less than the first accuracy, proceed to step S84.
4. The training method of the model based on HRV early warning of altitude sickness according to claim 1 is characterized in that: The data type of the first linear data includes one or more of the following: mean, standard deviation, peak value of heart rate in a specified time window length, standard deviation of RR interval, number of adjacent heart rate gap differences greater than x milliseconds and root mean square of adjacent heart rate gap differences.
5. The training method of the model based on HRV early warning of altitude sickness according to claim 1 is characterized in that: The data type of the second linear data includes one or more of the following: the low-frequency signal power in the heart rate variability signal within a specified time window length, the high-frequency signal power in the heart rate variability signal, the low-frequency power ratio of the heart rate variability signal, the high-frequency power ratio of the heart rate variability signal, and the power ratio of the low-frequency to high-frequency signals in the heart rate variability signal.
6. The training method of the model based on HRV early warning of altitude sickness according to claim 1 is characterized in that: The data types of the graphic features include one or more of the following: a Poincare section ellipse major axis standard deviation, an ellipse minor axis standard deviation, and a pressure index of the heart rate interval graph.
7. The training method of the model based on HRV early warning of altitude sickness according to claim 1 is characterized in that: One of the data sets corresponds to one of the objects.
8. A training system based on the HRV early warning model of altitude sickness, characterized in that: include: The data collection module is configured to respectively collect heart rate interval data of a plurality of subjects in a plain area and a plateau area, and collect the degree of altitude sickness of the subjects in the plateau area; a nonlinear analysis module, configured to obtain a heart rate interval graph of the heart rate interval data, and analyze at least one graphic feature of the heart rate interval graph using a nonlinear analysis method; An RR interval calculation module, configured to calculate the RR interval through the heart rate interval data; A linear analysis module, configured to adopt a first linear analysis method to analyze the RR interval to obtain at least one first linear data for characterizing the heart rate variability, and adopt a second linear analysis method to analyze the RR interval to obtain at least one second linear data for characterizing the heart rate variability; wherein the first linear analysis method is used to analyze the change characteristics of the heart rate variability in the time dimension, and the second linear analysis method is used to analyze the change characteristics of the heart rate variability in the frequency domain dimension; A sample library module is configured to form a corresponding data set according to the data obtained by the data acquisition module, the nonlinear analysis module, the RR interval calculation module and the linear analysis module, and a plurality of the data sets are combined to form a training sample library; A sample screening module is configured to screen out a first sample combination having a plurality of data sets from the training sample library, wherein the data types in the first sample combination include: at least one first linear data, at least one second linear data, and at least one graphic feature; A training module is configured to select at least one initial model and perform model training through the first sample combination to obtain a corresponding training model; A verification module is configured to select a plurality of data sets not used for training from the training sample library as a verification combination, and use the verification combination to verify the prediction accuracy of the training model; An updating module, configured to update the training model when the prediction accuracy is less than the first accuracy; The update module includes: A first judgment unit is configured to judge whether the prediction accuracy is less than a second accuracy, and if so, select at least one second sample combination from the training sample library again, and the data set ranges of the first sample combination and the at least one second sample combination overlap each other; wherein the second accuracy is less than the first accuracy; A training unit, configured to use the initial model to train again through at least one set of the second sample combination to obtain at least one training model; The second judgment unit is configured to judge whether the difference in prediction accuracy between at least two of the current training models is less than a first difference threshold. If so, it is considered that the currently selected initial model meets the conditions; otherwise, the training module is returned.
Citation Information
Patent Citations
Synthetic aperture radar image wind direction inversion method based on machine learning
CN117436329A
Data processing method for heart rate monitoring system
CN117898692A
