Target event prediction model training method and device, equipment and prediction device
By screening and constructing the Cox proportional hazard model, the inaccuracy problem of the existing adverse cardiovascular event prediction model after coronary heart disease intervention in the existing technology has been solved, more accurate prediction results have been achieved, and the clinical value of the model has been improved.
Patent Information
- Application Number
- CN202410735691.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-09-27
AI Technical Summary
Existing prediction models for adverse cardiovascular events after coronary intervention cannot accurately reflect modern treatment levels. There is a large difference between the research population and actual patients, and the data is not comprehensive enough, resulting in inaccurate prediction results and reduced clinical value.
By obtaining multi-dimensional variable data after percutaneous coronary intervention, including baseline variables, clinical characteristics, lesion characteristics and laboratory test results, a preset variable screening algorithm is used to screen out key variable data that are highly correlated with the target event, and construct training sample set and train the Cox proportional hazard model to obtain a more comprehensive and accurate target event prediction model.
It improves the prediction accuracy of adverse cardiovascular events after coronary heart disease intervention, enhances the practicability of the model in clinical medicine, and enables more accurate prediction of the risk of target events.
Smart Images

Figure CN118711752A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and in particular, relates to a training method, device, equipment and target event prediction device for a target event prediction model. Background Art
[0002] Patients with coronary heart disease often face the risk of multiple adverse cardiovascular events after receiving PCI (Percutaneous Coronary Intervention). In related technologies, a risk prediction model after PCI has been established to assess the risk of these adverse cardiovascular events.
[0003] However, among the models widely used in patients with coronary heart disease in related technologies, some were established earlier and cannot reflect the level of modern PCI treatment. In addition, the research population is quite different from the current patient population receiving PCI treatment, and the data is not comprehensive, which affects the accuracy and clinical value of the prediction results. Some models only explore short-term results and cannot accurately assess the risk of adverse events.
[0004] It can be seen that how to establish a prediction model for adverse cardiovascular events after coronary intervention that can obtain accurate prediction results has become a technical problem that needs to be solved urgently in this field. Summary of the invention
[0005] The embodiments of the present application provide a method, device, equipment and target event prediction device for training a target event prediction model, which can train a prediction model for a target event with accurate prediction results.
[0006] On the one hand, an embodiment of the present application provides a method for training a target event prediction model, the method comprising:
[0007] Acquire multiple multidimensional variable data of a target population and a target event label corresponding to each multidimensional variable data, wherein the multidimensional variable data includes at least two of baseline variables, clinical characteristics, lesion characteristics, and laboratory test results, and the target population is a population after percutaneous coronary intervention;
[0008] A first multidimensional key variable data sample that meets a preset condition is screened out from the multidimensional variable data by a preset variable screening algorithm, wherein the preset condition is to sort the variable data in descending order according to the relevance to the probability of the target event, and the variable data ranked in the first N positions, where N is a positive integer;
[0009] According to the first multidimensional key variable data sample corresponding to the target population and the corresponding target event label, a training sample set is constructed, wherein each training sample in the training sample set includes: the first multidimensional key variable data sample and the corresponding target event label;
[0010] The preset proportional risk model is trained using the training sample set until the training stop condition is met to obtain a target event prediction model.
[0011] On the other hand, an embodiment of the present application provides a training device for a target event prediction model, the device comprising:
[0012] A variable acquisition module, used to acquire multiple multidimensional variable data of a target population and a target event label corresponding to each multidimensional variable data, wherein the multidimensional variable data includes at least two of baseline variables, clinical characteristics, lesion characteristics, and laboratory test results, and the target population is a population after percutaneous coronary intervention;
[0013] A variable screening module, used to screen out a first multidimensional key variable data sample that meets a preset condition from the multidimensional variable data by using a preset variable screening algorithm, wherein the preset condition is to sort the variable data in descending order according to the relevance to the probability of occurrence of the target event, and the variable data ranked in the top N positions;
[0014] A sample set construction module is used to construct a training sample set according to the first multidimensional key variable data sample corresponding to the target population and its corresponding target event label, wherein each training sample in the training sample set includes: the first multidimensional key variable data sample and its corresponding target event label;
[0015] The model training module is used to train a preset proportional risk model using the training sample set until a training stop condition is met to obtain a target event prediction model.
[0016] On the other hand, an embodiment of the present application provides a target event prediction device, the device comprising:
[0017] An acquisition module is used to acquire multi-dimensional key variable data of a target patient; the target patient is a patient subject after percutaneous coronary intervention;
[0018] A target event prediction module, used to input the multi-dimensional key variable data into a target event prediction model to obtain a prediction result of the target event occurring in the target patient;
[0019] The target event prediction model is a model trained according to the above-mentioned target event prediction model training method.
[0020] On the other hand, an embodiment of the present application provides a training device for a target event prediction model, the device comprising:
[0021] a processor and a memory storing computer program instructions;
[0022] When the processor executes the computer program instructions, the training method of the target event prediction model is implemented.
[0023] It can be seen that the training method, device, equipment and prediction device of the target event prediction model of the embodiment of the present application first obtain multi-dimensional variable data to comprehensively obtain the data related to the target event of the population after percutaneous coronary intervention. Further screening of the relevant data can further obtain data with high correlation with the target event as key variable data, thereby ensuring the accuracy of subsequent model training. The key variable data and the target event label form a training sample set and input it into the preset proportional risk model, and finally train to obtain a more comprehensive and accurate target event prediction model equivalent to the evaluation model in the prior art, which increases the practicality of the target event prediction model in clinical medicine and enables the target event to be predicted more accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0025] Figure 1 It is a flowchart of a method for training a target event prediction model provided by an embodiment of the present application;
[0026] Figure 2 Schematic diagram of the screening results of multi-dimensional key variable data samples in the scenario of the training method of the target event prediction model;
[0027] Figure 3a A schematic diagram of a verification characteristic curve of a target event prediction model in a scenario of a training method of a target event prediction model;
[0028] Figure 3b A schematic diagram of a verification time curve of a target event prediction model in a scenario of a training method of a target event prediction model;
[0029] Figure 4a A schematic diagram of a modeling set calibration curve of a target event prediction model in a scenario of a training method of a target event prediction model;
[0030] Figure 4b A schematic diagram of an internal validation set calibration curve of a target event prediction model in a scenario of a target event prediction model training method;
[0031] Figure 4c A schematic diagram of an external validation set calibration curve of a target event prediction model in a scenario of a target event prediction model training method;
[0032] Figure 5 A schematic diagram of a decision curve of a target event prediction model in a scenario of a training method of a target event prediction model;
[0033] Figure 6 A schematic diagram of the target event prediction model in the scenario of the training method of the target event prediction model;
[0034] Figure 7 is a structural schematic diagram of a training device for a target event prediction model provided by another embodiment of the present application;
[0035] Figure 8 is a structural schematic diagram of a target event prediction model device provided by yet another embodiment of the present application;
[0036] Fig. 9 A schematic diagram of the specific electronic device hardware structure of the target event prediction model training device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0038] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants 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 statement "include..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0039] After receiving PCI (percutaneous coronary intervention) treatment, patients with coronary heart disease often face the risk of multiple MACCE (adverse cardiovascular events), including MACCE such as cardiac death, myocardial infarction, and stroke. In order to assess these risks, many existing risk prediction models after PCI have been established. These prediction models are based on large-scale population data and clinical evidence, and have become an effective tool for assessing the risk of adverse cardiovascular events that patients with coronary heart disease may face after receiving interventional treatment.
[0040] At present, the models widely used for patients with coronary heart disease are widely used to assess the risk of cardiovascular events in patients with acute coronary syndrome. They predict the risk of death or recurrent myocardial infarction within 6 months after the onset of the acute coronary syndrome population, but do not assess the treatment methods. Some models assess the complexity of coronary artery lesions and provide assessments of the number, severity and location of lesions. Some models focus on assessing the short-term risks of STEMI (acute myocardial infarction) patients after PCI, including death, myocardial infarction, and stroke, and provide guidance for clinical treatment. Some models combine the patient's clinical characteristics, complications during the operation, postoperative treatment and other factors to assess the risk of adverse events in patients within 30 days after surgery.
[0041] The construction of these scoring systems is usually based on the patient's clinical characteristics, electrocardiogram, lesion characteristics, blood biochemical markers and other data, and combined with statistical analysis methods such as regression analysis, survival analysis, etc. They provide clinicians with useful auxiliary tools to help assess the patient's postoperative risk level, guide treatment decisions and predict prognosis.
[0042] However, the existing scoring system was established too early, the research population is not matched, and it cannot reflect the current status of modern PCI treatment; it is mainly based on research data of Western populations and cannot fully reflect the characteristics and conditions of Chinese patients after PCI; it cannot fully cover the comprehensive clinical information of patients. It can be seen that the existing models and scoring systems cannot accurately predict adverse cardiovascular events after coronary intervention.
[0043] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment and prediction device for training a target event prediction model. The following first introduces the method for training a target event prediction model provided by the embodiments of the present application.
[0044] Figure 1 FIG. 1 is a flow chart showing a method for training a target event prediction model provided by an embodiment of the present application. Figure 1 As shown, the training method of the target event prediction model includes:
[0045] S101, obtaining multiple multidimensional variable data of a target population and a target event label corresponding to each multidimensional variable data, wherein the multidimensional variable data includes at least two of baseline variables, clinical characteristics, lesion characteristics, and laboratory test results, and the target population is a population after percutaneous coronary intervention.
[0046] That is, percutaneous coronary intervention is the prerequisite for obtaining data in the current model training. The multidimensional variable data includes four types of multidimensional variable data, namely baseline variables, clinical characteristics, lesion characteristics and laboratory test results. They are all general terms for a type of variable data. For example, baseline variables include gender, age, height, etc., which can be determined according to specific needs. Obtaining two of the four types of multidimensional variable data can train a relatively accurate target event prediction model. The more sufficient the multidimensional variable data obtained, the more accurately the trained target event prediction model can reflect the results of the target event. This model obtains data on six aspects: baseline variables, clinical characteristics, lesion characteristics, intraoperative operations, laboratory tests, and medication.
[0047] S102, filtering out the first multidimensional key variable data sample that meets the preset condition from the multidimensional variable data through a preset variable screening algorithm, wherein the preset condition is to sort the variable data in descending order according to the relevance to the probability of occurrence of the target event, and the variable data ranked in the first N positions, where N is a positive integer.
[0048] The multidimensional variable data quantity obtained in step S101 is large. If the target event prediction model is directly trained with the obtained multidimensional data variables, the model input values finally obtained will be very many, which is inconvenient in actual clinical applications. Therefore, before training the model with multidimensional variable data, it is first screened. LASSO algorithm can be adopted, which is suitable for screening out the variables with the greatest relationship with the target event when the variable data are many. Screen out N variable data as key variables, wherein N can be set as needed, and the principle of setting is to retain the number of variable data as little as possible under the premise of not overly affecting the prediction of the target event, so that it can be used in clinical medicine.
[0049] S103, constructing a training sample set according to the first multidimensional key variable data sample corresponding to the target population and its corresponding target event label, wherein each training sample in the training sample set includes: a first multidimensional key variable data sample and its corresponding target event label.
[0050] The first multidimensional key variable data samples corresponding to the target population are divided into multiple groups of samples based on the standard of a single person receiving PCI treatment once, and the multiple groups of samples are used to form a training sample set, where the target event label is the target event result corresponding to a group of key variable data samples, such as: cardiac death, stroke, recurrent myocardial infarction, etc.
[0051] S104, using the training sample set to train a preset proportional risk model until a training stop condition is met, thereby obtaining a target event prediction model.
[0052] The preset proportional hazard model can use the Cox proportional hazard model, which can take into account various factors that affect the occurrence or duration of events and quantify the degree of impact of these factors on risk. Unlike other regression models, the Cox model can handle right-truncated survival data, that is, not all events may have occurred during the observed time period, so it is very suitable as a prediction model for the risk of adverse cardiovascular events. The preset proportional hazard model is trained using the training sample set until the training stop condition is met. After the multi-dimensional key variable data sample is input into the trained proportional hazard model, the prediction result of the target event obtained is the same as the target event label or the error is less than the preset error threshold, indicating that the training of the target event prediction model is completed.
[0053] It can be seen that the present application first obtains multidimensional variable data to comprehensively obtain data related to the target event of the population after percutaneous coronary intervention. Further screening of the relevant data can further obtain data with a high degree of correlation with the target event as key variable data, thereby ensuring the accuracy of subsequent model training. The key variable data and the target event label form a training sample set and input it into a preset proportional risk model, and finally train to obtain a more comprehensive and accurate target event prediction model equivalent to the evaluation model in the prior art, which increases the practicality of the target event prediction model in clinical medicine and enables the target event to be predicted more accurately.
[0054] In some embodiments, step S102 may include:
[0055] S1021, regularizing the multidimensional variable data to set the coefficient of each variable data in the multidimensional variable data to variable data that is less than or equal to a first preset threshold.
[0056] S1022, filtering out multidimensional key variable data that meets preset conditions from the multidimensional variable data.
[0057] The preset variable screening algorithm in the above steps can be a LASSO regression algorithm. Multidimensional variable data is input into the algorithm to generate a loss function of the multidimensional variable data. By adding a regularization term to the loss function, the coefficients of variables with a small impact on the target variable can be set to zero, thereby achieving variable screening. Specifically, as shown in the following formula (1):
[0058]
[0059] N is the number of samples, p is the number of variable data, y i is the observed value of the i-th sample, xij is the value of the jth variable data of the ith sample, β0 is the intercept term, β j is the coefficient of the jth variable data, and λ is the regularization parameter that controls sparsity. It is the loss function of multi-dimensional variable data. The L1 norm (the sum of the absolute values of the coefficients of the variable data) is used as the regularization term. By adjusting the size of the parameter λ, the sparsity of the model can be controlled. |β j |The penalty term is an additional constraint on the model parameters, usually based on the norm of the parameters. The purpose of the penalty term is to limit the size of the model parameters so that they are not too large, thereby preventing the model from overfitting the training data. A larger λ value will cause more feature coefficients to be compressed to zero, thereby achieving stricter feature selection; while a smaller in value will cause fewer features to be excluded, and the model is more inclined to retain more features. The loss function combines the squared loss of the least squares method and the L1 regularization term. By adjusting the hyperparameter in, the sparsity of the model coefficients can be controlled, thereby achieving variable screening.
[0060] The above formula (1) can find the lowest function value. When the function value is the lowest, it means that the variable data screened out at this time is the most suitable as the key variable data. However, λ can be changed again as needed until the appropriate variable is screened out. For example, there are too many variable data that are currently the most suitable as the key variable data, and too much variable data is not suitable for clinical application. At this time, the λ value can be increased to exclude more variables without exceeding a certain preset threshold, which meets the needs of clinical application while ensuring that the key variables are relatively accurate.
[0061] In some embodiments, step S104 may include:
[0062] For each training sample in the training sample set, perform the following steps respectively:
[0063] S1041, inputting the first multidimensional key variable data sample into a preset proportional risk model to obtain a prediction result of the occurrence of a target event.
[0064] S1042, determining the loss function value of the proportional risk model according to the prediction result and the target event label.
[0065] S1043, in response to the loss function value not satisfying the training stop condition, adjusting the model parameters of the proportional risk model to obtain an updated proportional risk model, and returning to input the first multidimensional key variable data sample into the preset proportional risk model to obtain a prediction result of the occurrence of the target event.
[0066] The preset proportional hazard model can use the Cox proportional hazard model. The Cox proportional hazard model can take into account various factors that affect the occurrence or duration of an event. The expression of the Cox proportional hazard model is usually shown in the following formula (2):
[0067] h(t,X)= h o (t)·exp(β1X1+β2X2+…+β p X p ) (2)
[0068] Where h(t,X) is the risk function of the event at the independent variable X and time t, h o (t) is the baseline hazard function, which represents the risk of an event at time t when all independent variables are zero, β1, β2, …, β p is the coefficient of the model, which indicates the influence of each covariate on the risk of events.
[0069] The coefficients of the Cox model can be estimated by the maximum likelihood estimation method to determine the relative impact of different factors on the risk of an event. Through the Cox proportional hazards model, factors that affect the occurrence of an event can be identified and quantified, thereby better understanding the risk characteristics and influencing factors of the event.
[0070] In some embodiments, the method may further include step S105, performing internal verification on the target event prediction model, specifically including:
[0071] A verification sample set is obtained, where the verification samples in the verification sample set include second multidimensional key variable data samples and their corresponding target event labels.
[0072] The training sample set is divided into M sub-samples, one sub-sample is used as the data of the target event prediction model, and the collection of other samples is used as the test set for cross-validation, where M is a positive integer.
[0073] The cross validation is repeated M times until each sub-sample is used as data for the target event prediction model.
[0074] The results of the M cross-validations are averaged to obtain the first model evaluation value.
[0075] In response to the first model evaluation value being greater than the preset first model evaluation value, the initial verification of the target event prediction model passes.
[0076] Initial validation is used to test the accuracy of the algorithm. The data set is divided into M parts, and M-1 parts are used as training data and 1 part is used as test data for validation.
[0077] Each verification will result in a corresponding accuracy / error rate. The average accuracy / error of the M results is used as an estimate of the accuracy of the algorithm. The second multidimensional key variable data sample can be a part of the sample separated from the first multidimensional key variable data sample. The division of the training sample set is not the same as the division of each sample in step S103, but the entire sample set is divided into several parts, and each part is further verified as a sub-sample, which improves the verification efficiency. The value of M can be set as needed and is not further limited here. The results obtained by the verification are averaged and compared with the preset standard average value. After the conditions are met, it is determined that the initial verification of the target event prediction model has passed. The initial verification can perform coarse-grained verification of the model, quickly verify the accuracy of the model, and improve the efficiency of model training.
[0078] In some embodiments, after the above step S105, the method may further include step S106, performing external verification on the target event prediction model, specifically including:
[0079] Inputting the third multidimensional key variable data into the target event prediction model to obtain a second prediction result of the occurrence of the target event;
[0080] Obtaining a characteristic curve of the second prediction result according to a second prediction result of the occurrence of the target event output by the target event prediction model;
[0081] According to the area under the characteristic curve and enclosed by the coordinate axis, a second model evaluation value is obtained;
[0082] In response to the second model evaluation value being greater than the preset second model evaluation value, the final verification of the target event prediction model passes.
[0083] After the initial verification in step S105 is passed, a re-verification is performed, and the third multidimensional key variable data is used for verification during the re-verification, wherein the third multidimensional key variable data may be data that does not belong to the first multidimensional key variable data, and the third multidimensional key variable data is input into the target event prediction model that has passed the initial verification, and the second prediction result obtained is plotted as a characteristic curve, and then AUC (area under the cure, area under the curve) is obtained with the sensitivity of the model as the ordinate and the specification as the abscissa. It can usually be obtained by the integral method or the trapezoidal method. It is compared with the preset standard AUC, and the final verification of the target event prediction model is determined to be passed after the conditions are met. The final verification can perform fine-grained verification on the model to improve the accuracy of the target event prediction model finally obtained.
[0084] For ease of understanding, a scenario was constructed to apply the above target event prediction model training method, in which the target population was 28,683 consecutive patients who underwent PCI between 2017 and 2018. The primary endpoint was to evaluate MACCE within 3 years after PCI, including severe outcomes such as cardiovascular death, myocardial re-infarction, and stroke. Lasso-Cox proportional hazards regression was used to identify independent predictors associated with MACCE.
[0085] The multidimensional variable data of the above patients were collected, including: gender, age, height, body mass index, smoking history, family history of premature coronary heart disease, history of severe bleeding, chronic obstructive pulmonary disease, peripheral vascular disease, diabetes, hypertension, hyperlipidemia, cerebrovascular disease, chronic kidney disease, anemia, history of heart failure, history of severe coronary heart disease, duration of diabetes, duration of hypertension, duration of hyperlipidemia; clinical characteristics included: heart rate, diastolic blood pressure, systolic blood pressure, left ventricular ejection fraction, clinical diagnosis; lesion characteristics included baseline cardiac dominance, affected vessels, lesion length, lesion type, bifurcation lesion, thrombus, preoperative coronary angiography image score, postoperative coronary angiography image score, preoperative thrombolytic therapy score for myocardial infarction, postoperative thrombolytic therapy score for myocardial infarction, severity of calcification, chronic total occlusion, treatment disease laboratory test results included: big endothelin-1, erythrocyte sedimentation rate, hematocrit, lipoprotein(a), total triglycerides, total cholesterol, low-density lipoprotein cholesterol, high-density lipoprotein cholesterol, uric acid, glucose, red blood cell count, white blood cell count, platelet count, neutrophil count, monocyte count, lymphocyte count, lactate dehydrogenase, dimer, fibrinogen degradation products, urine microalbumin, adenosine diphosphate, alanine aminotransferase, aspartate aminotransferase, N-terminal pro-brain natriuretic peptide, high-sensitivity C-reactive protein, hemoglobin, glycosylated hemoglobin, creatine kinase-creatine kinase isoenzyme, cardiac troponin I, and serum creatinine.
[0086] The LASSO algorithm is used to obtain Figure 2 The schematic diagram of the screening results of multi-dimensional key variable data samples in the scenario of the training method of the target event prediction model is shown in the figure, where the ordinate is Partial Likelihood Deviance (partial likelihood deviation) and the abscissa is log(λ) (logarithm of regularization parameter). Figure 2 The above sequence is the number of samples of the first multidimensional key variable data. The optimal result of the screening is in the range of 23 to 29 ( Figure 2 As indicated in step S102 above, the convenience of application in clinical medicine also needs to be considered, so finally, as indicated in the figure, 10 multidimensional variable data are obtained as the first multidimensional key variable data sample ( Figure 2 The Cox proportional hazard model was input to obtain the final target event prediction model.
[0087] As shown in the verification schematic diagram of the target event prediction model in the scenario of the training method of the target event prediction model in Figure 3, the final target event prediction model is initially verified. Part a of Figure 3 is a prediction result curve within 3 years with Sensitivity as the horizontal axis and Specificity as the vertical axis, which can reflect the area under the curve AUC. Part b of Figure 3 is the display of the AUC of part a on the time axis. After the initial verification is completed, the final verification is further carried out, as shown in the calibration curve schematic diagram of the target event prediction model in the scenario of the training method of the target event prediction model in Figure 4. The samples are resampled and supplemented in groups of 2,000, and the visualization curves of the modeling set in part a of Figure 4, the internal verification set in part b of Figure 4, and the external verification set in part c of Figure 4 are drawn in the 3-year system data. After the training of the target event prediction model is completed, as shown in Figure 5 The decision curve diagram of the target event prediction model in the scenario of the training method of the target event prediction model is shown in the figure. It is between Treat All (all cures) and Treat None (no cures), which shows that the trained target event prediction model is basically accurate, reflecting the clinical practical value of the model. Figure 6 The target event prediction model training method is shown in the target event prediction model nomogram in the scenario. The model establishes a nomogram that can easily assess the risk of MACCE in patients. The modern risk score integrates ten easily accessible multivariate data and can accurately predict the long-term hard outcomes of patients undergoing PCI. It enables both clinicians and patients to assess personalized risks and make informed treatment decisions based on the patient's risk status.
[0088] In some embodiments, Figure 7 As shown, a schematic diagram of the structure of the training device of the target event prediction model provided by the present application is shown:
[0089] The variable acquisition module 701 is used to obtain multiple multidimensional variable data of the target population and the target event label corresponding to each multidimensional variable data. The multidimensional variable data includes at least two of baseline variables, clinical characteristics, lesion characteristics and laboratory test results. The target population is the population after percutaneous coronary intervention.
[0090] The variable screening module 702 is used to screen out the first multidimensional key variable data sample that meets the preset conditions from the multidimensional variable data through a preset variable screening algorithm. The preset condition is to sort the variable data in descending order according to the correlation with the probability of occurrence of the target event, and the variable data ranked in the top N positions.
[0091] The sample set construction module 703 is used to construct a training sample set according to the first multidimensional key variable data sample corresponding to the target population and its corresponding target event label, wherein each training sample in the training sample set includes: a first multidimensional key variable data sample and its corresponding target event label.
[0092] The model training module 704 is used to train a preset proportional risk model using the training sample set until a training stop condition is met to obtain a target event prediction model.
[0093] The specific description and beneficial effects of the target event prediction model training device are consistent with the target event prediction model training method corresponding to the device described above, and will not be repeated here.
[0094] In some embodiments, Figure 8 As shown, a schematic diagram of the structure of the target event prediction model device provided by the present application is shown:
[0095] The acquisition module 801 is used to acquire multi-dimensional key variable data of a target patient; the target patient is a patient subject after percutaneous coronary intervention.
[0096] The target event prediction module 802 is used to input the multi-dimensional key variable data into the target event prediction model to obtain the prediction result of the target event occurring to the target patient.
[0097] The target event prediction model is a model trained according to the method according to any one of claims 1-5.
[0098] The patient inputs multidimensional key variable data through a terminal or an input end, and the acquisition module 801 inputs the received multidimensional key variable data into the target event prediction module 802, and the target event prediction module 802 predicts the prediction result of the patient's target event.
[0099] In some embodiments, Figure 8 As shown, the target event prediction model device also includes:
[0100] Display 803 is used to display the prediction result of the target event.
[0101] The predicted results of the target events occurring in patients can be displayed on the data panel.
[0102] In some embodiments, Figure 8 As shown, the target event prediction model device also includes:
[0103] The information generating module 804 is used to generate suggestion information according to the prediction result.
[0104] The communication module 805 is used to send target information to a target object, where the target information is determined based on the prediction result and / or the suggestion information, and the target object includes a target patient and / or an object related to the target patient.
[0105] The advisory information may be a predicted outcome for a target event, provided to the patient himself, the patient's family, or the patient's physician.
[0106] Fig. 9 A schematic diagram of the hardware structure for training the target event prediction model provided in an embodiment of the present application is shown.
[0107] The training device of the target event prediction model may include a processor 901 and a memory 902 storing computer program instructions.
[0108] Specifically, the processor 901 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0109] The memory 902 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 902 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 902 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 902 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 902 is a non-volatile solid-state memory.
[0110] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0111] The processor 901 implements any one of the target event prediction model training methods in the above embodiments by reading and executing computer program instructions stored in the memory 902 .
[0112] In one example, the training device for the target event prediction model may further include a communication interface 903 and a bus 910. Fig. 9 As shown, the processor 901, the memory 902, and the communication interface 903 are connected via a bus 910 and communicate with each other.
[0113] The communication interface 903 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0114] Bus 910 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 910 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0115] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0116] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0117] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0118] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0119] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for training a target event prediction model, characterized in that: include: Acquire multiple multidimensional variable data of a target population and a target event label corresponding to each multidimensional variable data, wherein the multidimensional variable data includes at least two of baseline variables, clinical characteristics, lesion characteristics, and laboratory test results, and the target population is a population after percutaneous coronary intervention; A first multidimensional key variable data sample that meets a preset condition is screened out from the multidimensional variable data by a preset variable screening algorithm, wherein the preset condition is to sort the variable data in descending order according to the relevance to the probability of the target event, and the variable data ranked in the first N positions, where N is a positive integer; According to the first multidimensional key variable data sample corresponding to the target population and the corresponding target event label, a training sample set is constructed, wherein each training sample in the training sample set includes: the first multidimensional key variable data sample and the corresponding target event label; The preset proportional risk model is trained using the training sample set until the training stop condition is met to obtain a target event prediction model.
2. The method for training a target event prediction model according to claim 1, characterized in that: The step of selecting first multidimensional key variable data satisfying preset conditions from the multidimensional variable data by using a preset variable screening algorithm specifically includes: Regularizing the multidimensional variable data to set the coefficient of each variable data in the multidimensional variable data to variable data that is less than or equal to a first preset threshold; A first multidimensional key variable data sample that meets a preset condition is screened out from the variable data whose coefficient is set to be less than or equal to a first preset threshold.
3. The training method of the target event prediction model according to claim 1, characterized in that: The method of training a preset proportional risk model using the training sample set until a training stop condition is met to obtain a target event prediction model specifically includes: For each training sample in the training sample set, perform the following steps respectively: Inputting the first multidimensional key variable data sample into a preset proportional risk model to obtain a prediction result of the occurrence of a target event; Determining a loss function value of the proportional hazard model according to the prediction result and the target event label; In response to the loss function value not satisfying the training stop condition, the model parameters of the proportional risk model are adjusted to obtain an updated proportional risk model, and the first multidimensional key variable data sample is returned to be input into the preset proportional risk model to obtain a prediction result of the occurrence of the target event.
4. The training method of the target event prediction model according to claim 1, characterized in that: After obtaining the target event prediction model, the method further includes: Acquire a verification sample set, wherein the verification samples in the verification sample set include second multidimensional key variable data samples and their corresponding target event labels; The training sample set is divided into M sub-samples, one sub-sample is used as the data of the target event prediction model, and the collection of other samples is used as the test set for cross-validation, where M is a positive integer; The cross validation is repeated M times until each sub-sample is used as data for the target event prediction model; The results of the M cross-validations are averaged to obtain a first model evaluation value; In response to the first model evaluation value being greater than the preset first model evaluation value, the initial verification of the target event prediction model passes.
5. The method for training a target event prediction model according to claim 4, characterized in that: After the first model evaluation value is greater than the preset evaluation value and the initial verification of the target event prediction model is passed, the method further includes: Inputting the third multidimensional key variable data into the target event prediction model to obtain a second prediction result of the occurrence of the target event; Obtaining a characteristic curve of a second prediction result of the occurrence of a target event output by the target event prediction model; Obtaining a second model evaluation value according to the area under the characteristic curve and enclosed by the coordinate axis; In response to the second model evaluation value being greater than the preset second model evaluation value, the final verification of the target event prediction model passes.
6. A training device for a target event prediction model, characterized in that: include: A variable acquisition module, used to acquire multiple multidimensional variable data of a target population and a target event label corresponding to each multidimensional variable data, wherein the multidimensional variable data includes at least two of baseline variables, clinical characteristics, lesion characteristics, and laboratory test results, and the target population is a population after percutaneous coronary intervention; A variable screening module, used to screen out a first multidimensional key variable data sample that meets a preset condition from the multidimensional variable data by using a preset variable screening algorithm, wherein the preset condition is to sort the variable data in descending order according to the relevance to the probability of occurrence of the target event, and the variable data ranked in the top N positions; A sample set construction module is used to construct a training sample set according to the first multidimensional key variable data sample corresponding to the target population and its corresponding target event label, wherein each training sample in the training sample set includes: the first multidimensional key variable data sample and its corresponding target event label; The model training module is used to train a preset proportional risk model using the training sample set until a training stop condition is met to obtain a target event prediction model.
7. A target event prediction device, characterized in that: include: An acquisition module is used to acquire multi-dimensional key variable data of a target patient; the target patient is a patient subject after percutaneous coronary intervention; A target event prediction module, used to input the multi-dimensional key variable data into a target event prediction model to obtain a prediction result of the target event occurring in the target patient; The target event prediction model is a model trained according to the method according to any one of claims 1-5.
8. The device according to claim 7, characterized in that Also includes: A display is used to display the prediction result of the target event.
9. The device according to claim 7, characterized in that Also includes: An information generation module, used to generate suggestion information according to the prediction result; A communication module is used to send target information to a target object, wherein the target information is determined based on the prediction result and / or the suggestion information, and the target object includes a target patient and / or an object related to the target patient.
10. A training device for a target event prediction model, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the training method of the target event prediction model as described in any one of claims 1-5.
Citation Information
Cited By
Soil multi-parameter sensor time sequence data calibration method based on coding mechanism
CN119510709A
Prediction method and device for re-blockage of blood vessel, medium, terminal and program product
CN119851947A
