A method and system for predicting the risk of pregnancy-induced hypertension based on artificial intelligence

Through deep learning models and statistical analysis based on artificial intelligence, a pregnancy-induced hypertension risk prediction model is constructed, which solves the problem of inaccurate prediction in traditional methods, achieves higher prediction accuracy and reduces the risk of complications.

CN118230951BActive Publication Date: 2024-09-13LUNAN HOPE PHARM CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410342388.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2024-09-13
Estimated Expiration
2044-03-25

AI Technical Summary

Technical Problem

Traditional risk assessment methods for pregnancy-induced hypertension are highly subjective and tend to ignore subtle changes and individual differences, resulting in inaccurate predictions and inability to effectively reduce the incidence of complications.

Method used

Adopting artificial intelligence-based methods, using the deep knowledge tracking model and covariance analysis fused with the attention mechanism, combined with the improved alternating multiplier optimization algorithm, a risk prediction model for pregnancy-induced hypertension is constructed, and characteristic indicators are screened through deep learning and statistical correlation analysis. , improve prediction accuracy and reduce uncertainty.

Benefits of technology

It achieves more accurate risk prediction of pregnancy-induced hypertension, reduces the incidence of complications, provides a more flexible and interpretable prediction model, and avoids the subjectivity and uncertainty in traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118230951B
    Figure CN118230951B
Patent Text Reader

Abstract

The present invention relates to the technical field of smart medical treatment, and discloses a method for predicting the risk of gestational hypertension based on artificial intelligence, the method comprising: collecting biochemical indicator data during pregnancy and preprocessing the collected data to obtain preprocessed biochemical indicator data, and screening the preprocessed biochemical indicator data for characteristic indicators to obtain characteristic vectors; constructing a gestational hypertension risk prediction model, using the screened characteristic vectors as input to obtain predicted blood pressure values; optimizing and solving the constructed prediction model to obtain optimal model parameters, and forming a hypertension risk prediction instance according to the solved model parameters to perform gestational hypertension risk diagnosis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent medical technology, and in particular to a method and system for predicting the risk of gestational hypertension based on artificial intelligence. Background Art

[0002] Pregnancy-induced hypertension refers to elevated blood pressure during pregnancy, accompanied by proteinuria and / or organ dysfunction. This is a common pregnancy complication, which can lead to health risks for both mother and baby in severe cases. According to statistics from the World Health Organization, pregnancy-induced hypertension affects approximately 5% of pregnant women worldwide, and its complications include premature birth, low birth weight, preeclampsia, etc., which pose a serious threat to the life and health of mothers and babies. Traditional risk assessment of pregnancy-induced hypertension relies on the doctor's experience and basic information of pregnant women, such as age, weight, medical history, etc. However, this method has some problems, such as strong subjectivity, easy to ignore subtle changes and individual differences, etc. In response to this problem, this patent proposes a method for predicting the risk of pregnancy-induced hypertension based on artificial intelligence, using large-scale data and complex algorithms for deep learning to more accurately predict the probability of pregnancy-induced hypertension, which helps doctors to intervene and manage high-risk pregnant women early and reduce the incidence of complications. Summary of the invention

[0003] In view of this, the present invention provides a method and system for predicting the risk of gestational hypertension based on artificial intelligence, the purpose of which is to: 1) propose a method for predicting the risk of gestational hypertension based on artificial intelligence, introduce a deep knowledge tracking model that integrates an attention mechanism to construct a gestational hypertension risk prediction model, the model can learn the biochemical indicator data of women during pregnancy, and use the attention mechanism to improve the prediction accuracy. Compared with traditional machine learning algorithms, the model has better flexibility and interpretability; 2) use covariance analysis as the main implementation method for feature index screening, and screen out feature indicators that play an important role in predicting the risk of gestational hypertension by analyzing the statistical correlation between biochemical indicator data, avoiding the uncertainty and limitations brought by traditional feature selection methods based on experience or subjective judgment; 3) propose an improved alternating multiplier optimization algorithm to optimize and solve the constructed prediction model, the algorithm can solve non-convex optimization problems through a series of iterative processes, and can ensure convergence and stability in each iterative step.

[0004] To achieve the above object, the present invention provides a method for predicting the risk of pregnancy-induced hypertension based on artificial intelligence, comprising the following steps:

[0005] S1: collecting biochemical index data during pregnancy and preprocessing the collected data to obtain preprocessed biochemical index data, wherein the index data include weight, blood pressure, systolic pressure, diastolic pressure, mean arterial pressure, pulse pressure, heart rate, age and BMI index;

[0006] S2: Screening the preprocessed biochemical index data for characteristic indexes to obtain characteristic vectors, wherein covariance analysis is the main implementation method for screening the characteristic indexes;

[0007] S3: Construct a risk prediction model for gestational hypertension, which takes the screened feature vector as input and the predicted blood pressure value as output, wherein deep knowledge tracking integrating the attention mechanism is the main implementation method of the prediction model;

[0008] S4: Optimize and solve the constructed prediction model to obtain the optimal model parameters, and form a hypertension risk prediction instance based on the solved model parameters to perform pregnancy hypertension risk diagnosis, wherein the improved alternating multiplier optimization algorithm is the main implementation method for optimizing and solving the model.

[0009] As a further improvement method of the present invention:

[0010] Optionally, it is characterized in that the preprocessing of the collected data in step S1 includes:

[0011] S21: performing missing value processing on the collected biochemical index data to obtain filled biochemical index data, wherein spline interpolation is the main implementation method of the missing value processing;

[0012] S22: performing smoothing processing on the filled biochemical index data to remove data noise to obtain smoothed biochemical index data, wherein exponential smoothing is the main implementation method of the smoothing processing.

[0013] In the step S21, the collected biochemical index data are processed for missing values, including:

[0014] S31: The collected biochemical index data is [(x0, y0), (x1, y1), ..., (x n ,y n )], where x i is the collection time of the data point, y i is the corresponding data point value;

[0015] S32: The collected biochemical index data were fitted using cubic spline interpolation;

[0016] S33: Calculate the parameters of the interpolation function, where for each adjacent data point, a cubic polynomial is constructed, and the calculation formula is:

[0017] S i (x) = a i +b i (xx i )+c i (xx i) 2 +d i (xx i ) 3

[0018] Among them, a i ,b i ,c i ,d i are polynomial coefficients, satisfying conditions a to d:

[0019] Condition a: At each data point x i At the point where the interpolation function passes through, the calculation formula is: S i (x i )=y i ;

[0020] Condition b: At adjacent data points x i+1 At, the interpolation function is continuous, and the calculation formula is: S i (x i+1 )=y i+1 ;

[0021] Condition c: At adjacent data points x i+1 At , the first-order derivative of the interpolation function is continuous, and the calculation formula is: S i ′(x i+1 ) = S′ i+1 (x i+1 );

[0022] Condition d: At adjacent data points x i+1 At , the second-order derivative of the interpolation function is continuous, and the calculation formula is: S i ″(x i+1 )=S″ i+1 (x i+1 );

[0023] S34: Solving for parameter a i ,b i ,c i ,d i , and interpolate any specified x value based on the calculated parameters.

[0024] In the step S22, the biochemical index data after filling is smoothed, including:

[0025] S41: Initialize the smoothing value S0 and the initial trend value T0, where S0 takes the first observation value y0, and T0 takes the difference between the first observation value y0 and the second observation value y1;

[0026] S42: Iteratively update the smoothing value and trend value, and perform update calculation for each time point t:

[0027] The updated calculation formula for the predicted value is:

[0028] The smoothing value update calculation formula is: S t =αY t +(1-α)(S t-1 +T t-1 )

[0029] The trend value update calculation formula is: T t =β(S t -S t-1 )+(1-β)T t-1

[0030] The prediction error update calculation formula is:

[0031] Among them, α represents the smoothing coefficient and β represents the trend coefficient;

[0032] S43: Using the updated predicted value as the biochemical index data after smoothing.

[0033] Optionally, in step S2, the pre-processed biochemical indicator data is screened for characteristic indicators, including:

[0034] S51: Taking the index to be screened as the input independent variable and the result variable as the output variable, a multiple regression model is established. The calculation formula of the multiple regression model is:

[0035]

[0036] Among them, Y represents the outcome variable, X i represents the value of the i-th indicator, β i represents the regression coefficient, β0 represents the intercept term, and ∈ represents the error term;

[0037] S52: For each indicator value X i , calculate its influence on the outcome variable, the calculation formula is:

[0038]

[0039] Among them, SSR i Indicates that the value of the indicator X i The regression sum of squares increased after the addition, SSE represents the error sum of squares, p represents the number of indicators in the model, and n represents the sample size;

[0040] S53: According to the calculated F value of each indicator, the indicator with the largest F value is selected as the first characteristic indicator, and the first k indicators with the largest F values ​​are used as the filtered characteristic indicators.

[0041] Optionally, constructing a pregnancy-induced hypertension risk prediction model in step S3 includes:

[0042] S61: Model the blood pressure status of pregnant women based on the LSTM model, use the filtered feature index data as the input sequence of the LSTM model, and use the output of the LSTM model as the blood pressure status;

[0043] S62: Taking the blood pressure status and the filtered feature index data as input, and combining the attention mechanism score to calculate the predicted blood pressure status;

[0044] S63: During the model training process, the cross entropy loss function is used to measure the difference between the actual blood pressure data and the model-predicted blood pressure data. The calculation formula of the cross entropy loss function is:

[0045]

[0046] Where N represents the number of training samples, y i represents the true blood pressure data of the i-th sample, Represents the model's predicted blood pressure data.

[0047] The S62 step combines the attention mechanism score, including:

[0048] S71: Use two fully connected layers to calculate the attention score, the calculation formula is:

[0049] a(S t ,q t )=softmax(w2tanh(w1[S t ;q t ]))

[0050] Among them, S t Indicates blood pressure status, q t Represents the filtered feature index data, [S t ;q t ] represents the concatenation operation, w1 and w2 represent the model weights.

[0051] Optionally, in step S4, optimizing and solving the constructed prediction model to obtain optimal model parameters includes:

[0052] S81: Introduce the Lagrangian multiplier y and construct the augmented Lagrangian function. The calculation formula is:

[0053]

[0054] Where ρ represents the equilibrium parameter, x is the input variable, Ax=b is the linear constraint of variable x, and f(x) is the objective function;

[0055] S82: Initialize variable x (0) ,y (0) ,z(0), where z (0) Represents auxiliary variables, and the variable parameters are iteratively updated until convergence to obtain the model parameters.

[0056] The iterative updating of the variable parameters in step S82 includes:

[0057] S91: Fixed y and z, optimized Solve for x;

[0058] S92: Fixed x, by optimizing Solve for y;

[0059] S93: Update z, the calculation formula is: z = Ax-b + zu, where u represents the update item;

[0060] S94: Iterative update u: The calculation formula is: u=u+(Ax-b+z).

[0061] In order to solve the above problems, the present invention provides a system for predicting the risk of gestational hypertension based on artificial intelligence, the system comprising:

[0062] A data collection module is used to collect biochemical index data during pregnancy and preprocess the collected data to obtain preprocessed biochemical index data, and perform feature index screening on the preprocessed biochemical index data to obtain a feature vector;

[0063] The risk prediction module is used to construct a pregnancy-induced hypertension risk prediction model, and optimize and solve the constructed prediction model to obtain the optimal model parameters, and form a hypertension risk prediction instance based on the solved model parameters to perform pregnancy-induced hypertension risk diagnosis.

[0064] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0065] A memory storing at least one instruction;

[0066] Communication interface, enabling electronic equipment to communicate; and

[0067] A processor executes instructions stored in the memory to implement the above-mentioned method for predicting the risk of gestational hypertension based on artificial intelligence.

[0068] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned method for predicting the risk of gestational hypertension based on artificial intelligence.

[0069] Compared with the prior art, the present invention proposes a method for predicting the risk of gestational hypertension based on artificial intelligence, which has the following advantages:

[0070] Firstly, this paper proposes a method for predicting the risk of gestational hypertension based on artificial intelligence. A deep knowledge tracking model integrating attention mechanism is introduced to construct a prediction model for the risk of gestational hypertension. The model can learn the biochemical index data of women during pregnancy and use the attention mechanism to improve the prediction accuracy. Compared with traditional machine learning algorithms, the model has better flexibility and interpretability.

[0071] At the same time, this program uses covariance analysis as the main implementation method for feature index screening. By analyzing the statistical correlation between biochemical indicator data, feature indicators that play an important role in predicting the risk of gestational hypertension are screened out, avoiding the uncertainty and limitations brought about by traditional feature selection methods based on experience or subjective judgment.

[0072] In addition, this scheme proposes an improved alternating multiplier optimization algorithm to optimize the constructed prediction model. The algorithm can solve non-convex optimization problems through a series of iterative processes and ensure convergence and stability in each iterative step. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 A schematic diagram of a process for predicting the risk of gestational hypertension based on artificial intelligence provided by one embodiment of the present invention;

[0074] Figure 2 A functional module diagram of a system for predicting the risk of pregnancy-induced hypertension based on artificial intelligence provided by an embodiment of the present invention;

[0075] Figure 3 A schematic diagram of the structure of an electronic device for implementing a method for predicting the risk of pregnancy-induced hypertension based on artificial intelligence provided by one embodiment of the present invention.

[0076] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0077] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0078] The embodiment of the present application provides a method for predicting the risk of gestational hypertension based on artificial intelligence. The execution subject of the method for predicting the risk of gestational hypertension based on artificial intelligence includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the method for predicting the risk of gestational hypertension based on artificial intelligence can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0079] Embodiment 1:

[0080] S1: Collecting biochemical index data during pregnancy and preprocessing the collected data to obtain preprocessed biochemical index data, wherein the index data include weight, blood pressure, systolic pressure, diastolic pressure, mean arterial pressure, pulse pressure, heart rate, age and BMI index.

[0081] In the step S1, the collected data is preprocessed, including:

[0082] S21: performing missing value processing on the collected biochemical index data to obtain filled biochemical index data, wherein spline interpolation is the main implementation method of the missing value processing;

[0083] S22: performing smoothing processing on the filled biochemical index data to remove data noise to obtain smoothed biochemical index data, wherein exponential smoothing is the main implementation method of the smoothing processing.

[0084] In the step S21, the collected biochemical index data are processed for missing values, including:

[0085] S31: The collected biochemical index data is [(x0, y0), (x1, y1), ..., (x n ,y n )], where x i is the collection time of the data point, y i is the corresponding data point value;

[0086] S32: The collected biochemical index data were fitted using cubic spline interpolation;

[0087] S33: Calculate the parameters of the interpolation function, where for each adjacent data point, a cubic polynomial is constructed, and the calculation formula is:

[0088] S i (x) = a i +b i (xx i )+c i (xx i )2 +d i (xx i ) 3

[0089] Among them, a i ,b i ,c i ,d i are polynomial coefficients, satisfying conditions a to d:

[0090] Condition a: At each data point x i At the point where the interpolation function passes through, the calculation formula is: S i (x i )=y i ;

[0091] Condition b: At adjacent data points x i+1 At, the interpolation function is continuous, and the calculation formula is: S i (x i+1 )=y i+1 ;

[0092] Condition c: At adjacent data points x i+1 At , the first-order derivative of the interpolation function is continuous, and the calculation formula is: S i ′(xi +1 ) = S′ i+1 (xi +1 );

[0093] Condition d: At adjacent data points x i+1 At , the second-order derivative of the interpolation function is continuous, and the calculation formula is: S i ″(xi +1 )=S″ i+1 (xi +1 );

[0094] S34: Solving for parameter a i ,b i ,c i ,d i , and interpolate any specified x value based on the calculated parameters.

[0095] In the step S22, the biochemical index data after filling is smoothed, including:

[0096] S41: Initialize the smoothing value S0 and the initial trend value T0, where S0 takes the first observation value y0, and T0 takes the difference between the first observation value y0 and the second observation value y1;

[0097] S42: Iteratively update the smoothing value and trend value, and perform update calculation for each time point t:

[0098] The updated calculation formula for the predicted value is:

[0099] The smoothing value update calculation formula is: S t =αY t +(1-α)(S t-1 +T t-1 )

[0100] The trend value update calculation formula is: T t =β(S t -S t-1 )+(1-β)T t-1

[0101] The prediction error update calculation formula is:

[0102] Among them, α represents the smoothing coefficient and β represents the trend coefficient;

[0103] S43: Using the updated predicted value as the biochemical index data after smoothing.

[0104] S2: Screening the preprocessed biochemical index data for characteristic indexes to obtain characteristic vectors, wherein covariance analysis is the main implementation method for screening the characteristic indexes.

[0105] In the step S2, the pre-processed biochemical index data is screened for characteristic indexes, including:

[0106] S51: Taking the index to be screened as the input independent variable and the result variable as the output variable, a multiple regression model is established. The calculation formula of the multiple regression model is:

[0107]

[0108] Among them, Y represents the outcome variable, X i represents the value of the i-th indicator, β i represents the regression coefficient, β0 represents the intercept term, and ∈ represents the error term;

[0109] S52: For each indicator value X i , calculate its influence on the outcome variable, the calculation formula is:

[0110]

[0111] Among them, SSR i Indicates that the value of the indicator X i The regression sum of squares increased after the addition, SSE represents the error sum of squares, p represents the number of indicators in the model, and n represents the sample size;

[0112] S53: According to the calculated F value of each indicator, the indicator with the largest F value is selected as the first characteristic indicator, and the first k indicators with the largest F values ​​are used as the filtered characteristic indicators.

[0113] S3: Construct a risk prediction model for gestational hypertension, which takes the screened feature vector as input and the predicted blood pressure value as output, wherein deep knowledge tracking integrating attention mechanism is the main implementation method of the prediction model.

[0114] The step S3 constructs a pregnancy-induced hypertension risk prediction model, including:

[0115] S61: Model the blood pressure status of pregnant women based on the LSTM model, use the filtered feature index data as the input sequence of the LSTM model, and use the output of the LSTM model as the blood pressure status;

[0116] S62: Taking the blood pressure status and the filtered feature index data as input, and combining the attention mechanism score to calculate the predicted blood pressure status;

[0117] S63: During the model training process, the cross entropy loss function is used to measure the difference between the actual blood pressure data and the model-predicted blood pressure data. The calculation formula of the cross entropy loss function is:

[0118]

[0119] Where N represents the number of training samples, yi represents the true blood pressure data of the i-th sample, Represents the model's predicted blood pressure data.

[0120] The S62 step combines the attention mechanism score, including:

[0121] S71: Use two fully connected layers to calculate the attention score, the calculation formula is:

[0122] a(S t ,q t )=softmax(w2tanh(w1[S t ;q t ]))

[0123] Among them, S t Indicates blood pressure status, q t Represents the filtered feature index data, [S t ;q t ] represents the concatenation operation, w1 and w2 represent the model weights.

[0124] S4: Optimize and solve the constructed prediction model to obtain the optimal model parameters, and form a hypertension risk prediction instance based on the solved model parameters to perform pregnancy hypertension risk diagnosis, wherein the improved alternating multiplier optimization algorithm is the main implementation method for optimizing and solving the model.

[0125] In the step S4, the constructed prediction model is optimized to obtain the optimal model parameters, including:

[0126] S81: Introduce the Lagrangian multiplier y and construct the augmented Lagrangian function. The calculation formula is:

[0127]

[0128] Where ρ represents the equilibrium parameter, x is the input variable, Ax=b is the linear constraint of variable x, and f(x) is the objective function;

[0129] S82: Initialize variable x (0) ,y (0) ,z (0) , where z (0) Represents auxiliary variables, and the variable parameters are iteratively updated until convergence to obtain the model parameters.

[0130] The iterative updating of the variable parameters in step S82 includes:

[0131] S91: Fixed y and z, optimized Solve for x;

[0132] S92: Fixed x, by optimizing Solve for y;

[0133] S93: Update z, the calculation formula is: z = Ax-b + zu, where u represents the update item;

[0134] S94: Iterative update u: The calculation formula is: u=u+(Ax-b+z).

[0135] Embodiment 2:

[0136] like Figure 2 As shown, it is a functional module diagram of a system for predicting the risk of gestational hypertension based on artificial intelligence provided by an embodiment of the present invention, which can implement the method for predicting the risk of gestational hypertension based on artificial intelligence in Example 1.

[0137] The system 100 for predicting the risk of hypertension in pregnancy based on artificial intelligence of the present invention can be installed in an electronic device. According to the functions implemented, the system for predicting the risk of hypertension in pregnancy based on artificial intelligence can include a data acquisition module 101 and a risk prediction module 102. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0138] The data collection module 101 is used to collect biochemical index data during pregnancy and pre-process the collected data to obtain pre-processed biochemical index data, and perform feature index screening on the pre-processed biochemical index data to obtain a feature vector;

[0139] The risk prediction module 102 is used to construct a pregnancy-induced hypertension risk prediction model, and optimize and solve the constructed prediction model to obtain the optimal model parameters, and form a hypertension risk prediction instance based on the solved model parameters to perform pregnancy-induced hypertension risk diagnosis.

[0140] In detail, each module in the system 100 for predicting pregnancy-induced hypertension risk based on artificial intelligence in the embodiment of the present invention is used in the same manner as described above. Figure 1 The technical means described in the method for predicting the risk of gestational hypertension based on artificial intelligence are the same and can produce the same technical effects, so they will not be repeated here.

[0141] Embodiment 3:

[0142] like Figure 3 , is a schematic diagram of the structure of an electronic device for implementing a method for predicting the risk of gestational hypertension based on artificial intelligence provided by an embodiment of the present invention.

[0143] The electronic device 1 may include a processor 10 , a memory 11 , a communication interface 13 and a bus, and may also include a computer program stored in the memory 11 and executable on the processor 10 , such as a program 12 .

[0144] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device. The memory 11 may not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the program 12, etc., but also be used to temporarily store data that has been output or is to be output.

[0145] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (such as a program 12 for predicting the risk of gestational hypertension based on artificial intelligence), and calls data stored in the memory 11 to execute various functions of the electronic device 1 and process data.

[0146] The communication interface 13 may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices, and to achieve connection and communication between internal components of the electronic device.

[0147] The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0148] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0149] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, etc. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0150] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0151] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for predicting the risk of gestational hypertension based on artificial intelligence, It is characterized in that The method comprises: S1: collecting biochemical index data during pregnancy and preprocessing the collected data to obtain preprocessed biochemical index data, wherein the index data include weight, blood pressure, systolic pressure, diastolic pressure, mean arterial pressure, pulse pressure, heart rate, age and BMI index; S2: Screening the preprocessed biochemical index data for characteristic indexes to obtain characteristic vectors, wherein covariance analysis is an implementation method for screening the characteristic indexes; S3: Construct a risk prediction model for gestational hypertension, wherein the model takes the screened feature vector as input and the predicted blood pressure value as output, wherein deep knowledge tracking integrating the attention mechanism is an implementation method of the prediction model; S4: optimizing and solving the constructed prediction model to obtain the optimal model parameters, and forming a hypertension risk prediction instance according to the obtained model parameters to predict the risk of gestational hypertension, wherein the improved alternating multiplier optimization algorithm is the implementation method of the model optimization solution; In the step S4, the constructed prediction model is optimized to obtain the optimal model parameters, including: S81: Introduce the Lagrangian multiplier y and construct the augmented Lagrangian function. The calculation formula is: Where ρ represents the equilibrium parameter, x is the input variable, Ax=b is the linear constraint of variable x, and f(x) is the objective function; S82: Initialize variable x (0) ,y (0) , z (0) , where z (0) Represents auxiliary variables, and iteratively updates the variable parameters until convergence to obtain model parameters; The iterative updating of the variable parameters in step S82 includes: S91: Fixed y and z, optimized Solve for x; S92: Fixed x, by optimizing Solve for y; S93: Update z, the calculation formula is: z = Ax-b + zu, where u represents the update item; S94: Iterative update u: The calculation formula is: u=u+(Ax-b+z).

2. A method for predicting the risk of gestational hypertension based on artificial intelligence as claimed in claim 1, It is characterized in that In the step S1, the collected data is preprocessed, including: S21: performing missing value processing on the collected biochemical index data to obtain filled biochemical index data, wherein spline interpolation is an implementation method of the missing value processing; S22: performing smoothing processing on the filled biochemical index data to remove data noise to obtain smoothed biochemical index data, wherein exponential smoothing is an implementation method of the smoothing processing.

3. A method for predicting the risk of gestational hypertension based on artificial intelligence as claimed in claim 2, It is characterized in that In the step S21, the collected biochemical index data are processed for missing values, including: S31: The collected biochemical index data is [(x 0 ,y 0 ), (x 1 ,y 1 ),...,(x n ,y n )], where x i is the collection time of the data point, y i is the corresponding data point value; S32: The collected biochemical index data were fitted using cubic spline interpolation; S33: Calculate the parameters of the interpolation function, where for each adjacent data point, a cubic polynomial is constructed, and the calculation formula is: S i (x)=a i +b i (x-x i )+c i (x-x i ) 2 +d i (x-x i ) 3 Among them, a i , b i , c i , d i are polynomial coefficients, satisfying conditions a to d: Condition a: At each data point x i At the point where the interpolation function passes through, the calculation formula is: S i (x i )=y i ; Condition b: At adjacent data points x i+1 At, the interpolation function is continuous, and the calculation formula is: S i (x i+1 )=y i+1 ; Condition c: At adjacent data points x i+1 At , the first-order derivative of the interpolation function is continuous, and the calculation formula is: S′ i (x i+1 ) = S′ i+1 (x i+1 ); Condition d: At adjacent data points x i+1 At , the second-order derivative of the interpolation function is continuous, and the calculation formula is: S″ i (x i+1 )=S″ i+1 (x i+1 ); S34: Solving for parameter a i , b i , c i , d i , and interpolate any specified x value based on the calculated parameters.

4. A method for predicting the risk of gestational hypertension based on artificial intelligence as claimed in claim 2, It is characterized in that In the step S22, the biochemical index data after filling is smoothed, including: S41: Initialize the smoothing value S 0 and the initial trend value T 0 , where S 0 Take the first observation y 0 , T 0 Take the first observation y 0 With the second observation y 1 The difference between S42: Iteratively update the smoothing value and trend value, and perform update calculation for each time point t: The updated calculation formula for the predicted value is: The smoothing value update calculation formula is: S t =αY t +(1-α)(S t-1 +T t-1 ) The trend value update calculation formula is: T t =β(S t -S t-1 )+(1-β)T t-1 The prediction error update calculation formula is: Among them, α represents the smoothing coefficient, β represents the trend coefficient, and Y t represents the observed value at time t; S43: Using the updated predicted value as the biochemical index data after smoothing.

5. A method for predicting the risk of gestational hypertension based on artificial intelligence as claimed in claim 1, It is characterized in that In the step S2, the pre-processed biochemical index data is screened for characteristic indexes, including: S51: Taking the index to be screened as the input independent variable and the result variable as the output variable, a multiple regression model is established. The calculation formula of the multiple regression model is: Among them, Y represents the outcome variable, X i represents the value of the i-th indicator, β i represents the regression coefficient, n represents the total number of indicators, β 0 represents the intercept term, ∈ represents the error term; S52: For each indicator value X i , calculate its influence on the outcome variable, the calculation formula is: Among them, SSR i Indicates that the value of the indicator X i The regression sum of squares increased after addition, SSE represents the error sum of squares, p represents the number of indicators in the model, and m represents the number of biochemical indicator data samples; S53: According to the calculated F of each indicator i Value, select F i The largest index is taken as the first feature index, and the first k F i The index with the largest value is taken as the characteristic index after screening.

6. A method for predicting the risk of gestational hypertension based on artificial intelligence as claimed in claim 1, It is characterized in that The step S3 constructs a pregnancy-induced hypertension risk prediction model, including: S61: Model the blood pressure status of pregnant women based on the LSTM model, use the filtered feature index data as the input sequence of the LSTM model, and use the output of the LSTM model as the blood pressure status; S62: Taking the blood pressure status and the filtered feature index data as input, and combining the attention mechanism score to calculate the predicted blood pressure status; S63: During the model training process, the cross entropy loss function is used to measure the difference between the actual blood pressure data and the model-predicted blood pressure data. The calculation formula of the cross entropy loss function is: Where N represents the number of training samples, y i represents the true blood pressure data of the i-th sample, Represents the model's predicted blood pressure data.

7. A method for predicting the risk of gestational hypertension based on artificial intelligence as claimed in claim 6, It is characterized in that The S62 step combines the attention mechanism score, including: S71: Use two fully connected layers to calculate the attention score, the calculation formula is: a(S t ,q t )=softmax(w 2 tanh(w 1 [S t ;q t ])) Among them, S t Indicates blood pressure status, q t Represents the filtered feature index data, [S t ;q t ] indicates the splicing operation, w 1 and w 2 Represents the model weight.

8. A system based on artificial intelligence to predict the risk of gestational hypertension. It is characterized in that The system comprises: A data collection module is used to collect biochemical index data during pregnancy and preprocess the collected data to obtain preprocessed biochemical index data, and perform feature index screening on the preprocessed biochemical index data to obtain a feature vector; A risk prediction module is used to construct a pregnancy-induced hypertension risk prediction model, and optimize and solve the constructed prediction model to obtain the optimal model parameters, and form a hypertension risk prediction instance based on the solved model parameters to perform pregnancy-induced hypertension risk prediction, so as to realize a method for predicting pregnancy-induced hypertension risk based on artificial intelligence as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Method for predicting hypertensive diseases of pregnant women in an early pregnancy period by combining MAP, PlGF and PAPPA to construct a risk model

    CN112466460A

  • Prediction model for early stage and middle stage of pregnancy eclampsia

    CN115938575A

  • Hypertension risk dynamic assessment system for pregnant women in gestation period

    CN116597993A

  • Data collection analyzer and data analysis method

    JP2020031730A