A method and system for correlation analysis of interpretation results of multi-disease models
Multi-disease models are built through neural network machine learning classifiers and SHAP methods to explain the intrinsic relationship between blood routine test data and diseases, solving the problem of correlation that traditional methods fail to effectively utilize blood routine test data, and improving clinical diagnosis. accuracy and patient outcomes.
Patent Information
- Application Number
- CN202410904438.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-07-08
AI Technical Summary
Traditional methods fail to effectively consider the interdependence and potential relationships between blood routine test data in clinical diagnosis, resulting in insufficiently detailed diagnosis and poor patient prognosis.
The neural network machine learning classifier and SHAP method are used to build a multi-disease model to explain the intrinsic relationship between blood routine test data and diseases, discover non-linear relationships through correlation analysis, and calculate the correlation between blood routine indicators and diseases.
Through correlation analysis methods, doctors can more accurately understand the potential relationships in routine blood test data and make more detailed diagnoses, thereby improving patient prognosis.
Smart Images

Figure CN118448031B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laboratory medicine technology, and more specifically to a correlation analysis method and system for explaining results of multiple disease models. Background Art
[0002] Routine blood tests provide routine indicators of blood for clinical diagnosis. Blood is ubiquitous in the body, so the guidance value it provides for disease diagnosis is relatively large, enabling doctors to effectively judge the patient's physical condition.
[0003] In the traditional method, clinicians tend to focus on the quantitative distribution of three-lineage cells when reading blood routine test reports. This method often makes judgments based on the abnormalities of a single or several items, without considering the interdependence between multiple items and the fact that the abnormalities found may have no obvious internal connection with the diagnostic principle or pathogenesis. The use of big data to analyze blood routine test data can discover nonlinear relationships between data, provide valuable information, and enable clinicians to make more detailed diagnoses, leading to better patient prognosis. At the same time, the intrinsic relationship between the disease and blood routine test data will be explained and analyzed to help doctors understand the potential relationship in the data.
[0004] Therefore, how to provide a correlation analysis method and system for interpreting the results of multi-disease models is an urgent problem that technical personnel in this field need to solve. Summary of the invention
[0005] In view of this, the present invention provides a correlation analysis method and system for interpreting the results of multiple disease models, so as to maximize the effectiveness of routine blood test data and its potential relationship with diseases.
[0006] In order to achieve the above object, the present invention adopts the following technical solution:
[0007] A method for association analysis of the results of multi-disease model interpretation, including:
[0008] Obtain blood routine test data of patients with various diseases and blood routine test data of physical examination populations, build relevant data sets, and divide the data sets into training sets and test sets;
[0009] Train the training set and build relevant models based on the neural network machine learning classifier, and use the test set to evaluate the model performance;
[0010] Based on the SHAP method, each disease model was explained, the intrinsic relationship between each disease and blood routine test data was analyzed, and the blood routine indicators and related diseases were statistically analyzed;
[0011] Reconstruct the data of blood routine indexes and related diseases into a new data set, and fit the new data set;
[0012] Calculate the median of the disease and the median of the physical examination in each data set, and substitute them into the fitting function to analyze the change trend of the disease and the median change trend related to the same blood routine index;
[0013] Analyze the relationship between diseases related to the same blood routine indicator and obtain the correlation.
[0014] Preferably, the data set is divided into k parts based on a k-fold cross-validation method to obtain a test set and a training set, where k is any constant greater than 1.
[0015] Preferably, each disease model is explained based on the SHAP method, the intrinsic relationship between each disease and the blood routine test data is analyzed, and the blood routine indicators and related diseases are statistically analyzed, specifically including:
[0016] Based on the SHAP method, each disease model was explained to obtain the contribution of each blood routine test index to the model prediction results, and the top five blood routine indexes in the results were counted, m=5;
[0017] Count all diseases j corresponding to the same routine blood test indicator i, i=1,2,3,4,5, j=1,2,3,4....N, N is the number of diseases corresponding to the routine blood test indicator.
[0018] Preferably, the new data set is fitted, specifically:
[0019]
[0020] Among them, P is the probability of disease under the same blood routine index, N is the number of diseases corresponding to the blood routine index, is the ith blood routine index, is the specific value of the jth blood routine index of the disease corresponding to the i-th blood routine index, for .
[0021] A correlation analysis system for interpreting the results of multi-disease models, including:
[0022] Dataset building module: used to obtain blood routine test data of patients with various diseases and blood routine test data of physical examination populations, and to build relevant data sets, dividing the data sets into training sets and test sets;
[0023] Model training module: used to train the training set and build relevant models based on the neural network machine learning classifier, and use the test set to evaluate the model performance;
[0024] Statistics module: used to explain each disease model based on the SHAP method, analyze the intrinsic relationship between each disease and blood routine test data, and perform statistics on blood routine indicators and related diseases;
[0025] Fitting module: used to reconstruct the statistical data of blood routine indicators and related diseases into a new data set and fit the new data set;
[0026] Change trend analysis module: used to calculate the median of the disease and the median of the physical examination in each data set, and substitute the fitting function to analyze the change trend of the disease and the median change trend related to the same blood routine indicator;
[0027] Association analysis module: used to analyze the relationship between diseases related to the same blood routine indicator and obtain the correlation therein.
[0028] Preferably, the data set is divided into k parts based on a k-fold cross-validation method to obtain a test set and a training set, where k is any constant greater than 1.
[0029] Preferably, the specific implementation process of the statistics module includes:
[0030] Based on the SHAP method, each disease model is explained to obtain the contribution of each blood routine test index to the model prediction result, and the first m blood routine indexes in the result are counted, m=5;
[0031] Count all diseases j corresponding to the same routine blood test indicator i, i=1,2,3,4,5, j=1,2,3,4....N, N is the number of diseases corresponding to the routine blood test indicator.
[0032] Preferably, the new data set is fitted, specifically:
[0033]
[0034] Among them, P is the probability of disease under the same blood routine index, N is the number of diseases corresponding to the blood routine index, is the ith blood routine index, is the specific value of the jth blood routine index of the disease corresponding to the i-th blood routine index, for .
[0035] It can be seen from the above technical solutions that, compared with the prior art, the present invention discloses a correlation analysis method and system for explaining the results of multiple disease models, which is conducive to solving the correlation analysis between routine blood indicators and diseases. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0037] Figure 1 A flow chart of an association analysis method for interpreting results of a multi-disease model provided by the present invention.
[0038] Figure 2 This is a statistical chart of the number of repeated blood tests provided by the present invention.
[0039] Figure 3 A block diagram of an association analysis system for explaining results of a multi-disease model provided by the present invention. DETAILED DESCRIPTION
[0040] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0041] The embodiment of the present invention discloses a method for analyzing the association of multiple disease model interpretation results. Figure 1 As shown, the following steps are included:
[0042] Step 1: Obtain the blood routine test data of patients with various diseases and the blood routine test data of the physical examination population, and combine them to construct relevant data sets. The specific contents are as follows:
[0043] 1a) Diseases were selected based on body parts, including common diseases, malignant tumors, diseases that women are prone to, and cardiovascular system and its complications, as shown in Table 1;
[0044] Table 1 List of specific diseases selected from the dataset
[0045]
[0046] 1b) extracting the blood routine test data of the disease patients and the blood routine test data of the physical examination population, and combining the blood routine test data of each disease patient with the blood routine test data of the physical examination population;
[0047] 1c) Based on the k-fold cross-validation method, the data set (the blood routine test data of patients with all diseases combined with the blood routine test data of the physical examination population) is divided into k parts to obtain the test set and the training set. k is any constant greater than 1, and is generally 5 or 10.
[0048] Step 2: Train the training set based on the neural network machine learning classifier and build the relevant model, and use the test set to evaluate the model performance.
[0049] The specific contents are:
[0050] All training sets are trained using neural network classifiers to obtain corresponding models. Each model uses the same parameters, and the classification effect is evaluated using the test set.
[0051] The same parameters are used for each training set of the neural network algorithm, specifically:
[0052] The neural network algorithm uses the Sequential function, where layers is set to 2-5 layers, unit is set to 32-1024, step size is 32, activation is set to swish, dropout is set to 0.25, min_samples_leaf is set to 2, learning_rate is set to 0.0001-0.01, maximum number of experiments is set to 10, number of training rounds is set to 200, loss function is set to binary_crossentropy, and class_weight is set to balanced.
[0053] Step 3: Use the SHAP method to explain each disease model and analyze the intrinsic relationship between each disease and the blood routine test data. Count the first m blood routine indicators in the statistical results, and count the corresponding blood routine indicators and related diseases. The specific content is as follows:
[0054] 3a) Use the SHAP method to explain each disease model, analyze the intrinsic relationship between each disease and blood routine test data, and count the top five blood routine indicators in the results;
[0055] 3b) According to the above content, the same blood routine index All diseases j (j=1,2,3,4....N) corresponding to (i=1,2,3,4,5) are counted, as shown in Table 2. At the same time, the number of repeated blood routine indicators is also counted, as shown in Table 2. Figure 2 shown.
[0056] Table 2 Blood routine and disease statistics
[0057]
[0058] Step 4: Reconstruct a new data set with the blood routine indexes and related disease statistics in step 3, and fit the function to the new data set. The specific contents are as follows:
[0059] 4a) Each data set (the data set obtained by combining the blood routine test data of each disease patient with the blood routine test data of the physical examination population) is extracted and reconstructed into a new data set according to the first five blood routine test indicators explained by the model;
[0060] 4b) Fit the function to the new data set, specifically:
[0061]
[0062] Among them, P is the probability of disease under the same blood routine index, N is the number of diseases corresponding to the blood routine index, is the ith blood routine index, is the specific value of the jth blood routine index of the disease corresponding to the i-th blood routine index, for .
[0063] Step 5: Calculate the median of the disease and the median of the physical examination in each data set (the data set obtained by combining the blood routine test data of each disease patient with the blood routine test data of the physical examination population). Substituting into the function, it is found that the change trend of the disease related to the same blood routine index is consistent with the change trend of the median. The specific content is:
[0064] 5a) For each data set, calculate the median of the disease and the median of the physical examination;
[0065] 5b) Since the medians of diseases and physical examinations are calculated separately, the default value is is 1, and the obtained P value is generally consistent with the median law. Here, only the diseases related to PLT are taken as an example, as shown in Table 3;
[0066] Table 3 Statistical table of the relationship between blood routine and diseases
[0067]
[0068] Step 6: Analyze the relationship between the same blood routine index and related diseases to find out the correlation. Here, the analysis is mainly based on diseases related to PLT, as shown in Table 4;
[0069] Table 4 Statistical table of the relationship between diseases
[0070]
[0071] This embodiment provides a correlation analysis system for interpreting the results of multiple disease models, such as Figure 3 As shown, including:
[0072] Dataset building module: used to obtain blood routine test data of patients with various diseases and blood routine test data of physical examination populations, and build relevant data sets; specifically including:
[0073] 1a) Diseases: Common diseases, malignant tumors, diseases that women are prone to, and cardiovascular system and their complications are selected according to body parts;
[0074] 1b) extracting the blood routine test data of the disease patients and the blood routine test data of the physical examination population, and combining the blood routine test data of each disease patient with the blood routine test data of the physical examination population;
[0075] 1c) Based on the k-fold cross-validation method, the data set is divided into k parts to obtain the test set and the training set. k is any constant greater than 1, and is generally 5 or 10.
[0076] Model training module: Train the training set based on the neural network machine learning classifier and build the relevant model, and use the test set to evaluate the model performance; specifically includes:
[0077] The same parameters are used for each data set for the neural network algorithm, specifically:
[0078] The neural network algorithm uses the Sequential function, where layers is set to 2-5 layers, unit is set to 32-1024, step size is 32, activation is set to swish, dropout is set to 0.25, min_samples_leaf is set to 2, learning_rate is set to 0.0001-0.01, maximum number of experiments is set to 10, number of training rounds is set to 200, loss function is set to binary_crossentropy, and class_weight is set to balanced.
[0079] Statistics module: used to use the SHAP method to explain each disease model and analyze the intrinsic relationship between each disease and blood routine test data, count the first m blood routine indicators in the statistical results, and count the blood routine indicators and related diseases; specifically includes:
[0080] 3a) Use the SHAP method to explain each disease model, analyze the intrinsic relationship between each disease and blood routine test data, and count the top five blood routine indicators in the results;
[0081] 3b) According to the content, the same blood routine index All diseases j (j=1,2,3,4....N) corresponding to (i=1,2,3,4,5) are counted, and the number of repeated blood routine indicators is also counted.
[0082] Fitting module: used to reconstruct the statistical data of blood routine indicators and related diseases into a new data set and fit the new data set; specifically including:
[0083] 4a) For each data set, the first five blood routine indicators explained by the model were extracted and reconstructed into a new data set;
[0084] 4b) Fit the function to the new data set, specifically:
[0085]
[0086] Among them, P is the probability of disease under the same blood routine index, N is the number of diseases corresponding to the blood routine index, is the ith blood routine index, is the specific value of the jth blood routine index of the disease corresponding to the i-th blood routine index, for .
[0087] Change trend analysis module: used to calculate the median of the disease and the median of the physical examination in each data set, and substitute the fitting function to analyze the change trend of the disease and the median change trend related to the same blood routine indicator; specifically including:
[0088] 5a) For each data set, calculate the median of the disease and the median of the physical examination;
[0089] 5b) Since the medians of diseases and physical examinations are calculated separately, the default value is The P value is roughly consistent with the median law.
[0090] Association analysis module: used to analyze the relationship between diseases related to the same blood routine indicator and find out the correlation.
[0091] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0092] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for association analysis of interpretation results of multi-disease models, characterized in that: include: Obtain the blood routine test data of patients with various diseases and the blood routine test data of the physical examination population, combine the blood routine test data of each disease patient with the blood routine test data of the physical examination population, and construct a related data set, and divide the data set into a training set and a test set; Train the neural network machine learning classifier based on the training set and build the relevant model, and use the test set to evaluate the model performance; Based on the SHAP method, each disease model was explained, the intrinsic relationship between each disease and blood routine test data was analyzed, and the blood routine indicators and related diseases were statistically analyzed; Reconstruct the data of blood routine indexes and related diseases into a new data set, and fit the new data set; Calculate the median of the disease and the median of the physical examination in each data set, and substitute them into the fitting function to analyze the change trend of the disease and the median change trend related to the same blood routine index; Analyze the relationship between the same blood routine index and related diseases to obtain the correlation; Based on the k-fold cross-validation method, the data set is divided into k parts to obtain the test set and the training set, where k is any constant greater than 1; Based on the SHAP method, each disease model is explained, the intrinsic relationship between each disease and blood routine test data is analyzed, and the blood routine indicators and related diseases are statistically analyzed, including: Based on the SHAP method, each disease model was explained to obtain the contribution of each blood routine test index to the model prediction results. The first m blood routine indexes in the statistical results, m = 5; Count all diseases j corresponding to the same blood routine index i, i=1,2,3,4,5, j=1,2,3,4....N , N is the number of diseases corresponding to the blood routine indicators; Fit the new data set as follows: Among them, P is the probability of disease under the same blood routine index, N is the number of diseases corresponding to the blood routine index, I i is the i-th blood routine index, I j is the specific value of the jth blood routine index of the disease corresponding to the i-th blood routine index, k is I i I j / N.
2. A correlation analysis system for interpreting the results of multiple disease models, characterized in that: include: Dataset building module: used to obtain blood routine test data of patients with various diseases and blood routine test data of the physical examination population. The blood routine test data of each disease patient is combined with the blood routine test data of the physical examination population, and the relevant data set is constructed, and the data set is divided into a training set and a test set; Model training module: Train the neural network machine learning classifier based on the training set and build the relevant model, and use the test set to evaluate the model performance; Statistics module: interpret each disease model based on the SHAP method, analyze the intrinsic relationship between each disease and blood routine test data, and perform statistics on blood routine indicators and related diseases; Fitting module: reconstruct the statistical data of blood routine indicators and related diseases into a new data set, and fit the new data set; Change trend analysis module: used to calculate the median of the disease and the median of the physical examination in each data set, and substitute the fitting function to analyze the change trend of the disease and the median change trend related to the same blood routine indicator; Association analysis module: used to analyze the relationship between the same blood routine index and related diseases to obtain the correlation; Based on the k-fold cross-validation method, the data set is divided into k parts to obtain the test set and the training set, where k is any constant greater than 1; The specific implementation process of the statistics module includes: Based on the SHAP method, each disease model was explained to obtain the contribution of each blood routine test index to the model prediction results. The first m blood routine indexes in the statistical results, m = 5; Count all diseases j corresponding to the same blood routine index i, i=1,2,3,4,5, j=1,2,3,4....N , N is the number of diseases corresponding to the blood routine indicators; Fit the new data set as follows: Among them, P is the probability of disease under the same blood routine index, N is the number of diseases corresponding to the blood routine index, I i is the i-th blood routine index, I j is the specific value of the jth blood routine index of the disease corresponding to the i-th blood routine index, k is I i I j / N.
Citation Information
Patent Citations
Disease screening and diagnosis method only using blood routine examination data
CN113539475A
Method and system for determining immune state of object based on blood routine data
CN116978566A
Application of intelligent analysis of blood routine examination data in hemorheology prediction
CN117936077A
Disease screening rate improving method and system based on combination of knowledge graph and blood routine examination data
CN118016316A
