A method and device for generating a prediction model for predicting the severity of pneumonia

By acquiring and screening patients' clinical and imaging information, we build a classification model to predict the severity of pneumonia, which solves the problems of misjudgment and low efficiency in the existing technology, and achieves efficient, accurate and reasonable prediction of the severity of patients with new coronavirus pneumonia. allocation of medical resources.

CN112183572BActive Publication Date: 2024-09-13BEIJING SHENRUI BOLIAN TECH CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202010804399.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-12
Publication Date
2024-09-13
Estimated Expiration
2040-08-12

AI Technical Summary

Technical Problem

Existing technologies have problems with misjudgment and low efficiency in predicting the transition of patients with new coronavirus pneumonia from mild or moderate to severe or critical, leading to unreasonable allocation of medical resources and high patient mortality.

Method used

By obtaining the patient's clinical information and imaging information, we screen out relevant features, build a classification model to predict the severity of pneumonia, and use logistic regression or linear regression models to determine the optimal model based on the fitting accuracy and number of parameters to improve prediction accuracy. and efficiency.

Benefits of technology

It has achieved efficient and accurate prediction of the severity of patients with new coronavirus pneumonia, avoided adverse consequences caused by misjudgment, and improved the rational allocation of medical resources and targeted treatment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112183572B
    Figure CN112183572B
Patent Text Reader

Abstract

The present invention mainly discloses a method and device for generating a prediction model for predicting the severity of pneumonia. The method includes: obtaining clinical information of a subject. Obtaining imaging information of the subject. Filtering out N features from the clinical information and imaging information, where N is a natural number. Using at least one of the N features as input and the severity of pneumonia as output to construct a corresponding classification model. Using the N features of multiple subjects as training samples to train the corresponding classification model and based on preset criteria, determining the classification model with the best fitting accuracy and number of parameters in multiple classification models as the prediction model. Using the solution provided by the present invention, a prediction model with low model complexity and high prediction accuracy is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical technology, and in particular to a method and device for generating a prediction model for predicting the severity of pneumonia, a computer device, and a computer-readable storage medium. Background Art

[0002] Novel coronavirus pneumonia (COVID-19, Corona Virus Disease 2019, COVID-19), referred to as "COVID-19". The clinical range of COVID-19 includes mild, moderate, severe and critical. At present, for patients infected with COVID-19, some mild and moderate patients will develop into severe and critical. Therefore, it is particularly important to find high-risk patients who are prone to turn from mild or moderate to severe or critical as early as possible. In addition, when COVID-19 breaks out on a large scale, if it can be predicted in time which patients are not likely to turn into severe or critical and which patients are prone to turn into severe or critical, it will also help to allocate medical resources more reasonably.

[0003] Currently, doctors usually judge whether a patient's pneumonia is unlikely or likely to turn into severe or critical conditions by interpreting the patient's chest X-ray. However, manual interpretation is inefficient and highly subjective, which can easily lead to misjudgment.

[0004] Therefore, how to provide an efficient and accurate prediction model for the severity of pneumonia, so as to predict whether the patient's pneumonia will become severe or critical, and then adopt different treatment plans for the patient based on the prediction results, so as to avoid the patient's death due to misjudgment or failure to judge whether the patient's pneumonia will become severe or critical, has become one of the urgent problems to be solved. Summary of the invention

[0005] The present invention provides a method for generating a prediction model for predicting the severity of pneumonia, which is based on the full amount of information of the subject for screening, and the parameter variables that are correlated with the output of the prediction model and make the prediction model optimal are determined, and a prediction model with low model complexity and high prediction accuracy is generated. It can then efficiently and accurately predict whether a pneumonia patient will turn from mild or moderate to severe or critical, avoiding adverse consequences caused by misjudgment and failure to judge the development trend of pneumonia in patients, and to a certain extent, it is beneficial for doctors to carry out targeted treatment of the subjects.

[0006] The present invention provides a method for generating a prediction model for predicting the severity of pneumonia, comprising:

[0007] Obtain clinical information of the examinee;

[0008] Obtaining imaging information of the subject;

[0009] Selecting N features from the clinical information and imaging information, where N is a natural number;

[0010] Taking at least one of the N features as input and the severity of pneumonia as output, a corresponding classification model is constructed;

[0011] The corresponding classification models are trained with N features of multiple subjects as training samples, and based on preset criteria, the classification model with the best fitting accuracy and number of parameters is determined among multiple classification models as the prediction model.

[0012] Optionally, the clinical information of the subject includes: gender, age, first symptom, complications, body temperature upon admission, pulse upon admission, respiratory rate upon admission, systolic blood pressure upon admission, diastolic blood pressure upon admission, routine blood test at admission, blood coagulation, blood gas analysis, routine urine test, electrolytes for liver and kidney function, and blood immune indicators.

[0013] Optionally, the image information of the subject includes image features associated with pneumonia.

[0014] Optionally, screening out N features from the clinical information and imaging information includes: using important features in the clinical information and imaging information determined by the Boruta method as the N features.

[0015] Optionally, the classification model includes: a logistic regression model and a linear regression model.

[0016] Optionally, N parameters of multiple subjects are used as training samples to train corresponding classification models and a classification model with the best fitting accuracy and number of parameters is determined as a prediction model among multiple classification models based on preset criteria, including: based on the input of the constructed classification model, M features of multiple subjects corresponding to the input are selected as training samples, and the prediction model is determined based on the AIC or BIC criterion, where M is a natural number, 1≤M≤N.

[0017] Optionally, the input of the prediction model includes: urea, albumin, and the volume and type of lesions in the basal segment of the right lower lobe, or includes: urea, albumin, and the volume of a predetermined CT value range in the left lung.

[0018] The present invention also provides a device for generating a prediction model for predicting the severity of pneumonia, comprising:

[0019] A first acquisition unit, used for acquiring clinical information of the subject;

[0020] A second acquisition unit, used for acquiring image information of the subject;

[0021] A screening unit, used to screen out N features from the clinical information and the imaging information, where N is a natural number;

[0022] A construction unit, configured to construct a corresponding classification model using at least one of the N features as input and the severity of pneumonia as output;

[0023] The training unit is used to train corresponding classification models using N features of multiple subjects as training samples and determine the classification model with the best fitting accuracy and number of parameters among multiple classification models based on preset criteria as the prediction model.

[0024] The present invention also provides a computer device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor is enabled to execute the above-mentioned method of generating a prediction model for predicting the severity of pneumonia.

[0025] The present invention also provides a computer-readable storage medium, when the instructions in the storage medium are executed by a processor in a device, the device is able to execute the above-mentioned method of generating a prediction model for predicting the severity of pneumonia.

[0026] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0027] The clinical information and imaging information of the subject are obtained, N features are selected from the clinical information and imaging information, at least one of the N features is used as input, and the severity of pneumonia is used as output to construct a corresponding classification model. The corresponding classification model is trained with the N features of multiple subjects as training samples, and the classification model with the best fitting accuracy and number of parameters is determined in multiple classification models based on preset criteria as the prediction model. When generating a prediction model for predicting the severity of pneumonia, the full amount of information (clinical information and imaging information) of the subject is used, and the features in the full amount of information are first screened to screen out N features that are correlated with the output of the prediction model, so the prediction model finally obtained by training has good interpretability and applicability. Furthermore, since the classification model that can make the fitting accuracy and number of parameters of the classification model optimal is selected from any combination of N features based on preset criteria, the complexity of the prediction model finally obtained is low, the accuracy of the prediction is high, and then when the prediction model is used to predict the severity of pneumonia in the subject, the accuracy of predicting the severity of pneumonia in the subject is improved and the prediction speed is fast. In addition, predicting the severity of the subject's pneumonia based on the prediction model, on the one hand, avoids the adverse consequences caused by not judging or misjudging the development trend of the subject's pneumonia, and on the other hand, while improving the accuracy of the prediction of the severity of pneumonia, it also improves the efficiency of the prediction of the severity of pneumonia, and is also conducive to doctors to carry out targeted treatment according to the current prediction results. In addition, since the use of the prediction model can quickly and accurately predict the progress of the subject's pneumonia, therefore, in the case of a shortage of medical resources, it is also conducive to the reasonable and effective arrangement of medical resources according to the progress trend of pneumonia in different subjects, which is conducive to doctors' later treatment of the subject.

[0028] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0029] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0031] Figure 1 A flowchart of a method for generating a prediction model for predicting the severity of pneumonia according to an embodiment of the present invention;

[0032] Figure 2A schematic diagram of the structure of an apparatus for generating a prediction model for predicting the severity of pneumonia according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all 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.

[0034] In the clinical management of COVID-19 released by the World Health Organization, the clinical range of COVID-19 pneumonia includes mild, moderate, severe and critical. As mentioned in the background technology, for some mild and moderate patients with new coronary pneumonia, some of them will develop into severe and critical. Therefore, it is necessary to provide a method for generating a prediction model for predicting the severity of pneumonia, and then the generated prediction model can be used to predict the severity of the patient's pneumonia with higher prediction efficiency and prediction accuracy. In this embodiment, the prediction model is used to predict the severity of the new coronary pneumonia of the patient as an example for explanation, but the prediction model for predicting the severity of pneumonia generated by the technical solution of the present invention can be applied to the prediction of the severity of different types of pneumonia. Therefore, the prediction of the severity of new coronary pneumonia by the generated prediction model cannot be used as a limitation of the technical solution of the present invention.

[0035] Figure 1 FIG. 1 is a flow chart of a method for generating a prediction model for predicting the severity of pneumonia according to an embodiment of the present invention. Figure 1 As shown, the method for generating a prediction model for predicting the severity of pneumonia in an embodiment of the present invention includes:

[0036] S101: Obtain clinical information of the subject.

[0037] S102: Obtaining image information of the subject.

[0038] S103: Filter out N features from the clinical information and imaging information, where N is a natural number.

[0039] S104: Construct a corresponding classification model with at least one of the N features as input and the severity of pneumonia as output.

[0040] S105: Using N features of multiple subjects as training samples to train corresponding classification models and based on preset criteria, determining a classification model with the best fitting accuracy and number of parameters among multiple classification models as the prediction model.

[0041] Execute S101. In this embodiment, the clinical information of the subject includes the clinical indicators and medical record information of the subject. Specifically, the clinical indicators of the subject can be obtained through the examination conducted when the subject is admitted to the hospital. The clinical indicators may include: blood routine, blood coagulation, blood gas analysis, urine routine, liver and kidney function electrolytes, and blood immune indicators. The medical record information can be obtained from the medical record of the subject, and specifically may include: the subject's gender, age, first symptom (the first symptom after infection with COVID-19), complications, admission temperature, admission pulse, admission respiratory rate, admission systolic blood pressure, and admission diastolic blood pressure.

[0042] Execute S102 to obtain image information of the subject. In this embodiment, the image of the subject is usually a CT image. In other embodiments, the image of the subject may also be a DR image. The image information of the subject may be an image feature associated with pneumonia. In this embodiment, the image feature may be determined manually or by artificial intelligence.

[0043] For image features determined manually, that is, doctors determine which image features are associated with pneumonia based on their actual clinical experience, and then obtain the image features that have been determined to be obtained through manual interpretation or AI interpretation. Generally speaking, image features determined manually are obtained by doctors based on their actual clinical experience. Therefore, the prediction model finally obtained by modeling based on clinical information and image information determined manually is more interpretable (the correlation between the input of the model and the output of the model is consistent with medical common sense and medical experience).

[0044] The image features determined by artificial intelligence are more than those determined by manual methods, because AI can extract more image features that doctors cannot interpret, such as the volume of the left lung within a predetermined CT value range. Therefore, when different methods are used to determine the image information to be obtained, the image features extracted from the image information may be different, which in turn leads to different input parameters of the prediction model finally obtained. For determining image features by manual or AI methods, the image features to be extracted can be determined based on actual clinical needs.

[0045] In this embodiment, specifically, the image features associated with pneumonia may include: lesion size, lesion type (solid, semi-solid, ground glass), volume ratio of different types in lesions (such as the solid part of the lesion accounts for the volume of the entire lesion), lesion size, lesion type (solid, semi-solid, ground glass), volume ratio of different types in lesions (such as the solid part of the lesion accounts for the volume of the entire lesion), volume and type of lesions at a certain position in the right lung, and volume of a predetermined CT value range in the left lung. In addition, the image features mentioned in various documents on respiratory syndrome coronavirus and various documents on acute respiratory syndrome can also be used as image features associated with pneumonia.

[0046] Execute S103 to select N features that are relevant to predicting the severity of COVID-19 from clinical indicators, medical record information, and imaging features associated with pneumonia. In this embodiment, the Boruta method is used to determine important features in clinical information and imaging information, and the determined N important features are used as the selected features that are relevant to the severity of COVID-19.

[0047] In this embodiment, before using the Boruta method to screen features, the feature matrix including clinical information and imaging information may be preprocessed, such as by using the minimum-maximum normalization method, the Z-Score normalization method, the L2 normalization method, etc. In other embodiments, the feature matrix including clinical information and imaging information may not be preprocessed, and the Boruta method may be directly used to screen features.

[0048] In this embodiment, using the Boruta method to screen features including clinical information and imaging information may include the following steps:

[0049] 1. Generate a feature matrix using the eigenvalues ​​of the features of clinical information and imaging information, randomly sort (shuffle) the feature values ​​in the feature matrix, and concatenate the shuffled feature values ​​(shadow features) with the original feature values ​​(real features) to form a new feature matrix.

[0050] 2. Use the new feature matrix as the input of the feature importance model to output the importance and importance of each feature. The feature importance model can be RandomForest, LightGBM, XGBoost, etc.

[0051] 3. Calculate the Z_score of real features and shadow features, where Z_score is obtained by the following formula:

[0052] Z_score = standard deviation of average_feature / feature_importance

[0053] Among them, feature_importance of a single feature on a single tree = oob_acc - oob_acc_after_perputation.

[0054] Among them, oob_acc_after_perputation refers to the accuracy of the out_of_bag samples on a single tree after shuffling the dimension feature.

[0055] 4. Find the maximum Z_score in the shadow features and record it as Z_max.

[0056] 5. Mark the real features whose Z_score is greater than Z_max as "important", and mark the real features whose Z_score is significantly less than Z_max as "unimportant" and permanently delete them from the feature set.

[0057] 6. Delete all shadow features.

[0058] 7. Repeat 1 to 6 (the number of iterations can be determined according to actual needs, such as 5) until all real features are marked as "important" or "unimportant".

[0059] For real features marked as "important", their Z_score can be used as the importance of the real features.

[0060] At this point, the Boruta method can be used to determine N important features in the clinical information and the imaging information, that is, N features are screened out from the clinical information and the imaging information. In other embodiments, feature screening methods such as the Filter method, the Wrapper method, and the Embedded method can also be used to screen out N features from the clinical information and the imaging information.

[0061] Execute S104. In order to train a prediction model with high prediction accuracy, in this embodiment, a combination of any one or more of the N features selected is used as input, and the severity of COVID-19 (severe or critical) is used as output to construct a classification model corresponding to different inputs. For example, if S103 selects 5 features, any 1 feature, any 2 features, any 3 features, any 4 features, and 5 features of these 5 features can be used as input, and the severity of pneumonia can be used as output to construct a corresponding classification model. The classification model can be a Bayesian model, a decision tree, a random forest, a support vector machine (SVM) model, a logistic regression model, a linear regression model, etc. In this embodiment, a logistic regression or linear regression model is used to achieve classification.

[0062] Execute S105, and train the corresponding classification model with N features of multiple subjects as training samples. Specifically, for a classification model with 1 feature as input and COVID-19 severity as output, the classification model is trained with the 1 feature of multiple subjects and the COVID-19 severity of the subjects as output. Similarly, for a classification model with 2 features as input and COVID-19 severity as output, the classification model is trained with the 2 features of multiple subjects and the COVID-19 severity of the subjects as output. For a classification model with N features as input and COVID-19 severity as output, the classification model is trained with the N features of multiple subjects and the COVID-19 severity of the subjects as output. For multiple classification models obtained through training, in order to select a relatively optimized classification model to balance the relationship between model size (the number of input parameters or the number of input features) and model fitting accuracy (fitting precision), the evaluation amount of the model can be selected by different preset criteria. Specifically, the AIC criterion or the BIC criterion can be used for measurement.

[0063]

[0064] Where p is the number of model parameters, θ is the model parameter, and L is the maximum likelihood under the model.

[0065] For models measured by the AIC or BIC criteria, the model with the smallest AIC or BIC is taken as the optimal model. In this embodiment, among the classification models obtained by training with M features of multiple subjects as training samples, the model with the smallest AIC is taken as the prediction model or the model with the smallest BIC is taken as the prediction model.

[0066] From the above, it can be seen that when obtaining the imaging information of the subject, it is possible to determine which image features in the imaging information to be obtained manually, or it is possible to determine which image features in the imaging information to be obtained by AI. The number of image features determined by different methods is also different. When the image features to be obtained are determined manually and a prediction model is generated based on the above method, the input of the optimal prediction model finally determined can be urea, albumin, and the lesion volume and lesion type in the basal segment of the right lower lobe. It should be noted that when the imaging information (imaging features associated with pneumonia) is determined manually, the image features determined manually can be obtained by AI, that is, the multiple image features to be obtained by artificial means are obtained by AI software, that is, on the premise of determining which image features to be interpreted, the AI ​​software realizes the acquisition of these image features. For example, if a doctor needs to interpret 10 image features, these 10 features can be obtained through AI software. For example, the lesion volume and lesion type in the basal segment of the right lower lobe can be obtained through AI software. Obtaining the image features that the doctor needs to interpret through AI can improve the efficiency and accuracy of obtaining image features, providing great convenience for doctors.

[0067] As for the image features in the image information determined by AI, when generating a prediction model based on the above method, the input of the optimal prediction model finally determined can be urea, albumin and the volume of the predetermined CT value range in the left lung. Specifically, the predetermined CT value range can be (-200HU, 60HU).

[0068] That is, when the image features to be obtained in the image information are determined manually, the urea, albumin, and the lesion volume and lesion type in the basal segment of the right lower lobe are finally used as the input of the classification model, such as the input of the logistic regression model, and the severity of COVID-19 is used as the output, the parameters and fitting accuracy of the logistic regression model can be optimal. When the image features to be obtained in the image information are determined by AI, the urea, albumin, and the left lung volume with a CT value of (-200HU, 60HU) are finally used as the input of the classification model, such as the input of the logistic regression model, and the severity of COVID-19 is used as the output, the parameters and fitting accuracy of the logistic regression model can be optimal.

[0069] So far, a prediction model for predicting the severity of pneumonia has been generated through the above steps. Next, the urea, albumin, and lesion volume and lesion type of the right lower lobe basal segment of the mild or moderate subject can be input into the prediction model to know whether the subject is likely to develop into a severe or critical patient. Alternatively, the urea, albumin, and left lung volume with a CT value of (-200HU, 60HU) of the mild or moderate subject can be input into the prediction model to know whether the subject is likely to develop into a severe or critical patient.

[0070] An embodiment of the present invention also provides a device for generating a prediction model for predicting the severity of pneumonia, comprising:

[0071] The first acquisition unit 20 is used to acquire clinical information of the subject.

[0072] The second acquisition unit 21 is used to acquire image information of the subject.

[0073] The screening unit 22 is used to screen out N features from the clinical information and the imaging information, where N is a natural number.

[0074] The construction unit 23 is used to construct a corresponding classification model with at least one of the N features as input and the severity of pneumonia as output.

[0075] The training unit 24 is used to train corresponding classification models using N features of multiple subjects as training samples and determine the classification model with the best fitting accuracy and number of parameters among multiple classification models based on preset criteria as the prediction model.

[0076] The implementation of the device for generating a prediction model for predicting the severity of pneumonia in this embodiment can refer to the implementation of the method for generating a prediction model for predicting the severity of pneumonia mentioned above, which will not be repeated here.

[0077] Based on the same technical concept, an embodiment of the present invention provides a computer device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor is enabled to execute the above-mentioned method of generating a prediction model for predicting the severity of pneumonia.

[0078] Based on the same technical concept, an embodiment of the present invention provides a computer-readable storage medium. When the instructions in the storage medium are executed by a processor in a device, the device is able to execute the above-mentioned method of generating a prediction model for predicting the severity of pneumonia.

[0079] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0080] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0081] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0082] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0083] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0084] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for generating a prediction model for predicting the severity of pneumonia, characterized in that: Obtain clinical information of the examinee; Obtaining imaging information of the subject; Selecting N features from the clinical information and imaging information, where N is a natural number; Taking at least one of the N features as input and the severity of pneumonia as output, a corresponding classification model is constructed; Using N features of multiple subjects as training samples to train corresponding classification models and determining the classification model with the best fitting accuracy and number of parameters among multiple classification models based on preset criteria as the prediction model; The clinical information of the examinee includes: gender, age, first symptom, complications, temperature upon admission, pulse upon admission, respiratory rate upon admission, systolic blood pressure upon admission, diastolic blood pressure upon admission, blood routine test, blood coagulation, blood gas analysis, urine routine test, liver and kidney function electrolytes, and blood immune indexes; Screening out N features from the clinical information and the imaging information includes: taking the important features in the clinical information and the imaging information determined by the Boruta method as the N features; specifically including the following steps: S1. Generate a feature matrix using the eigenvalues ​​of the features of clinical information and imaging information, randomly sort the eigenvalues ​​in the feature matrix, and concatenate the randomly sorted eigenvalues ​​with the original eigenvalues ​​to form a new feature matrix; S2, taking the new feature matrix as the input of the feature importance model to output the importance and importance of each feature; S3. Calculate the standard scores of the original feature value real features and the randomly sorted feature shadow features Z_score ,in, Z_score Obtained by the following formula: Z_score=average_feature / feature_importance Standard Deviation Among them, a single feature on a single tree feature_importance = oob_acc_after_perputation ; oob_acc_after_perputation It means to sort the single feature randomly and then use out_of_bag The accuracy of the sample on a single tree accuracy ; S4. Find the largest one among the randomly sorted shadow features. Z_score Recorded as Z_max ; S5. Z_score Greater than Z_max The real features of Z_score Significantly less than Z_max The original feature values ​​of real features are marked as "unimportant" and permanently deleted from the feature set; S6, delete all randomly sorted shadow features; S7, repeat S1~S6 until all real features are marked as "important" or "unimportant"; For the original feature value real features marked as "important", Z_score As the importance of the real features.

2. The method according to claim 1, characterized in that The image information of the subject includes image features associated with pneumonia.

3. The method according to claim 1, characterized in that The classification model includes: a logistic regression model and a linear regression model.

4. The method according to claim 1, characterized in that The corresponding classification model is trained with N parameters of multiple subjects as training samples, and the classification model with the best fitting accuracy and number of parameters is determined as the prediction model among multiple classification models based on preset criteria, including: based on the input of the constructed classification model, M features of multiple subjects corresponding to the input are selected as training samples, and the prediction model is determined based on the AIC or BIC criterion, where M is a natural number, 1≤M≤N.

5. The method according to claim 1, characterized in that The input of the prediction model includes: urea, albumin, and the lesion volume and lesion type in the basal segment of the right lower lobe, or includes: urea, albumin, and the volume of a predetermined CT value range in the left lung.

6. A device for generating a prediction model for predicting the severity of pneumonia, characterized in that: include: A first acquisition unit, used for acquiring clinical information of the subject; The clinical information of the examinee includes: gender, age, first symptom, complications, temperature upon admission, pulse upon admission, respiratory rate upon admission, systolic blood pressure upon admission, diastolic blood pressure upon admission, blood routine test, blood coagulation, blood gas analysis, urine routine test, liver and kidney function electrolytes, and blood immune indexes; A second acquisition unit, used for acquiring image information of the subject; A screening unit, used to screen out N features from the clinical information and the imaging information, where N is a natural number; A construction unit, configured to construct a corresponding classification model using at least one of the N features as input and the severity of pneumonia as output; A training unit, used to train corresponding classification models using N features of multiple subjects as training samples and determine, based on preset criteria, a classification model with the best fitting accuracy and number of parameters among multiple classification models as the prediction model; The screening unit, screening out N features from the clinical information and the imaging information, comprises: taking the features of importance in the clinical information and the imaging information determined by the Boruta method as the N features; specifically comprising the following steps: S1. Generate a feature matrix using the eigenvalues ​​of the features of clinical information and imaging information, randomly sort the eigenvalues ​​in the feature matrix, and concatenate the randomly sorted eigenvalues ​​with the original eigenvalues ​​to form a new feature matrix; S2, taking the new feature matrix as the input of the feature importance model to output the importance and importance of each feature; S3. Calculate the standard scores of the original feature value real features and the randomly sorted feature shadow features Z_ score ,in, Z_score Obtained by the following formula: Z_score=average_feature / feature_importance Standard Deviation Among them, a single feature on a single tree feature_importance = oob_acc_after_perputation ; oob_acc_after_perputation It means to sort the single feature randomly and then use out_of_bag The accuracy of the sample on a single tree accuracy ; S4. Find the largest one among the randomly sorted shadow features. Z_score Recorded as Z_max ; S5. Z_score Greater than Z_max The real features of Z_score Significantly less than Z_max The original feature values ​​of real features are marked as "unimportant" and permanently deleted from the feature set; S6, delete all randomly sorted shadow features; S7, repeat S1~S6 until all real features are marked as "important" or "unimportant"; For the original feature value real features marked as "important", Z_score As the importance of the real features.

7. A computer device comprising at least one processor and at least one memory, wherein: The memory stores a computer program, and when the program is executed by the processor, the processor is enabled to execute the method described in any one of claims 1 to 5.

8. A computer-readable storage medium, when instructions in the storage medium are executed by a processor in a device, enables the device to execute the method described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Open quantitative analysis method and system based on medical image

    CN106355023A

  • Liver cancer image classification method and device combining computer vision features and radiomics features

    CN111178449A

  • Pneumonia classification method and device, medium and electronic equipment

    CN111415743A

  • Medical diagnosis method applied clinical information and apparatus using the same

    KR101857624B1

  • Method and system for analyzing biological specimens by spectral imaging

    US20130089248A1