Decision tree-based traditional Chinese medicine constitution identification method, system and equipment and storage medium

By screening and constructing the item relationships of the TCM constitution identification scale through the decision tree model, the problem of long filling time and low accuracy of the traditional TCM constitution identification scale is solved, achieving more efficient and accurate constitution identification and providing personalized diagnostic guidance.

CN118568604APending Publication Date: 2024-08-30GUANGZHOU DUZHONGGE INTERNET TECH CO LTD

Patent Information

Application Number
CN202410651399.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The traditional TCM constitution identification scale has problems such as long filling time, strong subjectivity, limited information, and low identification accuracy and discrimination. Existing simplified methods ignore the interrelationships between items, resulting in information loss and biased identification results.

Method used

A decision tree model was used to filter the data of the Traditional Chinese Medicine Constitution Identification Scale and construct the relationship between the items. A decision tree model was constructed through the data set of multi-center medical clinics to screen out key items and remove redundant items to improve the accuracy of the scale. Simplify and identify accuracy.

Benefits of technology

It improves the accuracy and reliability of TCM constitution identification, provides a more efficient and accurate constitution identification tool, and provides individuals with personalized TCM diagnosis and treatment guidance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568604A
    Figure CN118568604A
Patent Text Reader

Abstract

The invention discloses a traditional Chinese medicine constitution identification method, system and device based on a decision-making tree and a storage medium. The method comprises the steps of obtaining data of a traditional Chinese medicine constitution identification scale from a plurality of central medical museums; preprocessing the acquired data to obtain a preprocessed data set; based on the preprocessed data set, selecting a decision tree algorithm, and constructing and training a decision tree model; inputting the feature data of the subject into the trained decision tree model to determine the physique type of the subject; screening entries of the traditional Chinese medicine constitution identification scale to obtain key entries; by analyzing branches and nodes in the trained decision tree model, determining a mutual relation between entries; and based on the interrelation between the screened key entries and the entries, simplifying the traditional Chinese medicine constitution identification scale, and removing redundant entries. According to the invention, a more efficient and accurate physique identification tool can be provided for the field of traditional Chinese medicine, and personalized traditional Chinese medicine diagnosis and treatment guidance can be provided for individuals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method, system, equipment and storage medium for identifying TCM constitution based on a decision tree, and belongs to the clinical field of TCM. Background Art

[0002] The TCM body mass scale is a tool used to assess and identify an individual's TCM constitution type. Currently, the TCM body mass scale usually consists of a large number of items, and individuals need to answer according to their own circumstances. However, there are some problems with the traditional TCM body mass scale, such as long filling time, strong subjectivity, and limited information. Therefore, methods to simplify the TCM body mass scale have received widespread attention and research.

[0003] At present, the existing implementation scheme mainly uses the scale analysis method to simplify the TCM body type scale. A common simplification method is to compress the items through the scale analysis method, that is, to screen out the most representative and discriminative items. This method usually uses statistics and data analysis techniques to analyze a large amount of TCM body type scale data, determine the items that contribute most to the identification of constitution type, and eliminate other redundant or similar items. In this way, the length of the scale and the time to fill in can be reduced, simplifying the process of TCM constitution identification.

[0004] However, this simplified method has some problems. First, although the length of the compressed scale is reduced, the scoring is still based on the original scale scoring method, resulting in more identical scores and small score differences. This reduces the accuracy and discrimination of identification. Second, this method usually ignores the relationship between items, and the impact of each item's answer on subsequent items is not considered, which may lead to information loss and bias in identification results. Summary of the invention

[0005] In view of this, the present invention provides a method, system, computer device and storage medium for TCM constitution identification based on a decision tree. By utilizing the big data of TCM constitution identification scales of multi-center medical clinics, a decision tree model is applied to screen the items and the relationships between the items are constructed. This can simplify the scale filling process, improve the accuracy and reliability of identification, provide a more efficient and accurate constitution identification tool for the TCM field, and provide individuals with personalized TCM diagnosis and treatment guidance.

[0006] The first object of the present invention is to provide a method for identifying TCM constitution based on a decision tree.

[0007] The second object of the present invention is to provide a TCM constitution identification system based on a decision tree.

[0008] A third object of the present invention is to provide a computer device.

[0009] A fourth object of the present invention is to provide a storage medium.

[0010] The first object of the present invention can be achieved by adopting the following technical solutions:

[0011] A method for identifying TCM constitution based on a decision tree, the method comprising:

[0012] Obtain data on the TCM Constitution Identification Scale from multiple central medical clinics;

[0013] Preprocessing the acquired data to obtain a preprocessed data set;

[0014] Select a decision tree algorithm and build a decision tree model;

[0015] Based on the preprocessed data set, select the decision tree algorithm, build and train the decision tree model;

[0016] By inputting the characteristic data of the examinee into the trained decision tree model, the examinee's physical type is determined by making judgments along the branches of the decision tree;

[0017] According to the trained decision tree model, the items of the TCM constitution identification scale are screened to obtain key items;

[0018] By analyzing the branches and nodes in the trained decision tree model, determining the mutual relationships between the items, the mutual relationships include conditional relationships and dependent relationships;

[0019] Based on the screened key items and the relationships between the items, the TCM constitution identification scale was simplified and redundant items were removed.

[0020] Furthermore, the data of the TCM constitution identification scale is obtained from multiple central medical clinics, including:

[0021] Determine the scope and objectives of data collection;

[0022] Cooperate with various central medical clinics to establish data sharing agreements and privacy protection measures to obtain data for the TCM Constitution Identification Scale based on the scope and objectives of data collection.

[0023] Furthermore, the preprocessing of the acquired data to obtain a preprocessed data set includes:

[0024] For the acquired data, missing values, outliers and duplicate data are removed, missing values ​​are filled or deleted, outliers are processed, and feature selection and feature engineering are performed to extract useful features to obtain the preprocessed data set.

[0025] Furthermore, based on the preprocessed data set, a decision tree algorithm is selected to construct and train the decision tree model, including:

[0026] Divide the preprocessed data set into training set and test set;

[0027] Use the training set to train the decision tree model;

[0028] During the training process, the decision tree model is subjected to parameter tuning, wherein the parameter tuning includes pruning and parameter setting;

[0029] The test set is used to evaluate the trained and tuned decision tree model. According to the evaluation results, the decision tree model is adjusted to obtain a trained decision tree model.

[0030] Furthermore, the training of the decision tree model using the training set includes:

[0031] Recursively partition the features of the training set to generate a decision tree.

[0032] Furthermore, after analyzing the branches and nodes in the trained decision tree model to determine the relationship between the items, the method further includes:

[0033] The items are taken as nodes, and the conditional relationships and dependency relationships between items are taken as edges to form a relationship graph;

[0034] Verify the accuracy and validity of the relationships between items, and adjust and optimize the relationships between items based on the verification results.

[0035] Furthermore, the method further comprises:

[0036] In the simplified TCM constitution identification scale, determine the weight of each item;

[0037] To verify the practical application of the simplified TCM constitution identification scale;

[0038] According to the verification results of actual application, the accuracy, feasibility and practicality of the simplified TCM constitution identification scale were evaluated and the analysis results were obtained;

[0039] According to the analysis results, the item weights were adjusted and optimized to further improve the accuracy and practicality of the TCM constitution identification scale.

[0040] The second object of the present invention can be achieved by adopting the following technical solutions:

[0041] A TCM constitution identification system based on a decision tree, the system comprising:

[0042] An acquisition module is used to obtain data of the TCM constitution identification scale from multiple central medical clinics;

[0043] A preprocessing module is used to preprocess the acquired data to obtain a preprocessed data set;

[0044] A construction module is used to select a decision tree algorithm based on the preprocessed data set, and to construct and train a decision tree model;

[0045] The identification module is used to input the characteristic data of the subject into the trained decision tree model, and make judgments along the branches of the decision tree to determine the physical type of the subject;

[0046] A screening module is used to screen the items of the TCM constitution identification scale according to the trained decision tree model to obtain key items;

[0047] A determination module, used to determine the mutual relationship between items by analyzing the branches and nodes in the trained decision tree model, wherein the mutual relationship includes a conditional relationship and a dependent relationship;

[0048] The simplification module is used to simplify the TCM constitution identification scale based on the screened key items and the relationships between the items, and to remove redundant items.

[0049] The third object of the present invention can be achieved by adopting the following technical solutions:

[0050] A computer device comprises a processor and a memory for storing a program executable by the processor. When the processor executes the program stored in the memory, the above-mentioned method for identifying TCM constitution is implemented.

[0051] The fourth object of the present invention can be achieved by adopting the following technical solutions:

[0052] A storage medium stores a program, which, when executed by a processor, implements the above-mentioned method for identifying TCM constitution.

[0053] The present invention has the following beneficial effects compared with the prior art:

[0054] The present invention makes full use of the TCM body mass scale data from multiple medical clinics. Such data collection is extensive and representative, and can better reflect the physical characteristics of different regions and populations, and improve the accuracy of identification. By applying a decision tree model, the items of the TCM body mass scale are screened. The decision tree model can automatically select the most representative and discriminative items based on the relationship between the characteristics of the data, so that the simplified scale can better capture the individual's physical characteristics and improve the accuracy of identification. In addition to the screening of items, the relationship between items is also considered. By establishing the correlation between items, the intrinsic connection between physical characteristics can be more comprehensively understood. This helps to improve the reliability and accuracy of identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0056] Figure 1 This is a flow chart of a method for identifying TCM constitution based on a decision tree according to Example 1 of the present invention.

[0057] Figure 2 This is a schematic diagram of a trained decision tree model according to Example 1 of the present invention.

[0058] Figure 3 This is a schematic diagram of the items of the simplified TCM constitution identification scale according to Example 1 of the present invention.

[0059] Figure 4 This is a structural block diagram of a TCM constitution identification system based on a decision tree according to Example 2 of the present invention.

[0060] Figure 5 This is a structural block diagram of a computer device according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in 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.

[0062] Embodiment 1:

[0063] like Figure 1 As shown, this embodiment provides a method for identifying TCM constitution based on a decision tree. In order to utilize the TCM constitution identification scale big data of multi-center medical clinics, the method constructs a decision tree model to screen items and establishes the relationship between items to simplify the TCM constitution identification scale while ensuring the identification accuracy. Specifically, the method includes the following steps:

[0064] S101. Obtain data of the Traditional Chinese Medicine Constitution Identification Scale from multiple central medical clinics.

[0065] In one embodiment, step S101 includes: determining the scope and objectives of data collection; cooperating with various central medical clinics to establish data sharing agreements and privacy protection measures to obtain data of the TCM constitution identification scale based on the scope and objectives of data collection.

[0066] In one embodiment, the scope and objectives of data collection are determined, including: clarifying the types and quantities of data to be collected, determining which items of the TCM constitution identification scale need to be included, the personal information of the examinee (such as age, gender, medical history, etc.), and various indicator data (such as tongue diagnosis, pulse diagnosis, medical history, etc.).

[0067] In one embodiment, cooperation is conducted with various central medical clinics to establish data sharing agreements and privacy protection measures to obtain data of the TCM constitution identification scale according to the scope and objectives of data collection, including: cooperation with various central medical clinics to ensure that various central medical clinics are willing to share data of the TCM constitution identification scale; establishment of data sharing agreements and privacy protection measures to ensure data security and compliance; on the basis of cooperation with central medical clinics, formulation of data collection plans and processes, which may include electronic questionnaires, database entry, or direct extraction of data from medical record systems to ensure that the collected data is in a consistent format, and conversion of the collected data into an operational format for subsequent data processing and analysis.

[0068] S102: preprocess the acquired data to obtain a preprocessed data set.

[0069] In one embodiment, step S102 includes: removing missing values, outliers and duplicate data from the acquired data, filling or deleting missing values, and processing outliers to ensure the quality and accuracy of the data; performing feature selection and feature engineering on the data to extract useful features from the data to obtain a preprocessed data set to facilitate subsequent decision tree model construction.

[0070] In one embodiment, after obtaining the preprocessed data set, an appropriate database or data warehouse is established to store and manage the data in the data set, ensure the security and accessibility of the data, and establish an appropriate data backup and recovery mechanism.

[0071] S103. Based on the preprocessed data set, a decision tree algorithm is selected to construct and train a decision tree model.

[0072] In one embodiment, step S103 includes: dividing the preprocessed data set into a training set and a test set; using the training set to construct and train a decision tree model; during the training process, tuning the parameters of the decision tree model; using the test set to evaluate the trained and tuned decision tree model, and adjusting the decision tree model according to the evaluation results to obtain a trained decision tree model.

[0073] In one embodiment, the preprocessed data set is divided into a training set and a test set, including: using a random division method to divide the data set into two parts according to a certain ratio (such as 70% training set and 30% test set), the training set is used for model construction and training, and the test set is used to evaluate the performance of the model.

[0074] In one embodiment, a suitable decision tree algorithm is selected to construct a decision tree model, including: common decision tree algorithms include CART (Classification and Regression Trees), ID3 (Iterative Dichotomiser3) and C4.5, etc.; according to the characteristics of the problem and the attributes of the training set, the most suitable algorithm is selected to construct the decision tree model.

[0075] In one embodiment, a training set is used to train a decision tree model, including: recursively dividing the features of the training set to generate a decision tree. Depending on the algorithm, the division standard of the decision tree can be the Gini Index, information gain, or information gain ratio.

[0076] In one embodiment, parameter tuning of the decision tree model can improve the performance and generalization ability of the model. The parameter tuning methods include pruning and parameter setting. Pruning is to prevent the model from overfitting and simplify the model by reducing the branches and nodes of the decision tree. Parameter setting is to adjust the parameters in the algorithm, such as the maximum depth of the decision tree, the minimum number of samples for node splitting, etc., to obtain better model performance.

[0077] In one embodiment, the evaluation indicators may include accuracy, precision, recall, F1 value, etc. According to the evaluation results, the decision tree model can be directly adjusted, or other algorithms can be selected for comparison and then the decision tree model can be adjusted to obtain better decision tree model performance and obtain a trained decision tree model. Figure 2 shown.

[0078] S104. Inputting the characteristic data of the subject into the trained decision tree model, making judgments along the branches of the decision tree, and determining the physical type of the subject.

[0079] S105. Screen the items of the TCM constitution identification scale according to the trained decision tree model to obtain key items.

[0080] In one embodiment, step S105 includes: during the process of step S104, branches and nodes in the trained decision tree model may be observed, and items with higher predictive power may be selected as key items according to their importance and predictive power.

[0081] S106. Determine the relationship between items by analyzing branches and nodes in the trained decision tree model.

[0082] In one embodiment, step S106 includes: when the decision tree model makes a judgment, the selection and arrangement order of different items may affect the final judgment result. By analyzing the branches and nodes in the trained decision tree model, the conditional relationship and dependency relationship between the items can be analyzed, thereby establishing the relationship between the items.

[0083] In one embodiment, after establishing the relationships between items, the relationships between items can be visualized, which can better help users understand and analyze these relationships; specifically, graphical tools or software can be used to create a relationship graph between items, with the items as nodes and the conditional relationships and dependency relationships between items as edges to form a relationship graph. By observing and analyzing the relationship graph, the association patterns between items can be discovered, further optimizing the design and use of the scale.

[0084] In one embodiment, after the relationships between the items are established, the relationships between the items can be verified and adjusted by using independent data sets or expert judgment to verify the accuracy and validity of the relationships between the items. Based on the verification results, the relationships between the items are adjusted and optimized to ensure the accuracy and practicality of the relationships.

[0085] S107. Based on the screened key items and the relationships between the items, the TCM constitution identification scale is simplified and redundant items are removed.

[0086] Based on the selected key items and the relationship between the items, the TCM constitution identification scale is simplified, redundant items are removed, and only items with high predictive ability and importance are retained. The simplified TCM constitution identification scale can be more concise and efficient, reducing the burden of answering questions for the examinees, such as Figure 3As shown; when using the decision tree model for identification, only the simplified TCM constitution identification scale needs to be used to improve the identification efficiency; by verifying and evaluating the accuracy of the simplified TCM constitution identification scale on the test set, it is ensured that the TCM constitution identification scale is simplified while maintaining the accuracy of identification.

[0087] S108. Determine the weight of each item in the simplified TCM constitution identification scale.

[0088] In one embodiment, the item weight reflects the importance of each item for the determination of the physical constitution type. The item weight can be determined based on the prediction accuracy of the branches and nodes of the decision tree model, the feature importance and other information. More important items can be assigned higher weights, while less important items can be assigned lower weights.

[0089] S109. Verify the practical application of the simplified TCM constitution identification scale.

[0090] In one embodiment, step S110 includes: evaluating the accuracy and reliability of the simplified TCM constitution identification scale by comparing and verifying with existing constitution identification methods; a certain number of subjects can be selected for testing, compared with the original TCM constitution identification scale, and statistical analysis and evaluation can be performed.

[0091] S110. Based on the verification results of actual applications, the accuracy, feasibility and practicality of the simplified TCM constitution identification scale are evaluated to obtain analysis results.

[0092] In one embodiment, some people who have never had their constitution measured can be asked to take the test and use both the simplified TCM constitution identification scale and the original TCM constitution identification scale to observe the consistency of the two results.

[0093] S111. Based on the analysis results, the item weights are adjusted and optimized to further improve the accuracy and practicality of the TCM constitution identification scale.

[0094] This embodiment can realize the coding and development of the above-mentioned decision tree model and item screening algorithm, using a suitable programming language and machine learning framework; for TCM clinics, develop corresponding software or applications for collecting, storing and analyzing TCM constitution identification data, and apply the decision tree model for real-time identification and simplification of the TCM constitution identification scale, as described below:

[0095] (1) Model-based constitution identification service: Using the constructed TCM constitution identification model, a model-based constitution identification service can be provided. Users can input relevant characteristic data and use the model to identify and evaluate their constitution type. This service can be provided in TCM health care institutions, hospitals, health management centers and other places to help users understand their own constitution type and take corresponding conditioning and preventive measures.

[0096] (2) Personalized decision support: The TCM constitution identification model can be used as a decision support tool to provide personalized decision support for doctors, TCM practitioners, and health managers. Based on the characteristic data of the subject, the model can quickly give the determination result of the constitution type, assisting medical professionals to make more accurate and personalized decisions in diagnosis, treatment, and health management.

[0097] (3) Scientific research support: The TCM constitution identification model can provide support for scientific research. Researchers can use the model to conduct large-scale data analysis and mining to explore the associations and characteristics between different constitution types. The results and analysis of the model can provide useful references and bases for the study of TCM theory, the clinical practice of TCM, and scientific research in related fields.

[0098] (4) Model optimization and updating: With the accumulation and feedback of practical applications, the TCM constitution identification model can be optimized and updated. According to the data feedback and verification results in practical applications, the model parameters can be adjusted, the feature selection and weight setting can be optimized to improve the accuracy and adaptability of the model. The optimization and updating of the model is a continuous improvement process that can continuously improve the performance and application effect of the model.

[0099] It should be noted that although the method operations of the above embodiments are described in a specific order, this does not require or imply that these operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0100] Embodiment 2:

[0101] like Figure 4 As shown, this embodiment provides a TCM constitution identification system based on a decision tree, which includes an acquisition module 401, a preprocessing module 402, a training module 403, an identification module 404, a screening module 405, a determination module 406 and a simplification module 407. The specific description of each module is as follows:

[0102] An acquisition module 401 is used to acquire data of a TCM constitution identification scale from multiple central medical clinics;

[0103] A preprocessing module 402 is used to preprocess the acquired data to obtain a preprocessed data set;

[0104] Constructing a training module 403, for selecting a decision tree algorithm based on the preprocessed data set, and constructing and training a decision tree model;

[0105] The identification module 404 is used to input the characteristic data of the subject into the trained decision tree model, and make judgments along the branches of the decision tree to determine the physical type of the subject;

[0106] A screening module 405 is used to screen the items of the TCM constitution identification scale according to the trained decision tree model to obtain key items;

[0107] A determination module 406, configured to determine the relationships between items by analyzing branches and nodes in the trained decision tree model, wherein the relationships include conditional relationships and dependent relationships;

[0108] The simplification module 407 is used to simplify the TCM constitution identification scale based on the screened key items and the relationships between the items, and remove redundant items.

[0109] It should be noted that the system provided in this embodiment is only illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure can be divided into different functional modules to complete all or part of the functions described above.

[0110] Embodiment 3:

[0111] This embodiment provides a computer device, such as Figure 5 As shown, it includes a processor 502, a memory, an input device 503, a display device 504 and a network interface 505 connected through a system bus 501. The processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium 506 and an internal memory 507. The non-volatile storage medium 506 stores an operating system, a computer program and a database. The internal memory 507 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the processor 502 executes the computer program stored in the memory, the TCM constitution identification method of the above-mentioned embodiment 1 is implemented as follows:

[0112] The data of the TCM constitution identification scale are obtained from multiple central medical clinics; the obtained data are preprocessed to obtain a preprocessed data set; based on the preprocessed data set, a decision tree algorithm is selected to construct and train a decision tree model; the constitution type of the subject is determined by inputting the characteristic data of the subject into the trained decision tree model and making judgments along the branches of the decision tree; according to the trained decision tree model, the items of the TCM constitution identification scale are screened to obtain key items; by analyzing the branches and nodes in the trained decision tree model, the relationships between the items are determined, and the relationships include conditional relationships and dependent relationships; based on the screened key items and the relationships between the items, the TCM constitution identification scale is simplified to remove redundant items.

[0113] Embodiment 4:

[0114] This embodiment provides a storage medium, which is a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the method for identifying TCM constitution in the above embodiment 1 is implemented as follows:

[0115] The data of the TCM constitution identification scale are obtained from multiple central medical clinics; the obtained data are preprocessed to obtain a preprocessed data set; based on the preprocessed data set, a decision tree algorithm is selected to construct and train a decision tree model; the constitution type of the subject is determined by inputting the characteristic data of the subject into the trained decision tree model and making judgments along the branches of the decision tree; according to the trained decision tree model, the items of the TCM constitution identification scale are screened to obtain key items; by analyzing the branches and nodes in the trained decision tree model, the relationships between the items are determined, and the relationships include conditional relationships and dependent relationships; based on the screened key items and the relationships between the items, the TCM constitution identification scale is simplified to remove redundant items.

[0116] It should be noted that the computer-readable storage medium of the present embodiment may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0117] In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device, or device. In this embodiment, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program used by or in combination with an instruction execution system, device, or device. The computer program contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0118] The computer readable storage medium can be written in one or more programming languages ​​or a combination thereof to execute the computer program of the present embodiment, and the programming language includes an object-oriented programming language, such as Java, Python, C++, and also includes a conventional procedural programming language, such as C language or a similar programming language. The program can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0119] In summary, the present invention utilizes the big data of the TCM constitution identification scale of multi-center medical clinics, applies the decision tree model to screen the items, and constructs the relationship between the items. It can simplify the scale filling process, improve the accuracy and reliability of identification, and provide a more efficient and accurate constitution identification tool for the field of TCM, and provide individuals with personalized TCM diagnosis and treatment guidance.

[0120] The above description is only a preferred embodiment of the present invention. It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic features of the present invention. Therefore, no matter from which point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention.

Claims

1. A method for identifying TCM constitution based on decision tree, It is characterized in that The method comprises: Obtain data on the TCM Constitution Identification Scale from multiple central medical clinics; Preprocessing the acquired data to obtain a preprocessed data set; Based on the preprocessed data set, select the decision tree algorithm, build and train the decision tree model; By inputting the characteristic data of the examinee into the trained decision tree model, the examinee's physical type is determined by making judgments along the branches of the decision tree; According to the trained decision tree model, the items of the TCM constitution identification scale are screened to obtain key items; By analyzing the branches and nodes in the trained decision tree model, determining the mutual relationships between the items, the mutual relationships include conditional relationships and dependent relationships; Based on the screened key items and the relationships between the items, the TCM constitution identification scale was simplified and redundant items were removed.

2. The method for identifying constitution of traditional Chinese medicine according to claim 1, It is characterized in that The data of the TCM constitution identification scale obtained from multiple central medical clinics include: Determine the scope and objectives of data collection; Cooperate with various central medical clinics to establish data sharing agreements and privacy protection measures to obtain data for the TCM Constitution Identification Scale based on the scope and objectives of data collection.

3. The method for identifying constitution of traditional Chinese medicine according to claim 1, It is characterized in that The preprocessing of the acquired data to obtain a preprocessed data set includes: For the acquired data, missing values, outliers and duplicate data are removed, missing values ​​are filled or deleted, outliers are processed, and feature selection and feature engineering are performed to extract useful features to obtain the preprocessed data set.

4. The method for identifying constitution in traditional Chinese medicine according to claim 1, It is characterized in that The method of selecting a decision tree algorithm based on the preprocessed data set and constructing and training a decision tree model includes: Divide the preprocessed data set into training set and test set; Use the training set to train the decision tree model; During the training process, the decision tree model is subjected to parameter tuning, wherein the parameter tuning includes pruning and parameter setting; The test set is used to evaluate the trained and tuned decision tree model. According to the evaluation results, the decision tree model is adjusted to obtain a trained decision tree model.

5. The method for identifying constitution of TCM according to claim 4, It is characterized in that The step of training the decision tree model using a training set includes: Recursively partition the features of the training set to generate a decision tree.

6. The method for identifying constitution of traditional Chinese medicine according to claim 1, It is characterized in that After determining the relationship between items by analyzing the branches and nodes in the trained decision tree model, the method further includes: The items are taken as nodes, and the conditional relationships and dependency relationships between items are taken as edges to form a relationship graph; Verify the accuracy and validity of the relationships between items, and adjust and optimize the relationships between items based on the verification results.

7. The method for identifying constitution in traditional Chinese medicine according to any one of claims 1 to 6, It is characterized in that The method further comprises: In the simplified TCM constitution identification scale, determine the weight of each item; To verify the practical application of the simplified TCM constitution identification scale; According to the verification results of actual application, the accuracy, feasibility and practicality of the simplified TCM constitution identification scale were evaluated and the analysis results were obtained; According to the analysis results, the item weights were adjusted and optimized to further improve the accuracy and practicality of the TCM constitution identification scale.

8. A TCM constitution identification system based on decision tree, It is characterized in that The system comprises: An acquisition module is used to obtain data of the TCM constitution identification scale from multiple central medical clinics; A preprocessing module is used to preprocess the acquired data to obtain a preprocessed data set; Construct a training module to select a decision tree algorithm based on the preprocessed data set, and construct and train the decision tree model; The identification module is used to input the characteristic data of the subject into the trained decision tree model, and make judgments along the branches of the decision tree to determine the physical type of the subject; A screening module is used to screen the items of the TCM constitution identification scale according to the trained decision tree model to obtain key items; A determination module, used to determine the mutual relationship between items by analyzing the branches and nodes in the trained decision tree model, wherein the mutual relationship includes a conditional relationship and a dependent relationship; The simplification module is used to simplify the TCM constitution identification scale based on the screened key items and the relationships between the items, and to remove redundant items.

9. A computer device comprising a processor and a memory for storing a program executable by the processor, It is characterized in that When the processor executes the program stored in the memory, the method for identifying TCM constitution according to any one of claims 1 to 7 is implemented.

10. A storage medium storing a program, It is characterized in that When the program is executed by a processor, the method for identifying constitution in Traditional Chinese Medicine as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Physique identification method and system based on human-computer interaction and storage medium

    CN114388125A

  • Dynamic weighting of indicator values for item scoring

    US8676812B1

Cited By

  • Cross-domain communication network traffic classification method and device, equipment and storage medium

    CN119089248A

  • Traditional Chinese medicine syndrome intelligent identification method and system and storage medium

    CN119252470A

  • Traditional Chinese medicine constitution identification method, traditional Chinese medicine constitution identification device and computer readable storage medium

    CN120809203A

  • Traditional Chinese and western medicine multi-modal data association network construction method, device and program product

    CN120913885A