Model for predicting survival of severe heart failure patient in vulnerable period based on drug exposure and establishment method and application thereof
By constructing a survival prediction model within the vulnerable period based on drug exposure, using drug exposure duration as a predictor, and combining the CoxPH, RSF and DeepSurv algorithms, the problem of large prediction errors in patients with severe heart failure in the existing technology has been solved, and the prediction of patients with severe heart failure has been achieved. Accurate assessment and clinical utility of survival status in patients with severe heart failure.
Patent Information
- Application Number
- CN202410304474.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2024-09-10
AI Technical Summary
Existing technology is difficult to accurately predict the survival status of patients with severe heart failure during the vulnerable period, and the application of drug treatment information in prediction models is insufficient, resulting in large prediction errors and affecting clinical decision-making.
By collecting basic clinical information and drug treatment information of patients with severe heart failure, a survival prediction model during the vulnerable period based on drug exposure is constructed. CoxPH, RSF and DeepSurv algorithms are used for model construction and verification, and an interactive system is provided through the Browser/Server structure. , obtain the drug exposure duration as a predictor and conduct risk assessment.
It has achieved interpretable risk assessment of the survival status of patients with severe heart failure during the vulnerable period, optimized clinical management and treatment strategies, and provided a simple and fast prognosis assessment tool. The discrimination and calibration of the model have reached clinical practical value.
Smart Images

Figure CN118629640A
Abstract
Description
Technical Field
[0001] The present invention relates to a survival prediction model for patients with severe heart failure during a vulnerable period based on drug exposure, and an establishment method and application thereof, and belongs to the technical field of artificial intelligence. Background Art
[0002] With the increase in the prevalence and hospitalization rate of heart failure (HF) worldwide, the mortality rate of HF patients admitted to the ICU during the vulnerable period remains high. Accurately predicting the prognosis of such patients after discharge is helpful to assist medical staff in timely adjusting the diagnosis and treatment plan, thereby improving their survival rate. As one of the representatives of precision medicine, clinical prediction models are extremely important in medical diagnosis and treatment decisions, patient prognosis management, and public health resource allocation. Among them, artificial intelligence (AI) technologies such as machine learning (ML) and deep learning (DL) have been recommended as reliable means to establish disease diagnosis or prognosis evaluation models.
[0003] Since drug therapy is an important means to help heart failure patients to stabilize during the vulnerable period, it can reduce prediction errors to a certain extent as a predictor, and can also provide a reference for clinical decision makers to formulate medication strategies for patients after discharge. In addition, compared with laboratory indicators or imaging data that are overly dependent on equipment, drug therapy information is easy to obtain and organize, has a wider range of applications, and is more easily accepted by users. Summary of the invention
[0004] In view of the shortcomings of the prior art, the present invention provides a survival prediction model for patients with severe heart failure during the vulnerable period based on drug exposure, and a method for establishing and applying the model, so as to obtain an interpretable risk assessment model by acquiring convenient and practical drug treatment information and partial demographic information.
[0005] In order to achieve the above-mentioned object of the invention, the present invention adopts the following technical solutions:
[0006] In a first aspect, the present invention provides a method for establishing a survival prediction model for patients with severe heart failure during the vulnerable period based on drug exposure, comprising the following steps:
[0007] (1) Six categories of basic clinical information, 18 categories of drug treatment information, and prognosis follow-up of patients with severe heart failure during hospitalization were collected from databases of different medical centers to form the original sample set for model construction;
[0008] (2) After the raw data are processed and processed initially, they are interpolated according to the missing data of each indicator, and then normalized to remove the dimension effect, thereby reducing the error and bias of the data;
[0009] (3) Data division: After preprocessing, the dataset is divided into a training set (70%), an internal validation set (30%), and two external validation sets (A and B);
[0010] (4) Feature selection: In order to eliminate unnecessary interference and improve the accuracy and stability of the model, it is necessary to select independent variables that have a greater impact on the target outcome as predictors through variable screening. After excluding strong correlations between variables, single- and then multi-variable Cox analysis and LASSO regression analysis were performed as reference variables;
[0011] (5) Model construction: The CoxPH algorithm has limited computing power. Screening effective variables into the model not only helps to improve the accuracy and stability of the model, but also saves a lot of computing resources. Therefore, the selected variables are selected for construction. RSF and DeepSurv algorithms have stronger computing power than conventional algorithms and can be used to fit high-dimensional, nonlinear statistical relationships. Therefore, all available variable features are included, and random search is used for hyperparameter tuning. The optimal parameters are selected and the optimal model is established based on the AUC indicator evaluation results;
[0012] (6) Model validation: The discrimination, calibration, and clinical decision-making ability of the model were validated in internal and external validation sets, and the prediction performance at 30 days, 60 days, and 90 days was visualized;
[0013] (7) Variable importance analysis: clarify the contribution of variables to outcome prediction and further confirm the rationality of the model.
[0014] The second purpose of the present invention is to use a Browser / Server structure for interaction to provide a survival prediction system for patients with severe heart failure during the vulnerable period based on drug exposure, including: a pre-input module for patient information, a constructed survival prediction model, and a display module for displaying survival prediction results.
[0015] The third object of the present invention is to provide a program product stored on a computer-readable medium, including a computer-readable program, which, when executed on an electronic device, provides a user input interface to apply a drug exposure-based survival prediction system for patients with severe heart failure during the vulnerable period.
[0016] The beneficial effects of the present invention are as follows:
[0017] 1. The present invention collects basic clinical information of patients and the use of anti-heart failure and auxiliary treatment drugs during hospitalization through a real-world database as raw data. For the first time, the exposure duration of drugs is used as a predictor to predict the survival status of patients with severe heart failure during the vulnerable period, so as to prepare clinicians to assess the risk of patients with severe heart failure in the early stage of discharge, thereby optimizing management and treatment, and also providing a new direction for the subsequent construction of prediction models for other diseases;
[0018] 2. The present invention adopts the Browser / Server structure for interaction, and the web page interface is friendly, providing a simple and fast tool for clinicians to evaluate the prognosis of patients;
[0019] 3. The overall performance of the constructed model and its 30-day, 60-day, and 90-day prediction performance have been internally and externally verified. The ROC curve, Time-AUC, and Brier score all show that the model has good discrimination and calibration. The DCA curve also shows that the model has clinical practical value.
[0020] 4. Perform variable importance analysis on the model to explain the working mechanism or decision-making basis of the model, thereby evaluating the contribution of the variables to the prediction and further proving the rationality of the model. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flow chart in an embodiment of the present invention;
[0022] Figure 2 is a correlation matrix diagram of 24 variables (demographic data and drug treatment information) in an embodiment of the present invention;
[0023] Figure 3 It is a dynamic AUC graph of CoxPH, RSF and DeepSurv models in the embodiment of the present invention within 90 days in internal and external validation A and B;
[0024] Figure 4 30-day, 60-day, and 90-day survival prediction ROC curves of the CoxPH, RSF, and DeepSurv models obtained in the embodiments of the present invention in internal and external validation;
[0025] Figure 5 is a curve diagram of the survival prediction error based on the Brier score of the CoxPH, RSF and DeepSurv models obtained in the embodiments of the present invention in the internal and external validations A and B;
[0026] Figure 6 are DCA curves of CoxPH, RSF and DeepSurv models obtained in the embodiments of the present invention in external validation A and B;
[0027] Figure 7 : is a CoxPH model variable importance analysis diagram obtained in an embodiment of the present invention;
[0028] Figure 8 is a heat map of feature importance of RSF and DeepSurv models based on permutation importance obtained in an embodiment of the present invention;
[0029] Fig. 9 is a feature importance graph of the DeepSurv model based on SHAP values obtained in an embodiment of the present invention;
[0030] Fig.10 This is a webpage diagram of survival prediction for patients with severe heart failure during the vulnerable period. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 creative work are within the scope of protection of the present invention.
[0032] The present invention collects the following information of patients with severe heart failure during hospitalization from public databases and self-built databases that have passed ethical review: demographic information, length of hospitalization, length of ICU stay, partial records in the ICU, comorbidities, other treatment measures, and drug treatment information.
[0033] For patients who were hospitalized multiple times, only the first admission data were included. The following patients were excluded: (1) aged <18 years; (2) hospitalization or ICU stay <24 hours; (3) with malignant tumors; (4) with incorrect hospitalization information.
[0034] The original sample set for constructing the model was composed of basic clinical information, drug treatment information and prognosis follow-up. The basic clinical information included 6 categories, namely patient gender, BMI, age, length of hospital stay, and length of ICU stay. The drug treatment information included 18 categories, namely: angiotensin-converting enzyme inhibitors, angiotensin receptor antagonists, β-blockers, cardiac glycosides, diuretics, nitrates, hydroxymethylglutaryl coenzyme A reductase inhibitors, calcium ion blockers, phosphodiesterase inhibitors, proton pump inhibitors, H2 receptor antagonists, antibacterial drugs, antiplatelet drugs, insulin, heparin, epinephrine / dopamine drugs, glucocorticoids, and vitamin K antagonists. The prognosis follow-up was the survival status of patients with severe heart failure within 90 days after discharge.
[0035] The “capping method” was used to process outliers; the multiple interpolation method was used to fill in missing data; the maximum and minimum normalization method was used to normalize some continuous variables (age, BMI, hospitalization and ICU stay). To prevent the appearance of “0” values, the following formula was used for processing:
[0036]
[0037] Drug exposure duration selection formula:
[0038]
[0039] After preprocessing, the public database dataset was divided into a training set (70%), an internal validation set (30%), and an external validation set A; the self-constructed database was used as the external validation set B.
[0040] Feature screening: Pearson correlation analysis was performed to calculate the correlation coefficient between features: the correlation coefficient was required to be less than 0.7; univariate Cox analysis was performed based on the patient's survival time and follow-up survival status. To avoid missing significant variables, all influencing factors with P < 0.1 were included in the multivariate Cox analysis, and the hazard ratio and 95% confidence interval of each variable were finally calculated; LASSO regression compressed the variable coefficients in the regression model by generating a penalty function to prevent overfitting and solve the problem of serious collinearity.
[0041] The CoxPH model was constructed using Python 3.7 software, and 10 variables that had been screened were included: age, BMI, duration of ICU stay, angiotensin-converting enzyme inhibitors, angiotensin receptor antagonists, beta-blockers, nitrates, H2 receptor antagonists, antibiotics, and vitamin K antagonists. Both the machine learning and deep learning models included 24 unscreened variables, and the hyperparameters were determined by random search, and the optimal parameters were selected based on the AUC indicator evaluation results.
[0042] RSF model: ntree is set to 488 and nodesize is 49.
[0043] DeepSurv model: The model structure has 2 layers of neural networks, each with 53 neurons. The optimal hyperparameters selected are: activation function is Softsign, dropout is 0.4, lr is 0.00085, and optimizer is rmsprop.
[0044] Internal and external validation: The model was validated in internal and two external datasets and the 30-day, 60-day, and 90-day prediction performance was visualized. The results showed that the average AUC was > 0.7, and BS and IBS were < 0.25, indicating that this type of model has considerable predictive performance. In addition, the DCA curve is far away from the extreme line, indicating that the clinical practicality of the model is stronger.
[0045] Variable importance analysis: The CoxPH model uses Wald chi-square value-degrees of freedom (χ2-df) analysis variables, and the RSF and DeepSurv model interpretability methods include: feature importance based on arrangement and SHAP value. The variables with the highest importance are mainly: age, length of stay in ICU, angiotensin-converting enzyme inhibitors, beta-blockers, H2 receptor antagonists, etc. The three models have similar variable importance rankings, which are consistent with clinical consensus, indicating that the prediction model constructed by the present invention with drug exposure as the main predictor is reasonable and clinically significant.
[0046] Model application: Using the Browser / Server structure for interaction, a survival prediction system for patients with severe heart failure during the vulnerable period based on drug exposure is provided, including: a pre-input module for patient information, a constructed survival prediction model, and a display module for displaying the survival prediction results.
Claims
1. A method for establishing a survival prediction model for patients with severe heart failure during the vulnerable period based on drug exposure, characterized in that: The following steps are involved: (1) The following information was extracted from the databases of different medical centers during the hospitalization of patients with severe heart failure: demographic information, length of hospital stay, length of ICU stay, partial records in the ICU, comorbidities, other treatment measures, and drug treatment information. The basic clinical information, drug treatment information, and prognosis follow-up of the patients constituted the original sample set for building the model; (2) After the raw data are initially processed and processed, they are interpolated according to the missing information of each indicator, and then normalized to remove the dimension effect, thereby reducing the error and bias of the data. (3) Data division: After preprocessing, the dataset is divided into a training set (70%), an internal validation set (30%), and two external validation sets (A and B); (4) Feature selection: Clinical research data usually contain a large number of independent variables, only a portion of which are related to the target variable. In order to eliminate unnecessary interference and improve the accuracy and stability of the model, it is necessary to select independent variables that have a greater impact on the target outcome as predictors through variable screening. After excluding strong correlations between variables, single- and then multi-variable Cox analysis and LASSO regression analysis were performed as reference variables; (5) Model construction: The CoxPH algorithm has limited computing power. Screening effective variables into the model not only helps to improve the accuracy and stability of the model, but also saves a lot of computing resources. Therefore, the selected variables are selected for construction. The RSF and DeepSurv algorithms have stronger computing power than conventional algorithms and can be used to fit high-dimensional and nonlinear statistical relationships. Therefore, all available variable features are included, and random search is used for hyperparameter tuning. The optimal parameters are selected and the optimal model is established based on the AUC indicator evaluation results. (6) Model validation: The discrimination, calibration, and clinical decision-making ability of the model were validated in internal and external validation sets, and the prediction performance at 30 days, 60 days, and 90 days was visualized; (7) Variable importance analysis: clarify the contribution of variables to outcome prediction and further confirm the rationality of the model.
2. The method of establishing as claimed in claim 1, characterized in that: The basic clinical information described in step (1) includes 6 categories, namely, patient gender, BMI, age, race, length of hospital stay, and length of ICU stay; the drug treatment information includes 18 categories, namely, angiotensin converting enzyme inhibitors, angiotensin receptor antagonists, beta-blockers, cardiac glycosides, diuretics, nitrates, hydroxymethylglutaryl coenzyme A reductase inhibitors, calcium ion antagonists, phosphodiesterase inhibitors, proton pump inhibitors, H2 receptor antagonists, antibacterial drugs, antiplatelet drugs, insulin, heparin, adrenaline / dopamine drugs, glucocorticoids, vitamin K antagonists, and is classified according to the official classification system of the World Health Organization - the Anatomical Therapeutic and Chemical Classification System; the prognosis follow-up is the survival status of patients with severe heart failure within 90 days after discharge.
3. The establishment method according to claim 1, characterized in that: The drug treatment information described in step (1) is the number of days of in-hospital use of anti-heart failure related drugs and auxiliary treatment drugs. The present invention uses this type of variable as a predictor for the first time, and also provides a new direction for the subsequent construction of prediction models for other diseases.
4. The establishment method according to claim 1, characterized in that: The data preprocessing described in step (2) includes outlier processing, missing value filling and normalization, wherein the "capping method" is used to process outliers; the multiple interpolation method is used to fill missing data; The maximum and minimum normalization method was used to normalize some continuous variables (age, BMI, hospitalization and ICU stay). To prevent the appearance of "0" values, the following formula was used for processing: Drug exposure duration selection formula:
5. The establishment method according to claim 1, characterized in that: The feature selection described in step (4) is as follows: 1) Pearson correlation analysis is performed to calculate the correlation coefficient between the features: the correlation coefficient must be less than 0.7; 2) Univariate Cox analysis was performed based on the patient's survival time and follow-up survival status. To avoid missing significant variables, all influencing factors with P < 0.1 were included in the multivariate Cox analysis, and the hazard ratio and 95% confidence interval of each variable were finally calculated; 3) Least Absolute Shrinkage and Selection Operator (LASSO) regression compresses the variable coefficients in the regression model by generating a penalty function to prevent overfitting and solve the problem of serious collinearity. Referring to the above method, the following 10 variables were finally determined to be included in the CoxPH model: age, BMI, length of ICU stay, angiotensin-converting enzyme inhibitors, angiotensin receptor antagonists, beta-blockers, nitrates, H2 receptor antagonists, antibacterial drugs, and vitamin K antagonists.
6. The establishment method according to claim 1, characterized in that: The model construction described in step (5) was implemented using Python 3.7 software. The CoxPH model included 10 screened variables, and both the machine learning and deep learning models included 24 unscreened variables. The hyperparameters were determined by random search: 1) RSF model: ntree and nodesize; 2) DeepSurv model: activation functions were, dropout, lr, and optimizer.
7. The establishment method according to claim 1, characterized in that: The prediction performance of the model described in step (6) was verified in internal and external datasets A and B, respectively, and the prediction capabilities of 30 days, 60 days, and 90 days were visualized. The model discrimination was evaluated using the receiver operating characteristic (ROC) curve and the Time-AUC curve; the model calibration was tested using the Brier score (BS) and the integrated Brier score (IBS); and the clinical practicality was evaluated using the decision curve analysis (DCA).
8. The establishment method according to claim 1, characterized in that: The variable importance score described in step (7) is as follows: the CoxPH model uses the Wald chi-square value-degrees of freedom (χ2-df) analysis variable; the RSF and DeepSurv model interpretability methods include: permutation-based feature importance and SHAP value, which further explain the rationality of the model by measuring the contribution of the variable to the outcome.
9. A system for predicting survival of patients with severe heart failure during the vulnerable period based on drug exposure, characterized in that: The system adopts a Browser / Server software structure for interaction, and comprises: a patient information pre-input module, a survival prediction model constructed by the steps of claim 1, and a display module for displaying the survival prediction result.
10. A computer program product stored on a computer-readable medium, comprising a computer-readable program, which, when executed on an electronic device, provides a user input interface for applying the system for predicting survival within the vulnerable period of patients with severe heart failure based on drug exposure as claimed in claim 9.
