Disease factor data processing method based on double rule causal feature selection

By combining the improved OR rule and AND rule in causal feature selection, combined with the strategy of father-son feature set and spouse feature set, the problem of false positive and false negative errors in the causal feature selection algorithm in the existing technology is solved, and a more efficient and effective Accurate disease factor data processing.

CN117352162BActive Publication Date: 2024-10-01CHONGQING UNIV OF POSTS & TELECOMM
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311389736.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2024-10-01
Estimated Expiration
2043-10-24

AI Technical Summary

Technical Problem

Existing causal feature selection algorithms have false positive and false negative errors in disease factor data processing, which cannot be effectively solved at the same time, resulting in low accuracy and low efficiency of data processing.

Method used

A causal feature selection method based on dual rules is used to simultaneously search for the father-child feature set and spouse feature set of disease features through the combination of improved OR rules and AND rules. Parameter controllable strategies are introduced to restore and eliminate features to improve the accuracy of causal feature selection. performance and robustness.

Benefits of technology

Without increasing the computational cost, it improves the accuracy and robustness of disease causal characteristics, effectively solves false positive and false negative errors, and improves the accuracy and efficiency of disease factor processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117352162B_ABST
    Figure CN117352162B_ABST
Patent Text Reader

Abstract

The present invention relates to the medical field, and in particular to a disease factor data processing method based on double-rule causal feature selection. The present invention combines a feature selection method with a causal Bayesian network, and fully mines disease risk factors that have a causal relationship with the disease by introducing improved OR rules and AND rules, thereby avoiding biased disease prediction output caused by mining wrong causal relationships in existing feature selection methods; the present invention solves the false positive and false negative errors existing in current disease risk factor mining algorithms by fusing double rules to mine father-son characteristics and spouse characteristics that have a causal relationship with the disease, and further adopts a classifier to predict the disease, thereby improving the accuracy of the disease diagnosis system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the medical field, and in particular to a disease factor data processing method based on double-rule causal feature selection. Background Art

[0002] In recent years, data-driven disease diagnosis systems have flourished due to the collection of a large amount of medical observation data and the advancement of machine learning technology. Medical observation data includes various types of data, such as demographic data, behavioral data, and physiological data, which leads to the high dimensionality of medical observation data. In addition, many features in medical observation data are irrelevant to specific diseases and are even confounding factors, which will greatly reduce the accuracy of data-driven disease diagnosis systems. Therefore, it is necessary to select the real risk factors for specific diseases from medical observation data for optimization training of disease diagnosis systems.

[0003] In existing research, a large number of feature selection methods have been applied to the processing of disease risk factors, such as filtering and packaging methods. However, this type of feature selection mainly finds the correlation between disease characteristics and risk factors, but the correlation cannot explain the causal mechanism unique to the disease and disease factors, which may lead to improper mining of disease risk factors. For example, whether or not to have lung cancer is used as the target variable, and "yellow fingers" and "smoking" are used as feature variables. Since "smoking" can be used to explain "lung cancer", and long-term smoking fingers will be contaminated by tar, there is a correlation between "yellow fingers" and "smoking" and "lung cancer", and only "smoking" and "lung cancer" have a causal relationship. When some smokers remove the yellow stains on their fingers in order to hide their smoking habits, the prediction model based on "yellow fingers" will fail, which will greatly reduce the accuracy of data processing, while the prediction model based on "smoking" is more robust.

[0004] At present, causal feature selection algorithms can effectively solve the causal relationship between disease factors and disease outcomes. There are two main types of causal feature selection algorithms: the first type is based on conditional independence (CI) test, which infers the causal relationship between disease and risk factors through CI test and finds risk factors that are causally related to the disease; the second type is based on structural learning. These algorithms infer the causal relationship between disease and risk factors by learning the potential causal structure from the data, and then select features that are causally related to the disease based on these structures. Among them, the causal feature selection algorithm based on CI test does not require complete structural learning. Therefore, compared with the algorithm based on structural learning, it has the advantage of high computational efficiency. However, the causal feature selection algorithm based on CI test often has two types of errors. These errors include false positives and false negatives, that is, some incorrect Markov blanket (MB) features are selected, and some real MB features are discarded.

[0005] There are algorithms that use AND rules to solve false positive errors and OR rules to solve false negative errors, but these algorithms cannot solve both false positive and false negative errors. In a Bayesian network (BN), the AND rule indicates that if disease outcome T is the direct cause of disease-related factor V (i.e., T→V), then disease-related factor V must be the direct result of disease outcome T. However, in practical applications, due to the presence of noise in the data, when the causal feature selection algorithm is used to find the parents and children (PC) set of disease outcome T, disease-related factor V is not found in the PC set of disease outcome T, but the PC set of disease-related factor V includes disease outcome T. Therefore, the OR rule indicates that if disease-related factor V is not found in the PC set of disease outcome T but is found in the PC set of disease-related factor V, then disease-related factor V is still considered to be the true PC feature of disease outcome T.

[0006] Therefore, how to effectively solve the problems of false positive and false negative errors and biased predictions in disease factor data processing, while ensuring that the causal feature selection algorithm accurately processes disease factors while also ensuring the high efficiency of processing disease factors, has become a difficult problem that technical personnel in this field urgently need to overcome. Summary of the invention

[0007] In view of the shortcomings of the existing causal feature selection algorithms, the present invention proposes a disease factor data processing method based on dual-rule causal feature selection. In the proposed dual-rule causal feature selection, the false negative and false positive errors are solved by integrating the improved OR rule and AND rule. At the same time, a strategy of simultaneously searching for the father-child feature set and the spouse (SP) feature set of disease features is adopted to ensure efficiency, and finally a classifier is used to verify the validity of the causal features of the mined disease. In addition, the present invention also introduces a parameter controllable strategy, which selects the number of risk factor features restored based on the OR rule and the number of risk factor features eliminated based on the AND rule through parameter control, so as to more effectively integrate the improved OR rule and the AND rule.

[0008] To achieve the above object, the present invention provides a disease factor data processing method based on double rule causal feature selection, the method comprising:

[0009] Step 1: Obtain medical data and pre-process the medical data; the medical data includes disease results and possible influencing factors; the influencing factors include behavioral data, pathological data and demographic data;

[0010] Step 2: Calculate the conditional independence between the disease outcome and each influencing factor through a conditional independence test, determine the disease-related factors, and the candidate father-son feature set and candidate spouse feature set of the disease-related factors;

[0011] Step 3: Using the improved OR rule, the disease-related factors missing from the candidate father-son feature set and the candidate spouse feature set of the disease-related factors determined in step 2 are restored;

[0012] Step 4: using the improved AND rule, remove the incorrect disease-related factors in the candidate father-son feature set and the candidate spouse feature set of the disease-related factors determined in step 2;

[0013] Step 5: Use the restored and eliminated candidate father-son feature set and candidate spouse feature set as a disease risk factor set, and output the disease risk factor set corresponding to the disease result.

[0014] Beneficial effects of the present invention:

[0015] In view of the problem that the existing causal feature selection algorithm fails to effectively process the disease factors, there are false positive and false negative errors. A disease factor data processing method based on dual-rule causal feature selection is proposed. By integrating the strategy of learning PC and SP at the same time and the improved OR rule and AND rule, the false positive and false negative errors existing in the existing algorithm are solved. The experimental results of the embodiments of the present invention show that:

[0016] (1) The present invention can accurately search for causal features around disease factors without increasing computational costs, thereby improving the accuracy of disease causal features while ensuring algorithm computational efficiency.

[0017] (2) The present invention effectively solves the false negative and false positive errors by introducing improved OR rules and AND rules, and further improves the robustness of the disease factor processing process.

[0018] (3) The present invention adopts a parameter controllable strategy, which selects the number of disease factor features to be restored based on the OR rule and the number of disease factor features to be eliminated based on the AND rule through parameter control, thereby more effectively processing disease factors. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly express the purpose, technical solutions and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings, in which:

[0020] Figure 1 This is a flow chart of a disease factor data processing method based on double-rule causal feature selection disclosed by the present invention. DETAILED DESCRIPTION

[0021] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0022] Since there are two types of errors in the causal feature selection algorithm based on CI test, these errors include false positives (selecting some incorrect MB features) and false negatives (discarding some real MB features). For these two types of errors, the existing algorithms cannot effectively handle these two types of errors at the same time, resulting in the selection of wrong MBs.

[0023] Based on the above problem analysis, the present invention proposes a disease factor data processing method based on double-rule causal feature selection, hereinafter referred to as the simultaneous-fusion-of-double-rules MB learning algorithm (SF-DRMB). SF-DRMB integrates the PC and SP set strategies and the double-rule strategy for simultaneously learning disease features to solve the false positive and false negative errors of disease factors and ultimately find the correct causal relationship. In addition, on the basis of the double-rule AND rule and OR rule, the improved AND rule and OR rule are introduced to further improve the robustness of SF-DRMB in processing disease factors.

[0024] In the disease factor data processing method based on dual-rule feature selection, the two types of data, the benchmark BN dataset and the medical dataset, are first preprocessed. Since the benchmark BN dataset provides the MB set of all features, the benchmark BN dataset is used to verify the feature selection algorithm that integrates the dual rules, and finally the disease risk factor processing is performed on the medical data. The SF-DRMB algorithm consists of three stages: in the first stage, SF-DRMB simultaneously identifies the PC set and SP set of the target feature; in the second stage, the improved OR rule is used to solve the false negative error; in the third stage, the improved AND rule is used to solve the false positive error. In order to effectively and efficiently fuse the two rules, the algorithm also introduces a parameter control strategy, and the parameters are used to control the number of features selected from the second and third stages. Finally, the benchmark BN dataset is used to verify the algorithm.

[0025] It is understandable that the execution subject of the present invention can be a disease factor data processing device, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example. The embodiment of the present invention can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, robotics, biometrics, speech processing technology, natural language processing technology, and machine learning / deep learning. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN), and big data and artificial intelligence platforms.

[0026] In an embodiment of the present invention, a disease factor data processing method based on double rule causal feature selection is provided. Figure 1 As shown, the method includes:

[0027] Step 1: Obtain medical data and pre-process the medical data; the medical data includes disease results and possible influencing factors; the influencing factors include behavioral data, pathological data and demographic data;

[0028] In an embodiment of the present invention, the behavioral data includes information such as the patient's lifestyle, medical diagnosis, treatment plan, medication, and medical history. The behavioral data may specifically include the patient's smoking habits, eating habits, frequency of physical exercise, alcohol consumption, and behaviors related to medical conditions, such as drug prescriptions, surgical records, and medical test results. The behavioral data may be obtained through patient questionnaires, electronic health records, medical information systems, biosensors, mobile applications, and medical device monitoring.

[0029] In the embodiment of the present invention, the demographic data includes information related to individual characteristics of the patient, such as age, gender, race, education level, occupation, family income, marital status, geographic location, etc. Demographic data are usually obtained through patient questionnaires, medical records, government censuses, medical information systems, hospital databases, etc.

[0030] In the embodiment of the present invention, it should be noted that, in order to ensure the authenticity of the symptom data, the pathological data can be obtained from a medical website, a medical institution database, etc. The pathological data is text data including disease vocabulary and symptom vocabulary, and the pathological data can be obtained from a medical website or medical institution data through a preset crawler, wherein the medical website or medical institution data records the user's disease vocabulary and symptom vocabulary to generate symptom data, or the user can directly input the disease vocabulary and symptom vocabulary to obtain the symptom data.

[0031] In an embodiment of the present invention, the medical data can be obtained from some special disease databases. At present, the special disease database application system used for medical research in hospitals is usually established on the basis of the special disease database. The generation process of the special disease database can be specifically as follows: the original data of the hospital, such as patient medical records and medical records, is transformed into a structured disease patient database that can be used by the application system after a series of big data processing including data collection, cleaning, normalization, and structuring, as well as business processing such as patient sorting and field logic calculation. For a specialized disease research system for a single disease, the data used is the database of a single disease. For example, the colorectal cancer specialized disease research system corresponds to a colorectal cancer patient database.

[0032] For multi-disease research based on a single disease database, multiple single disease databases can be used simultaneously. For example, the cardiovascular disease database of a hospital affiliated to a medical university requires that all cardiovascular-related diseases be included in the research content, including but not limited to: heart failure, arrhythmia, hypertension, coronary atherosclerotic heart disease, heart valve disease, infective endocarditis, etc. Because these diseases often occur together in one patient, patients who meet any of the diseases must be included in the database for joint research. In these scenarios, data from multiple diseases can be associated to conduct multi-disease association research.

[0033] In an embodiment of the present invention, preprocessing the medical data includes data cleaning and data conversion of the medical data, converting the medical data into structured tabular data; dividing the tabular data into disease results and the behavioral data, the pathological data and the demographic data.

[0034] Step 2: Calculate the conditional independence between the disease outcome and each influencing factor through a conditional independence test, determine the disease-related factors, and the candidate father-son feature set and candidate spouse feature set of the disease-related factors;

[0035] In an embodiment of the present invention, as the first stage of dual-rule causal feature selection, this embodiment needs to calculate the conditional independence between the disease results and various influencing factors through a conditional independence test to determine the candidate disease-related factors; calculate the conditional independence between the disease results and the candidate disease-related factors through a conditional independence test to obtain a candidate father-son feature set; calculate the conditional independence between the disease results and disease factors other than the candidate father-son feature set through a conditional independence test to obtain a candidate spouse feature set.

[0036] Specifically, in this embodiment, the candidate father-child feature set PCS of the disease is firstly T , candidate mate feature set SPS T and separation set Sep T {X} is assigned a value of null, where Sep T {X} represents the set of separation feature X and disease feature T. TMP stores all features except disease feature T. IND T The set stores all features that are not related to the disease feature T. Then, in each iteration, a feature V with the greatest correlation with the disease feature T is taken for subsequent situation judgment. The PCS mentioned above T \{V} indicates PCS T In addition to the characteristics of V, Sep T {B} represents the set of spouse characteristics of child B of disease characteristic T with respect to disease characteristic T.

[0037] In this embodiment, by judging the correlation between the influencing factors and the disease results, some influencing factors that are not related to the disease results can be screened out in advance. For example, when studying the relationship between lung cancer and the influencing factors of vitamin C intake, lung cancer and vitamin C intake are subjected to a conditional independence test. The conditional independence test results show that the correlation between vitamin C intake and lung cancer is very small, and can even be regarded as non-existent, which reflects that vitamin C intake plays a small role in the incidence of lung cancer. Therefore, it cannot be concluded that there is a significant correlation between vitamin C intake and lung cancer, and the influencing factor of vitamin C intake is screened out at this time.

[0038] Based on the above analysis, in an embodiment of the present invention, step 2 includes:

[0039] The conditional independence between the disease outcome and each influencing factor is calculated through the conditional independence test to determine the candidate disease-related factors;

[0040] The conditional independence between the disease outcome and the candidate disease-related factors is calculated through the conditional independence test to obtain the candidate parent-child feature set;

[0041] The conditional independence test is used to calculate the conditional independence between the disease outcome and the disease factors other than the candidate father-son feature set, and the candidate spouse feature set is obtained.

[0042] In the embodiment of the present invention, the conditional independence between the disease outcome and various influencing factors is divided into two cases for explanation.

[0043] In the first case, if there exists a condition set Z that makes the disease-related factor V and the disease outcome T conditionally independent, Then it can be shown that the disease-related factor V is not the parent-child node of the disease result T. At this time, Z is added to the separation set Sep of the disease result T and the disease-related factor V T In {V}, the child node of disease feature T, i.e., the spouse subset of disease-related factor V with respect to disease feature T, is assigned a null value, and feature V is added to IND T Update the feature set that is not related to disease feature T. In addition, the algorithm considers whether feature V at this time may be the spouse node of disease feature T, so it makes a conditional independence judgment on the spouse. If there is a conditional set Where A∈PCS T , so that disease feature T depends on feature V. Then feature V is the spouse of disease feature T's child A with respect to disease feature T. Add feature V to SPS T {A} collection.

[0044] In the second case, if there is a condition set Z that makes feature V conditionally dependent on disease feature T, then feature V is the parent node of disease feature T, and feature V is added to the candidate PCS T At this time, it is carried out in two steps. In the first step, due to the addition of the new feature V to PCS T collection, in order to maintain the PCS during the search process T The set is as small as possible, which will trigger a false positive removal operation. According to Theorem 1, the algorithm uses PCS T \{B} Calculate PCS for the condition set T Each feature B in \{V} is conditionally independent of the disease feature T. If T⊥B, then feature B is not the parent node of T. Remove feature B from PCS TRemove and update the spouse subset of the child B of disease feature T with respect to disease feature T, and set the condition set PCS T \{B} Join to Sep T {B}. The second step is to T Find the SP of disease feature T in the set and calculate IND respectively T Each feature C in the set and the disease feature T in the condition set Sep T Conditional independence under {C}∪{V}. If feature C is conditionally dependent on disease feature T, then feature C is added to SPS. T {V}. Finally, the candidate parent-child feature set PCS of disease feature T is found T and the candidate mate feature set SPS T .

[0045] Step 3: Using the improved OR rule, the disease-related factors missing from the candidate father-son feature set and the candidate spouse feature set of the disease-related factors determined in step 2 are restored;

[0046] In an embodiment of the present invention, as the second stage of dual-rule causal feature selection, this embodiment needs to use an improved OR rule to restore the disease-related factors missing from the candidate father-child feature set and the candidate spouse feature set of the disease-related factors determined in step 2.

[0047] In an embodiment of the present invention, the improved OR rule is set as follows: if the disease-related factor V is in the parent-child feature set PC(T) of the disease result T, or the disease result T is in the parent-child feature set PC(V) of the disease-related factor V, then the disease-related factor V is the parent node or child node of the disease result T; if the disease-related factor V is in the spouse feature set SP(T) of the disease result T, or the disease result T is in the spouse feature set SP(V) of the disease-related factor V, then the disease-related factor V is the spouse node of the disease result T.

[0048] In the embodiment of the present invention, the false negative discrimination based on the OR rule in the second stage is mainly used to recover the real PC and SP features that may be missed in the first stage. There is a relaxed R-AND rule for recovering more false negative features. The R-AND rule adds the definition of spouse nodes on the basis of the OR rule. In order to more effectively apply the R-AND rule and improve the calculation efficiency of the algorithm, the first adjustable parameter k_or is used to selectively recover the number of disease factors. The number of disease sample factors is calculated based on the number of disease-related factors other than the candidate parent-child feature set and the candidate spouse feature set; the number of disease sample factors correction is obtained based on the product of the number of disease sample factors and the preset value; the first adjustable parameter is determined based on the ratio of the number of disease sample factors correction to all possible influencing factors.

[0049] In some embodiments, the preset value may be 20%, and the parameter k_or may automatically adjust the size of the preset value to select the number of restored disease factors, where k_or∈[0,1].

[0050] Based on the above analysis, in an embodiment of the present invention, step 3 includes:

[0051] Obtain candidate parent-child feature sets PCS of disease-related factors T and the candidate mate feature set SPS T , and determine the candidate parent-child feature set PCS T and the candidate mate feature set SPS T External feature set Q;

[0052] Sort each disease feature in set Q from high to low according to its correlation with disease outcome T;

[0053] It can be understood that the present invention sorts the features in the set Q from high to low according to the correlation with the disease feature T, and feature F1 has the greatest correlation. The feature with the highest correlation with the disease feature T is determined to have a higher probability of false negative. Therefore, this feature is screened out first and needs to be judged a second time to accurately capture the disease risk factors that are more relevant to the disease outcome and have causal properties.

[0054] According to the product of the first adjustable parameter k_or and the number of features |Q| of the set Q, the number of features to be selected |R| is determined, and the top |R| features are selected from the set Q to form the set R;

[0055] According to the conditional independence between the disease-related factors selected from the set R and the disease-related factors other than the set R in each iteration, the feature F in the current iteration is obtained. i PCS of candidate paternal and child characteristics of disease-related factors Fi and the candidate mate feature set SPS Fi , where i = 1, 2, …, |R|;

[0056] If the disease outcome T is in the set PCS Fi Then the feature F i It is the parent node or child node of the disease result T, and the feature F i Add to collection or_PC T If the disease outcome T is in the set SPS Fi Then the feature F i is the spouse node of the disease outcome T, and the feature F i Add to collection or_SP T middle;

[0057] Set or_PC T PCS of candidate paternal and child feature sets added to disease-related factors T , set or_SP T SPS, a set of candidate spouse characteristics added to disease-related factors T , PCS of the candidate parent-child feature set of disease-related factors determined in step 2 T and the candidate mate feature set SPS T Restoration of disease-related factors missed in the study;

[0058] Among them, the set or_PC T Represents the candidate parent-child feature set for recovering disease-related factors, set or_SP T A set of candidate mate characteristics representing factors associated with recovery of disease.

[0059] Step 4: using the improved AND rule, remove the incorrect disease-related factors in the candidate father-son feature set and the candidate spouse feature set of the disease-related factors determined in step 2;

[0060] In an embodiment of the present invention, as the third stage of dual-rule causal feature selection, this embodiment needs to use an improved AND rule to eliminate erroneous disease-related factors in the candidate father-child feature set and the candidate spouse feature set of disease-related factors determined in step 2.

[0061] In an embodiment of the present invention, the improved AND rule is set as follows: (1) if the disease result T is in the parent-child feature set PC(V) of the disease-related factor V, and the disease-related factor V is in the parent-child feature set PC(T) of the disease result T, then the disease-related factor V is the parent node or child node of the disease result T; (2) if the disease result T is in the spouse feature set SP(V) of the disease-related factor V, and the disease-related factor V is in the spouse feature set SP(T) of the disease result T, then the disease-related factor V is the spouse node of the disease result T.

[0062] In the embodiment of the present invention, the third stage is based on the AND rule to eliminate false positive features, mainly deleting the candidate parent-child set PCS in the first stage. T and candidate mate set SPS T Possible false positive features in the PCS T and SPS T All disease-related factors in the T and SPS TIn order to more effectively apply the S-AND rule and improve the algorithm calculation efficiency, the parameters k_and_pc and k_and_sp are used to control the number of disease factors selected for conditional independence calculation. k_and_pc is equal to the number of disease factors in the candidate parent-child set divided by the total influencing factors. The parameter k_and_sp is equal to the number of disease factors in the candidate spouse set divided by the total influencing factors, where k_and_pc∈[0,1], k_and_sp∈[0,1]. For different data sets, the parameters k_and_pc and k_and_sp can automatically adjust the size to select the number of disease factors.

[0063] Based on the above analysis, in an embodiment of the present invention, step 4 includes:

[0064] Obtain candidate parent-child feature sets PCS of disease-related factors T and the candidate mate feature set SPS T ;

[0065] PCS will be assembled T The various disease characteristics of are ranked from low to high according to their correlation with the disease outcome T;

[0066] Set SPS T The various disease characteristics of are ranked from low to high according to their correlation with the disease outcome T;

[0067] According to the second adjustable parameter k_and_pc and the set PCS T Number of features | PCS T | product, determine the number of selected features |C|, and select from the set PCS T Select the top |C| features to form set C;

[0068] According to the conditional independence between the disease-related factors selected from set C and the disease-related factors other than set C in each iteration, the feature P in the current iteration is obtained. i PCS of candidate paternal and child characteristics of disease-related factors Pi and the candidate mate feature set SPS Pi , where i = 1, 2, …, |C|;

[0069] If the disease outcome T is not in the set PCS Pi In the above example, the feature P i Add to collection and_PC T ;

[0070] According to the third adjustable parameter k_and_sp and the set SPS T Number of features | SPS T| product, determine the number of features |O| selected, and select from the set SPS T Select the top |O| features to form a set O;

[0071] According to the conditional independence between the disease-related factors selected from set O in each iteration and the disease-related factors outside set O, the feature O in the current iteration is obtained. i PCS of candidate paternal and child characteristics of disease-related factors Oi and the candidate mate feature set SPS Oi , where i=1,2,…,|O|;

[0072] If the disease result T is not in the set SPS Oi In the i Add to collection and_SP T ;

[0073] Set and_PC T PCS from candidate paternity characteristics of disease-related factors T Subtract from and_SP T From the SPS of candidate mate characteristics of disease-related factors T Subtract the PCS of the candidate father-child feature set of disease-related factors determined in step 2 T and the candidate mate feature set SPS T Eliminate the wrong disease-related factors selected in the

[0074] Among them, the set and_PC T Represents the candidate parent-child feature set for removing disease-related factors, set and_SP T Represents the set of candidate mate characteristics with disease-related factors removed.

[0075] It is understandable that in medical data sets, the relationship between diseases and risk factors is determined, that is, each feature F i The sub-feature F of the MB set j MB should contain feature F i , that is, F j ∈MB(F i ) and F i ∈MB(F j ), such a strict rule may remove the real MB features, so the present invention uses two parameters to selectively check respectively, and the two parameters control the PCS T and SPS T The number of features selected in the algorithm. The algorithm initially uses PCS T and SPS T Assign to and_PCT and_SP T , and then and_PC T The features in are sorted in ascending order. Feature P1 has the smallest correlation with disease feature T. The feature with the lowest correlation with disease feature T is judged to have a greater probability of false positive. Then, the number of selected features |C| is determined according to the parameter k_and_pc. The feature P is iterated |C| times and the feature P is obtained using the first stage. i PCS Pi and SPS Pi , if the disease feature T is not in the PCS Pi In the above example, the feature P i Join and_PC T In the same way, perform SPS T Operation. Finally, and_PC T and_SP T From the candidate parent-child feature set PCS T and the candidate mate feature set SPS T Removed.

[0076] Step 5: Use the restored and eliminated candidate father-son feature set and candidate spouse feature set as a disease risk factor set, and output the disease risk factor set corresponding to the disease result.

[0077] In an embodiment of the present invention, through the above process, the SF-DRMB algorithm solves the false positive and false negative errors existing in the existing causal feature selection algorithm, and selects to restore the number of false negative features and the number of false positive features through a parameter controllable strategy. Ultimately, while ensuring the accuracy, it effectively integrates the improved OR rule and AND rule, further ensuring the accuracy of the final output disease risk factor set, and providing effective support for subsequent diagnostic equipment or systems based on user medical data.

[0078] In a preferred embodiment of the present invention, the present invention also verifies the disease risk factor set corresponding to the disease results screened out in step 5. Specifically, the medical data of user A is input, and the medical data includes the disease risk factor set screened in step 5. In medical disease prediction, the disease risk factor set corresponding to user A is input into the K-nearest neighbor algorithm (KNN) and support vector machine (SVM) for disease prediction. By comparing the correlation between each disease factor between user A and other users, the possibility of user A being ill can be obtained, where the other users here may refer to the users with known disease results involved in step 1.

[0079] In the medical data experiment, since the MB of the target feature in the medical data set is unknown, in order to better illustrate that the disease factors obtained through the processing of the present invention are more accurate, the user's disease risk factor set can be classified by KNN and SVM. This embodiment uses three medical data sets, and the data information is shown in Table 1. The Spect data comes from the UCI database. The Obesity data set estimates the individual's obesity level based on the eating habits and physical conditions of Mexico, Peru, and Colombia. The obesity data set is a multi-class data set, and the diagnosis results include underweight, normal weight, overweight level I, overweight level II, obesity type I, obesity type II, and obesity type III. GastricCancer is a gastric cancer data set.

[0080] The present invention uses the following indicators to evaluate the performance of the algorithm: accuracy (the percentage of correctly classified test instances in all test instances), compactness (the size of the feature MB set selected by the algorithm), CITs (the number of conditional independence tests of the algorithm), and Time (including algorithm running time and classifier prediction time). The experimental results are shown in Table 2.

[0081] Table 1 Medical dataset information

[0082]

[0083] The experimental results represent the average values ​​of accuracy, compactness, CITs, and Time. The best results are highlighted in bold in the table, and “-” means that no features are selected.

[0084] Table 2 Accuracy (%), compactness, CITs and running time (seconds) on medical datasets

[0085]

[0086] It can be seen that on the Spect data, SF-DRMB has the highest classification accuracy. In terms of computational efficiency, except for IAMB, SF-DRMB has much better computational efficiency than other methods. This is because SF-DRMB selects a small number of causal features, so the computational cost in the false positive node judgment of the S-AND rule is relatively small. The IAMB algorithm directly discovers the MB of the target feature, so it is better than other algorithms in computational efficiency. In the Obesity data, the feature selection results of SF-DRMB are the same as those of MMMB, HITON-MB, and MBOR. The SF-DRMB algorithm introduces a parameter control strategy, so the computational efficiency is better than these three algorithms. The algorithm selects five causal features, weight, NCP, FAF, TUE, and MTRANS, which are weight, number of main meals, frequency of physical activities, time using technical equipment, and transportation used. In the GastricCancer data, SF-DRMB has the highest classification accuracy. Compared with other algorithms, SF-DRMB selects more features, and the target feature is whether the lymph nodes are metastatic, because it recovers the missing features based on the OR rule. Although MBOR also used the OR rule, it may have recovered the wrong causal features due to unreliable CI testing, so MBOR had the lowest accuracy. ST-DRMB selected CSlymph nodes, CS extension, Derived AJCC Stage Group, and 6th ed features, namely, lymph node involvement, tumor extension, and cancer stage.

[0087] In summary, SF-DRMB has accurate causal feature mining and good classification performance, and its computational efficiency is second only to IAMB. The causal features selected by SF-DRMB will help assist doctors in making clinical decisions in practical applications.

[0088] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, which may include: ROM, RAM, disk or CD, etc.

[0089] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A disease factor data processing method based on double rule causal feature selection, characterized in that: The method comprises: Step 1: Obtain medical data and pre-process the medical data; the medical data includes disease results and possible influencing factors; the influencing factors include behavioral data, pathological data and demographic data; Step 2: Calculate the conditional independence between the disease outcome and each influencing factor through a conditional independence test, determine the disease-related factors, and the candidate father-son feature set and candidate spouse feature set of the disease-related factors; Step 3: Using the improved OR rule, the disease-related factors missing from the candidate father-son feature set and the candidate spouse feature set of the disease-related factors determined in step 2 are restored; The improved OR rule is set as follows: if the disease-related factor V is in the parent-child feature set PC(T) of the disease result T, or the disease result T is in the parent-child feature set PC(V) of the disease-related factor V, then the disease-related factor V is the parent node or child node of the disease result T; if the disease-related factor V is in the spouse feature set SP(T) of the disease result T, or the disease result T is in the spouse feature set SP(V) of the disease-related factor V, then the disease-related factor V is the spouse node of the disease result T; The step 3 comprises: Obtain candidate parent-child feature sets PCS of disease-related factors T and the candidate mate feature set SPS T , and determine the candidate parent-child feature set PCS T and the candidate mate feature set SPS T External feature set Q; Sort each disease feature in set Q from high to low according to its correlation with disease outcome T; According to the product of the first adjustable parameter k_or and the number of features |Q| of the set Q, the number of features to be selected |R| is determined, and the top |R| features are selected from the set Q to form the set R; According to the conditional independence between the disease-related factors selected from the set R and the disease-related factors other than the set R in each iteration, the feature F in the current iteration is obtained. i PCS of candidate paternal and child characteristics of disease-related factors Fi and the candidate mate feature set SPS Fi , where i=1,2,…,|R|; If the disease outcome T is in the set PCS Fi Then the feature F i It is the parent node or child node of the disease result T, and the feature F i Add to collection or_PC T If the disease outcome T is in the set SPS Fi Then the feature F i is the spouse node of the disease outcome T, and the feature F i Add to collection or_SP T middle; Set or_PC T PCS of candidate paternal and child feature sets added to disease-related factors T , set or_SP T SPS, a set of candidate mate characteristics added to disease-related factors T , PCS of the candidate parent-child feature set of disease-related factors determined in step 2 T and the candidate mate feature set SPS T Restoration of disease-related factors missed in the study; Among them, the set or_PC T Represents the candidate parent-child feature set for recovering disease-related factors, set or_SP T a set of candidate mate characteristics representing factors associated with recovery of illness; Step 4: using the improved AND rule, remove the incorrect disease-related factors in the candidate father-son feature set and the candidate spouse feature set of the disease-related factors determined in step 2; The improved AND rule is set as follows: (1) if the disease outcome T is in the parent-child feature set PC(V) of the disease-related factor V, and the disease-related factor V is in the parent-child feature set PC(T) of the disease outcome T, then the disease-related factor V is the parent node or child node of the disease outcome T; (2) if the disease outcome T is in the spouse feature set SP(V) of the disease-related factor V, and the disease-related factor V is in the spouse feature set SP(T) of the disease outcome T, then the disease-related factor V is the spouse node of the disease outcome T; The step 4 comprises: Obtain candidate parent-child feature sets PCS of disease-related factors T and the candidate mate feature set SPS T ; PCS will be assembled T The various disease characteristics of are ranked from low to high according to their correlation with the disease outcome T; Set SPS T The various disease characteristics of are ranked from low to high according to their correlation with the disease outcome T; According to the second adjustable parameter k_and_pc and the set PCS T Number of features | PCS T | product, determine the number of selected features |C|, and select from the set PCS T Select the top |C| features to form set C; According to the conditional independence between the disease-related factors selected from set C and the disease-related factors other than set C in each iteration, the feature P in the current iteration is obtained. i PCS of candidate paternal and child characteristics of disease-related factors Pi and the candidate mate feature set SPS Pi , where i=1,2,…,|C|; If the disease outcome T is not in the set PCS Pi In the above example, the feature P i Add to collection and_PC T ; According to the third adjustable parameter k_and_sp and the set SPS T Number of features | SPS T | product, determine the number of features |O| selected, and select from the set SPS T Select the top |O| features to form a set O; According to the conditional independence between the disease-related factors selected from set O in each iteration and the disease-related factors outside set O, the feature O in the current iteration is obtained. i PCS of candidate paternal and child characteristics of disease-related factors Oi and the candidate mate feature set SPS Oi , where, i=1,2,…,|O|; If the disease result T is not in the set SPS Oi In the i Add to collection and_SP T ; Set and_PC T PCS from candidate paternity characteristics of disease-related factors T Subtract from and_SP T From the disease-related factors, the candidate mate characteristics set SPS T Subtract the PCS of the candidate father-child feature set of disease-related factors determined in step 2 T and the candidate mate feature set SPS T Eliminate the wrong disease-related factors selected in the Among them, the set and_PC T Represents the candidate parent-child feature set for removing disease-related factors, set and_SP T represents the set of candidate mate characteristics with disease-related factors removed; Step 5: Use the restored and eliminated candidate father-son feature set and candidate spouse feature set as a disease risk factor set, and output the disease risk factor set corresponding to the disease result.

2. A disease factor data processing method based on double rule causal feature selection according to claim 1, characterized in that: Preprocessing the medical data includes data cleaning and data conversion of the medical data, converting the medical data into structured tabular data; dividing the tabular data into disease results and the behavioral data, the pathological data and the demographic data.

3. The disease factor data processing method based on double rule causal feature selection according to claim 1 is characterized in that: The step 2 comprises: The conditional independence between the disease outcome and each influencing factor is calculated through the conditional independence test to determine the candidate disease-related factors; The conditional independence between the disease outcome and the candidate disease-related factors is calculated through the conditional independence test to obtain the candidate parent-child feature set; The conditional independence test is used to calculate the conditional independence between the disease outcome and the disease factors other than the candidate father-son feature set, and the candidate spouse feature set is obtained.

4. The disease factor data processing method based on double rule causal feature selection according to claim 1 is characterized in that: The calculation method of the first adjustable parameter k_or includes calculating the number of disease sample factors based on the number of disease-related factors other than the candidate father-child feature set and the candidate spouse feature set; obtaining the corrected number of disease sample factors based on the product of the number of disease sample factors and a preset value; and determining the first adjustable parameter based on the ratio of the corrected number of disease sample factors to all possible influencing factors.

5. The disease factor data processing method based on double rule causal feature selection according to claim 1 is characterized in that: The calculation method of the second adjustable parameter k_and_pc includes determining the second adjustable parameter according to the ratio of the number of disease-related factors in the candidate parent-child set to all possible influencing factors.

6. The disease factor data processing method based on double rule causal feature selection according to claim 1 is characterized in that: The calculation method of the third adjustable parameter k_and_sp includes determining the third adjustable parameter according to the ratio of the number of disease-related factors of the candidate spouse set to all possible influencing factors.

Citation Information

Patent Citations

  • Data processing method and system, computer equipment and computer readable storage medium

    CN113436725A

  • Causal correlation analysis method for fine positioning of whole genome pathogenic SNP (Single Nucleotide Polymorphism)

    CN113808665A

  • Disease prediction method and system based on causal inference and dynamic integration of multiple tags

    CN116364274A

  • Medical risk factor analysis method for discovering senile chronic disease based on causality

    CN116597999A

  • A prognosis and early diagnosis method and system and choosing the best treatment based on data fusion and information analysis by artificial intelligence, with the ability to modify and improve information and results according to machine learning

    WO2022130006A1