Traditional Chinese medicine rehabilitation treatment effect evaluation system based on machine learning

Through the machine learning-based traditional Chinese medicine rehabilitation treatment effect evaluation system, the problems of individual differences and extensive information in traditional Chinese medicine rehabilitation treatment are solved, and the precise evaluation of treatment effects and personalized optimization of treatment plans are achieved, which improves the treatment effect and data processing efficiency.

CN118888089AInactive Publication Date: 2024-11-01SHANDONG ORIENTATION ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410908472.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In traditional Chinese medicine rehabilitation treatment, due to individual differences and extensive information, it is difficult for the existing technology to effectively evaluate the treatment effect, resulting in difficulty in optimizing the treatment plan and poor information quality, which affects model convergence and treatment effect.

Method used

Design a machine learning-based traditional Chinese medicine rehabilitation treatment effect evaluation system, including data collection, feature processing, personalized extraction and treatment effect optimization modules, and identify disease names and modified words and sentences to build feature matrix and objectives by initially processing diagnostic information. Variables, using regression functions and convolutional neural network models, optimize treatment plans.

Benefits of technology

It has achieved accurate evaluation of the effects of traditional Chinese medicine rehabilitation treatment and the generation of personalized treatment plans, improved the treatment effect and data processing efficiency, provided high-quality data support, and improved the optimization efficiency of treatment plans.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118888089A_ABST
    Figure CN118888089A_ABST
Patent Text Reader

Abstract

The invention discloses a traditional Chinese medicine rehabilitation treatment effect evaluation system based on machine learning, and relates to the field of rehabilitation data processing, and the technical scheme is characterized in that a data collection module is used for collecting comprehensive data, a treatment scheme and rehabilitation data of a patient; the feature processing module is used for carrying out correlation processing on the diagnosis information to obtain a degree score value corresponding to each disease name; the personalized extraction module is used for constructing a feature matrix and a target variable, setting and training a feature extraction model, importing the feature matrix and the target variable into the feature extraction model to obtain feature data related to rehabilitation effect scores, and obtaining an associated data set; and the treatment effect optimization module is used for constructing a real-time data set, inputting the real-time data set of the patient in the current rehabilitation period into the treatment effect evaluation model, performing iterative optimization, obtaining an optimal treatment scheme in the current rehabilitation period, and realizing effect evaluation of traditional Chinese medicine rehabilitation treatment and generation of a personalized optimal treatment scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rehabilitation data processing, and more specifically, to a traditional Chinese medicine rehabilitation treatment effect evaluation system based on machine learning. Background Art

[0002] TCM rehabilitation therapy is based on TCM theories and methods. TCM believes that the human body is an organic whole, with all parts interconnected and affecting each other. TCM rehabilitation therapy emphasizes syndrome differentiation and treatment. The health status, blood circulation and organ function of each human body will affect the treatment methods and plans.

[0003] In the process of evaluating the effect of TCM rehabilitation treatment based on machine learning, due to the different rehabilitation conditions of individuals, the treatment plan for each rehabilitation cycle is also different. The vast amount of TCM knowledge causes doctors to ignore some influencing factors in the actual treatment plan, which in turn makes the treatment effect less than ideal. Therefore, the optimization of the treatment plan and the reminder of poor treatment effect are conducive to the optimization of the treatment plan. Moreover, due to the large amount of information in the diagnosis process and the manual recording of the patient's symptoms, it is easy to ignore some influencing content, and the large amount of patient diagnostic information also affects the extraction of useful data. There is a problem of poor information quality, which is difficult to highlight in complex application scenarios. The complex information leads to interference with effective feature analysis and deep mining when evaluating the treatment effect; resulting in low input data quality in machine learning, affecting model convergence, and unable to meet the diversified treatment needs of different patients at different rehabilitation progress. Therefore, it is necessary to design the evaluation of the effect of TCM rehabilitation treatment. Summary of the invention

[0004] In view of the problems existing in the prior art, the purpose of the present invention is to provide a TCM rehabilitation treatment effect evaluation system based on machine learning, so as to realize the effect evaluation of TCM rehabilitation treatment and the generation of personalized optimal treatment plans.

[0005] To achieve the above object, the present invention provides the following technical solution: a TCM rehabilitation treatment effect evaluation system based on machine learning, the TCM rehabilitation treatment effect evaluation system based on machine learning comprising:

[0006] Data collection module: used to collect comprehensive patient data, treatment plans and rehabilitation data;

[0007] Feature processing module: used to process the correlation of diagnostic information and obtain the degree score corresponding to each disease name;

[0008] Personalized extraction module: used to construct feature matrix X and target variable Y, set and train feature extraction model, import feature matrix X and target variable Y into feature extraction model to obtain feature data related to rehabilitation effect score, and obtain associated data set;

[0009] Treatment effect optimization module: used to construct a real-time data set, input the real-time data set of the patient's current rehabilitation cycle into the efficacy evaluation model, iterate and optimize, and obtain the best treatment plan in the current rehabilitation cycle;

[0010] The modules are connected to each other via wired and / or wireless means.

[0011] Preferably, the comprehensive data includes basic information and diagnostic information, and each data category is set as a characteristic data;

[0012] Basic information includes age, gender, height, and weight. Diagnostic information includes medical record data and symptom information. Medical record data includes the patient's past medical history or family medical history. Symptom information is the patient's specific description of the disease. When the patient orally describes the symptom information, the voice is recorded through a recording device, and the patient's oral voice is converted into text using automatic speech recognition technology to form symptom information.

[0013] The treatment plan includes the Chinese medicine prescription prescribed by the doctor, the treatment method, and the corresponding implementation frequency and duration;

[0014] Rehabilitation data are used to show the improvement data of each characteristic symptom.

[0015] Preferably, the correlation processing includes:

[0016] Perform preliminary processing on the diagnosis information, identify the disease name and related modifying words and sentences in the diagnosis information, and import them into the word and sentence similarity judgment model to obtain the degree score value corresponding to the input disease name;

[0017] The initial processing methods include word segmentation, part-of-speech tagging, disease name recognition, dependency syntax analysis, disease name extraction, and modifier extraction, specifically:

[0018] Identify word boundaries in text in diagnostic information and segment the text into individual words or subwords;

[0019] Use conditional random fields to perform part-of-speech tagging on the text and identify the part of speech of each word;

[0020] Identify disease names in text and tag them;

[0021] Through dependency syntactic analysis, the dependency relationship between words is identified, and modifiers and related descriptions are extracted;

[0022] Combine the results of part-of-speech tagging and disease name recognition to extract keywords;

[0023] Using the results of dependency syntax analysis, we extract modifiers and descriptive information related to the disease name.

[0024] Preferably, the word and sentence similarity judgment model includes:

[0025] Construct a conversion dictionary, initialize a blank dictionary, manually import M1 group disease names, and divide each group of disease names into N1 group degree scores. Manually collect K1 group of explicit modifying words and sentences for each group of degree scores, and use them as seed words and sentences after expansion through the synonym corpus. All seed words and sentences form the initial vocabulary;

[0026] The identified disease names and related modifiers are introduced into the word-sentence similarity judgment model, and the semantic similarity between the modifier words and sentences of the input disease name and the corresponding seed words and sentences is calculated; the words and sentences with the highest semantic similarity are judged as synonyms of the seed words and sentences, that is, they are classified into the degree score values ​​corresponding to the seed words and sentences, and the degree score values ​​corresponding to the input disease name are obtained.

[0027] Preferably, the objective function of the word and sentence similarity judgment model is defined as:

[0028]

[0029] Enter the modifier sentence S 1 The vector is represented as v(S 1 ), the vector of the i-th seed word Si is represented as v(Si); the vector of the modifier word is obtained by Word2Vec, i represents the index of the seed word in the disease name corresponding to the modifier word, S represents the set of seed words in the disease name corresponding to the modifier word, Sj represents the word in the seed word set with the highest similarity to the modifier word, j represents the index of the seed word with the highest similarity to the modifier word, cp(j) represents the degree score value in the group corresponding to the seed word Sj with the highest similarity, ||v(S 1 )||, ||v(Si)|| respectively represent vectors v(Si), v(S 1 )

[0030] Among them, v(S) represents the overall vector of the sentence, Cq represents the word vector of the qth word in the sentence, m represents the number of words in the sentence, and q represents the index of the word in the sentence.

[0031] Preferably, the constructing of the feature matrix X comprises: performing unique hot encoding on each feature data in the comprehensive data, setting the specification of the feature matrix X to n×p, wherein n is the sample size, p is the number of feature data, and the sample size is the number of historical treatments of the patient;

[0032] Construct the target variable Y, set the specification of the target variable Y to be an n×1 vector, and the target variable includes the rehabilitation treatment effect score of the patient after each treatment.

[0033] Preferably, the feature extraction model is constructed based on the regression function, the regression coefficient β and the regularization parameter α are set, and the objective function of the feature extraction model is defined as:

[0034]

[0035] β represents the regression coefficient vector, which represents the weight of each feature data. represents the optimal regression coefficient vector, a represents the index of the sample feature, α represents the regularization parameter, which controls the weight of the regularization term, yb represents the target value of the bth sample, Xa represents the feature vector of the ath sample, represents the optimal regression coefficient of the a-th sample, βa represents the regression coefficient of the a-th sample, Xa T β represents the predicted value of the ath sample,

[0036] Extract feature data from the feature vector corresponding to the non-zero regression coefficient output by the feature extraction model, and obtain the associated data set.

[0037] Preferably, the setting of the regression coefficient vector β includes:

[0038] Using the coordinate descent optimization algorithm, the regression coefficients βa are updated one by one to minimize the solution function. The solution function is expressed as:

[0039]

[0040] The update formula for each regression coefficient βa is:

[0041]

[0042] Among them, xba represents the element in the b-th row and a-th column of the feature matrix X, that is, it represents the a-th eigenvalue of the b-th sample;

[0043] The regression coefficient is repeatedly updated by updating the formula until the solution function converges, that is, the change of the regression coefficient β is less than 0.1, and the optimal regression coefficient vector is obtained. The change refers to the difference between the data represented by the current iteration number and the data represented by the previous iteration number.

[0044] Preferably, the setting of the regularization parameter α includes:

[0045] Define the value or value range of the candidate regularization parameter α;

[0046] For each candidate α value, K-fold cross validation is used to calculate the validation error. K-fold cross validation is performed to divide the data set into K subsets. K-1 subsets are used for training each time, and the remaining subset is used for validation. This is repeated K times, and the average validation error is calculated.

[0047]

[0048] Where D represents the data set, D k is the kth subset, is the predicted value of the hth validation, R h is the true value, according to Choose the value of α that minimizes the validation error.

[0049] Preferably, obtaining the best treatment plan in the current rehabilitation cycle includes:

[0050] Set up and train the efficacy evaluation model: Based on the standard convolutional neural network structure, set the convolution layer, global average pooling layer, fully connected layer and output layer;

[0051] Construct a training data set, which includes the real-time data set of group W1 and its corresponding rehabilitation treatment effect score; use the optimization algorithm to back propagate, update the parameters of the efficacy evaluation model, minimize the loss function, and use the mean square error (MSE) as the loss function until the loss function value is minimized, and then obtain the constructed efficacy evaluation model;

[0052] Construct a real-time data set: The associated data set output by the feature extraction model and the treatment plan form a real-time data set, and the real-time data set is imported into the trained efficacy evaluation model to obtain the rehabilitation treatment effect score. Based on the predicted rehabilitation treatment effect score, it is determined whether the rehabilitation expectation is met. If not, the doctor adjusts the treatment plan, recomposes the real-time data set and inputs it into the efficacy evaluation model until the rehabilitation treatment effect score reaches the expected standard, and stops, and outputs the treatment plan at this time, which is recorded as the best treatment plan.

[0053] Compared with the prior art, the present invention has the following beneficial effects:

[0054] In the present invention, by preliminarily processing the diagnostic information, the disease name and related modifying words and phrases in the diagnostic information are identified, the annotation and extraction of the patient's diagnostic information are realized, and a good recognition basis is provided for the deep analysis of the data. The degree score values ​​of each disease in the diagnostic information are converted through the word and phrase similarity judgment model, and the complex text description corresponding to the patient's disease is converted into an accurate numerical expression. While simplifying the data information conversion, the numerical and accurate expression of the data is realized, and the operation computing power of the data analysis is reduced. At the same time, high-quality data input is realized, the effect of subsequent data processing and model training, as well as the retrieval and response speed are improved, and an accurate data basis is provided for subsequent model optimization; the feature extraction efficiency is accelerated, and new kinetic energy is injected into the agility and flexibility of data processing. The feature data with the highest correlation with the patient's rehabilitation treatment is obtained through the feature extraction model, and the associated data set is obtained. The optimal treatment plan is designed based on the characteristic diseases in the associated data set, and the best treatment plan that achieves the expected effect is output for each rehabilitation cycle of the patient; the adaptive regulation and optimization mechanism continuously improves the feature extraction efficiency and the optimization efficiency of the treatment plan in each rehabilitation cycle, and multiple modules cooperate with each other to realize comprehensive data collection, processing and analysis, and provide real-time and accurate data support. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 The present invention proposes a structural schematic diagram of a TCM rehabilitation treatment effect evaluation system based on machine learning;

[0056] Figure 2 Schematic diagram of the method steps used in the TCM rehabilitation treatment effect evaluation system based on machine learning in the present invention. DETAILED DESCRIPTION

[0057] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0058] Embodiment 1

[0059] Reference Figure 1 and Figure 2 Embodiment 1 further illustrates a TCM rehabilitation treatment effect evaluation system based on machine learning proposed by the present invention.

[0060] Building a TCM rehabilitation treatment effect evaluation system based on machine learning can significantly improve the scientificity and accuracy of TCM rehabilitation treatment. This system can analyze the patient's medical records, treatment process data, and rehabilitation effect data, and use machine learning algorithms to evaluate and predict the treatment effect. Based on the predicted treatment effect, it can determine whether the treatment expectations are met, and then adjust the treatment plan accordingly. The following is the basic framework and implementation steps of this system:

[0061] Data collection module: used to collect comprehensive patient data, treatment plans and rehabilitation data;

[0062] Comprehensive data includes basic information and diagnostic information. Each data category is set as a characteristic data. For example, weight, the disease name corresponding to each disease, blood pressure, etc. can all be used as a characteristic data.

[0063] Basic information includes age, gender, height, and weight; this basic information helps to understand the patient's basic physical condition and evaluate the differences in the effects of certain treatments on different groups. The patient's basic information is automatically obtained through the hospital's electronic health record system (hospital information system (HIS), electronic medical record system (EMR)).

[0064] Diagnostic information includes medical record data and symptom information. Medical record data includes the patient's past medical history or family medical history. This information helps to understand the patient's overall health status and potential genetic factors. Symptom information is the patient's specific description of the disease. When the patient orally states the symptom information, the voice is recorded through a recording device, and the patient's oral voice is converted into text using automatic speech recognition (ASR) technology. The patient's oral information is converted into text through a recording device to form symptom information. Symptom information can help determine the main treatment direction and rehabilitation goals. Medical record data can be collected by designing standardized questionnaires (online questionnaire tools (such as SurveyMonkey, GoogleForms) or paper questionnaires). Symptom information can be obtained by the patient's oral information when the doctor asks, including information such as living habits, eating habits, exercise habits, and chief complaints and symptom descriptions, or by medical staff conducting face-to-face interviews with patients to record medical history and symptom information.

[0065] The treatment plan includes the Chinese medicine prescription (drug name, dosage, frequency) prescribed by the doctor, acupuncture, massage, cupping, scraping and other treatment methods, as well as the specific implementation frequency and duration of the corresponding treatment methods, which can be collected through the doctor's prescription, treatment record form or electronic medical record system (EMR).

[0066] Rehabilitation data is used to show the improvement data of various characteristic symptoms; it may include blood indicators, imaging examination results, etc., and can be used through wearable devices (such as smart watches, blood pressure monitors, blood analyzers, X-ray machines, MRI and other medical equipment), thermometers, electrocardiographs to regularly monitor and record the patient's body temperature, heart rate, blood pressure and other physiological indicators.

[0067] The comprehensive and accurate data collected as mentioned above is the basis for the system evaluation effect. The more data samples there are, the more individual differences between different patients can be identified, and more personalized evaluation results can be provided. The data corresponding to different disease names in the diagnostic information are all feature data. Different feature data have different effects on treatment plans. For example, the rehabilitation effects of acupuncture or Chinese medicine courses in the treatment plan for feature data such as low back pain and dizziness are different. Chinese medicine treatment emphasizes syndrome differentiation and treatment. Therefore, the effect of the same treatment plan is different for different patients. Therefore, through the reasonable selection of feature data in the diagnostic information and the arrangement of different treatment plans, the interpretability of the evaluation of the effect of Chinese medicine rehabilitation treatment is very important, which can improve the predictive ability of the model.

[0068] Feature processing module: used to process the correlation of diagnostic information and obtain the degree score corresponding to each disease name;

[0069] The correlation processing includes:

[0070] The diagnostic information is preliminarily processed to identify and mark the disease name and related modifiers. The preliminary processing methods include word segmentation, part-of-speech tagging, named entity recognition, dependency syntax analysis, keyword extraction, and modifier extraction.

[0071] Word segmentation: First, identify the word boundaries of the text in the diagnostic information, such as spaces, punctuation marks, etc., and segment the text into separate words or subwords for further processing;

[0072] Part-of-speech tagging: Use conditional random fields to tag text and identify the part of speech of each word (such as noun, verb, adjective, etc.);

[0073] Named entity recognition: Identify and mark named entities in text, such as disease names (hypertension, diabetes, cervical spondylosis, abdominal pain), etc.

[0074] Dependency syntactic analysis: Through dependency syntactic analysis, the dependency relationship between words is identified to help extract modifiers and related descriptions;

[0075] Keyword extraction: Combine part-of-speech tagging and named entity recognition results to extract keywords from the text;

[0076] Modifier extraction: Use the results of dependency syntax analysis to extract modifiers and description information related to keywords.

[0077] For example, the patient's symptom description in the symptom data is "The patient has a history of hypertension and diabetes, and was recently diagnosed with cervical spondylosis, accompanied by abdominal pain. The frequency of abdominal pain is morning, noon and evening, with very short intervals, and it hurts from time to time. Sometimes the pain is severe, and sometimes it is not severe."

[0078] The word segmentation results are:

[0079] [“patient”, “has”, “hypertension”, “and”, “diabetes”, “medical history”, “.”, “recently”, “diagnosed”, “as”, “cervical spondylosis”, “,”, “accompanied by”, “has”, “abdominal pain”, “,”, “abdominal pain”, “frequency”, “morning”, “noon”, “evening”, “will”, “,”, “interval”, “time”, “extremely”, “short”, “,”, “from time to time”, “will”, “hurt”, “sometimes”, “hurt”, “severe”, “,”, “sometimes”, “hurt”, “not”, “severe”, “.”].

[0080] Perform part-of-speech tagging on the word segmentation results to identify the part of speech of each word:

[0081] ["patient / noun","have / verb","hypertension / noun","and / conjunction","diabetes / noun","medical history / noun","." / punctuation","recently / adverb","diagnosis / verb","for / preposition","cervical spondylosis / noun",","," / punctuation","accompany / verb","have / verb","abdominal pain / noun",","," / punctuation","abdominal pain / noun","frequency / noun","early / adverb","middle / adverb","late / adverb","all / adverb","will / verb",",","," / punctuation","interval / verb","time / noun","extremely / adverb","short / adjective",","," / punctuation","from time to time / adverb","just / adverb","will / verb","hurt / verb",",","," / punctuation","sometimes / adverb","hurt / verb","of / particle","severe / adverb","severe / adverb",".","." / punctuation"].

[0082] Identify named entities such as disease names in text:

[0083] {"hypertension":"disease","diabetes":"disease","cervical spondylosis":"disease","abdominal pain":"symptoms"}.

[0084] Through dependency syntactic analysis, the dependency relationship between words is identified. For example:

[0085] Modifiers for “abdominal pain”: “occurs in the morning, noon and evening”, “has very short intervals”, “pains from time to time”, “sometimes the pain is severe”, “sometimes the pain is not severe”.

[0086] Combine the results of part-of-speech tagging and named entity recognition to extract keywords:

[0087] Keywords: [“hypertension”, “diabetes”, “cervical spondylosis”, “abdominal pain”].

[0088] Using the results of dependency syntactic analysis, extract modifiers related to keywords:

[0089] Modifiers for “abdominal pain”: [“occurs morning, noon, and evening”, “occurs at very short intervals”, “pains from time to time”, “pains are sometimes severe”, “pains are sometimes not severe”].

[0090] Through the above steps, keywords and related modifiers can be effectively extracted from symptom descriptions. These steps work together to extract useful information from complex texts, facilitating subsequent data analysis and processing.

[0091] Construct a conversion dictionary, initialize a blank dictionary, manually import M1 group disease names, and divide each group of disease names into N1 group degree scores. Manually collect K1 group of explicit modifying words and sentences for each group of degree scores, and use them as seed words and sentences after expansion through the synonym corpus. All seed words and sentences form the initial vocabulary;

[0092] First, a blank dictionary is initialized to store disease names, severity scores, and modifying words and phrases. M1 groups of disease names are manually imported, and each group of disease names is divided into N1 groups of severity scores. K1 groups of clear modifying words and phrases are manually collected and expanded through a synonym corpus to form seed words and phrases. All seed words and phrases form the initial lexicon, and the word and phrase similarity judgment model is used to calculate the semantic similarity between the modifying words and phrases of the input disease name and the corresponding seed words and phrases.

[0093] The synonym corpus is a database containing words and their synonyms, which is obtained by extracting synonym pairs from existing synonym dictionaries (such as the Modern Chinese Synonym Dictionary) and establishing a synonym comparison table;

[0094] For example, the target word: frequency, the synonyms in the comparison table are {frequency, frequency};

[0095] Target words: morning, noon, evening, the synonyms in the comparison table are {morning, noon, evening, morning, noon, evening};

[0096] Target word: interval, the synonyms in the comparison table are {time interval, interval};

[0097] Target word: extremely short, the synonyms in the comparison table are {very short, extremely short};

[0098] Target word: sometimes, the synonyms in the comparison table are {from time to time, occasionally};

[0099] Target word: pain, the synonyms in the comparison table are {pain, ache};

[0100] Target word: severe, its synonyms in the comparison table are {serious, severe}.

[0101] The identified disease name and related modifiers are introduced into the word and sentence similarity judgment model to calculate the semantic similarity between the modifier words and sentences of the input disease name and the corresponding seed words and sentences; the words and sentences with the highest semantic similarity are judged as synonyms with the seed words and sentences, that is, they are classified into the degree score value corresponding to the seed words and sentences, and the degree score value corresponding to the input disease name is obtained. The degree score value can be used to indicate the severity and characteristics of the patient's corresponding disease name. The degree score value can be set by the staff based on experience or experimental analysis results.

[0102] The objective function of the sentence similarity judgment model is defined as:

[0103]

[0104] Enter the modifier sentence S 1 The vector is represented as v(S 1 ), the vector of the i-th seed word Si is represented as v(Si); the word vector is obtained by Word2Vec, i represents the index of the seed word in the disease name corresponding to the modifying word, S represents the set of seed words in the disease name corresponding to the modifying word, Sj represents the word in the seed word set with the highest similarity to the modifying word, j represents the index of the seed word with the highest similarity to the modifying word, cp(j) represents the degree score value in the group corresponding to the seed word Sj with the highest similarity, ||v(S 1 )||, ||v(Si)|| respectively represent vectors v(Si), v(S 1 )

[0105] Among them, v(S) represents the overall vector of the sentence, Cq represents the word vector of the qth word in the sentence, m represents the number of words in the sentence, and q represents the index of the word in the sentence.

[0106] For example, suppose the conversion dictionary has the following disease names and their modifiers:

[0107] Disease name: cold;

[0108] Degree rating values: 0.6, 0.8, 1;

[0109] Explicit modifiers:

[0110] 0.6 (mild): slight cough and runny nose;

[0111] 0.8 (moderate): frequent coughing and nasal congestion;

[0112] 1 (severe): severe cough and high fever;

[0113] The seed phrase expanded by the synonym corpus is:

[0114] Mild: slight cough, slightly runny nose, mild cough, mild runny nose;

[0115] Moderate: frequent cough, nasal congestion, persistent cough, nasal congestion;

[0116] Severe: severe cough, high fever, severe cough, high fever;

[0117] Set the input modifier sentence: mild cough and runny nose, and use the similarity judgment model to obtain the degree score value in the corresponding group. The specific steps are: Assume that the word vector is calculated using the Word2Vec model as the word vector of each word in the sentence is,

[0118] Cslight = [0.1, 0.2, 0.3, ...],

[0119] Ccough = [0.15, 0.25, 0.35, ...],

[0120] Csum = [0.05, 0.1, 0.15, ...],

[0121] Crunnynose = [0.12, 0.22, 0.32, ...],

[0122] Calculate the overall vector of the input modified word sentence,

[0123]

[0124] Assume that the calculation result is v(S 1 )=[0.105,,0.1925,0.2775,...], the objective function of the sentence similarity judgment model is used to calculate the correlation between the input modified sentence and each seed sentence, according to the formula Calculate the correlation. Assuming that the correlation calculation results with mild cough, slightly runny nose, mild cough, mild runny nose; frequent cough, nasal congestion, continuous cough, stuffy nose; severe cough, high fever, severe cough, high fever are 0.95, 0.75, and 0.6 respectively, it can be seen that the input modifying words and sentences have the highest correlation with 0.6 (mild, mild cough, slightly runny nose), and the output degree score value cp(j) is 0.6.

[0125] Repeat the above steps to obtain the severity score value corresponding to each disease name in the symptom data, and replace the modifying words and sentences corresponding to the disease name with the severity score value.

[0126] Constructing the feature matrix X includes: performing unique hot encoding on each feature data in the comprehensive data, for example, weight is encoded as 01000, headache is encoded as 00100, and the specification of the feature matrix X is set to n×p, where n is the sample size, p is the number of feature data, and the sample size is the number of historical treatments of the patient. For example, the feature data includes the patient's weight, heart rate, headache, etc., then p=3.

[0127] Construct the target variable Y, set the specification of the target variable Y to be an n×1 vector, and the target variable includes the rehabilitation treatment effect score of the patient after each treatment.

[0128] Normalize numerical data so that they can be compared on the same scale.

[0129] Personalized extraction module: used to construct feature matrix X and target variable Y, set and train feature extraction model, and import feature matrix X and target variable Y into the feature extraction model to obtain feature data related to rehabilitation effect scoring.

[0130] The feature extraction model is improved and constructed based on the regression function, the regression coefficient β and the regularization parameter α are set, and the objective function of the feature extraction model is defined as:

[0131]

[0132] β represents the regression coefficient vector, which represents the weight of each feature data, a represents the index of the sample feature, α represents the regularization parameter, which controls the weight of the regularization term, yb represents the target value of the bth sample, Xa represents the feature vector of the ath sample, and Xa represents the T β represents the predicted value of the ath sample,

[0133] The setting of regression coefficient β includes:

[0134] The objective function of the feature extraction model is a convex optimization problem. The present invention uses the coordinate descent optimization algorithm to solve it. The solution function is minimized by updating the regression coefficient βa one by one. That is, the solution function is expressed as:

[0135]

[0136] The update formula for each regression coefficient βa is:

[0137]

[0138] Among them, xba represents the element in the b-th row and a-th column of the feature matrix X, that is, it represents the a-th eigenvalue of the b-th sample. The Soft Thresholding function is defined as:

[0139]

[0140] Wherein, in the present invention, z is represented by

[0141] The regression coefficient is repeatedly updated by updating the formula until the solution function converges, that is, the change of the regression coefficient β is less than 0.1, and the optimal regression coefficient vector is obtained. The change refers to the difference between the data represented by the current iteration number and the data represented by the previous iteration number.

[0142] Regularization parameter settings include:

[0143] Choosing a suitable regularization parameter α is a key step in feature selection and model training. A suitable α value can balance the complexity and prediction performance of the model. The following are the detailed steps and methods for choosing a suitable α:

[0144] First, managers define a series of candidate values ​​or value ranges of the regularization parameter α based on experience or experimental analysis.

[0145] For example, define a series of candidate α values: α∈{0.01,0.1,1,10,100}, or define a value range α∈[0.01,100] and generate candidate values ​​within this range. For example, use logarithmic intervals to generate candidate values ​​α∈{0.01,0.05,0.1,0.5,1,5,10,50,100}.

[0146] For each candidate α value, K-fold cross validation is used to calculate the validation error. The present invention sets K=5, and performs K-fold cross validation to divide the data set into K subsets. K-1 subsets are used for training each time, and the remaining subset is used for validation. Repeat K times and calculate the average validation error.

[0147]

[0148] Where D represents the data set, D k is the kth subset, is the predicted value of the hth validation, R h is the true value, and the α value with the smallest verification error is selected:

[0149]

[0150] Suppose we have a patient data set containing the following feature data and target variables. The target variable refers to the rehabilitation treatment effect score, for example:

[0151]

[0152] Use 5-fold cross validation (K=5) to divide the data set into 5 subsets. For each candidate α value, calculate the validation error. For each α value, perform 5 training and validations and calculate the average validation error. Suppose we get the following data:

[0153] Alpha values: 0.01, 0.05, 0.1, 0.5, 1, 5, 10, 50, 100

[0154] Average validation error: 0.25, 0.22, 0.2, 0.18, 0.15, 0.17, 0.18, 0.25, 0.3

[0156] Select the α value with the smallest average validation error, then α = 1,

[0157] Assuming that the data has been preprocessed, construct the matrix X and the target variable y.

[0158] and

[0159] Initialize the regression coefficient β to a zero vector, Iteratively update the regression coefficients, update the regression coefficients βa one by one, and calculate the updated value of each regression coefficient according to the update formula until the solution function converges. Assume that after iterative update, the optimal regression coefficient vector is: Select the feature data corresponding to the non-zero coefficients and obtain the associated data set. By extracting the feature data, the main symptoms of the patient in each rehabilitation cycle can be highlighted, making the production of subsequent treatment plans more targeted, reducing the interference of derivative disease symptoms and unnecessary symptom information, and improving the optimization efficiency of the model.

[0160] Feature extraction models can be used to perform feature engineering on comprehensive data to select important features, that is, feature data with the highest correlation with rehabilitation treatment. Through feature selection, the predictive ability and interpretability of the efficacy evaluation model can be improved.

[0161] Construct a real-time data set: The associated data set output by the feature extraction model and the treatment plan form a real-time data set, and the real-time data set is imported into the trained efficacy evaluation model to obtain the rehabilitation treatment effect score. Based on the predicted rehabilitation treatment effect score, it is determined whether the rehabilitation expectation is met. If not, the doctor adjusts the treatment plan, recomposes the real-time data set and inputs it into the efficacy evaluation model until the rehabilitation treatment effect score reaches the expected standard, and then inputs the treatment plan at that time.

[0162] The efficacy evaluation model is based on a standard convolutional neural network structure, including n1 convolutional layers, a global average pooling layer, a fully connected layer, and an output layer.

[0163] Construct a training data set, which includes the real-time data set of group W1 and its corresponding rehabilitation treatment effect score; use the optimization algorithm to back propagate, update the parameters of the efficacy evaluation model, minimize the loss function, and use the mean square error (MSE) as the loss function until the loss function value is minimized, and then obtain the constructed efficacy evaluation model;

[0164] Input the current patient's real-time data set into the efficacy evaluation model to obtain the best treatment plan in the current rehabilitation cycle, and complete the patient's rehabilitation treatment evaluation and treatment plan optimization.

[0165] In this embodiment, by preliminarily processing the diagnostic information, the disease name and related modifying words and phrases in the diagnostic information are identified, and the patient's diagnostic information is annotated and extracted, providing a good recognition basis for deep analysis of the data. The degree score values ​​of each disease in the diagnostic information are converted through a word and sentence similarity judgment model, and the complex text description corresponding to the patient's disease is converted into an accurate numerical expression. While simplifying the data information conversion, the numerical and accurate expression of the data is achieved, reducing the running computing power of data analysis, and at the same time achieving high-quality data input, improving the effect of subsequent data processing and model training as well as the retrieval and response speed, providing an accurate data basis for subsequent model optimization; accelerating the efficiency of feature extraction, injecting new momentum into the agility and flexibility of data processing, obtaining the feature data with the highest relevance to the patient's rehabilitation treatment through the feature extraction model, obtaining the associated data set, designing the optimal treatment plan based on the characteristic diseases in the associated data set, and outputting the best treatment plan that achieves the expected effect for the patient in each rehabilitation cycle; the adaptive regulation and optimization mechanism continuously improves the feature extraction efficiency and the optimization efficiency of the treatment plan in each rehabilitation cycle, and multiple modules work together to achieve comprehensive data collection, processing and analysis, and provide real-time and accurate data support.

[0166] Embodiment 2

[0167] Reference Figure 1 and Figure 2 , Example 2 further illustrates a TCM rehabilitation treatment effect evaluation system based on machine learning proposed by the present invention.

[0168] The method for evaluating the effect of TCM rehabilitation therapy based on machine learning is applied to a system for evaluating the effect of TCM rehabilitation therapy based on machine learning, and comprises the following steps:

[0169] Step S1: Collect comprehensive data of the patient's current and historical rehabilitation cycle, treatment plan and rehabilitation data;

[0170] Step S2: Preliminary processing of the diagnostic information in the comprehensive data to identify the disease name and related modifying words and phrases in the diagnostic information;

[0171] Step S3: construct a word and sentence similarity judgment model, import the disease name and related modifying words and sentences in the diagnosis information into the word and sentence similarity judgment model, and obtain the degree score value corresponding to the input disease name;

[0172] Step S4: setting a feature extraction model, constructing a feature matrix X and a target variable Y, importing the feature matrix X and the target variable Y into the feature extraction model to obtain feature data related to the rehabilitation effect score, and obtaining a related data set;

[0173] Step S5: Construct and train an efficacy evaluation model, input the real-time data set of the patient's current rehabilitation cycle into the efficacy evaluation model, obtain the rehabilitation treatment effect score, and judge whether the rehabilitation expectation is met based on the predicted rehabilitation treatment effect score. If not, the doctor adjusts the treatment plan, recomposes the real-time data set and inputs it into the efficacy evaluation model until the rehabilitation treatment effect score reaches the expected standard, and outputs the treatment plan at this time, which is recorded as the best treatment plan.

[0174] The TCM rehabilitation treatment effect evaluation system based on machine learning includes:

[0175] Data collection module: used to collect comprehensive patient data, treatment plans and rehabilitation data;

[0176] Feature processing module: used to process the correlation of diagnostic information and obtain the degree score corresponding to each disease name;

[0177] Personalized extraction module: used to construct feature matrix X and target variable Y, set and train feature extraction model, import feature matrix X and target variable Y into feature extraction model to obtain feature data related to rehabilitation effect score, and obtain associated data set;

[0178] Treatment effect optimization module: used to construct a real-time data set, input the real-time data set of the patient's current rehabilitation cycle into the efficacy evaluation model, iterate and optimize, and obtain the best treatment plan in the current rehabilitation cycle;

[0179] The modules are connected to each other via wired and / or wireless means.

[0180] In addition, according to the implementation of the present application, the process described in the attached figure of a TCM rehabilitation therapy effect evaluation system based on machine learning can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided in the present application. Of course, the architecture shown in the attached figure of a TCM rehabilitation therapy effect evaluation system based on machine learning is only exemplary. When implementing different devices, adaptive selection or adjustment can be performed according to actual needs.

[0181] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.

[0182] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technical users in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A TCM rehabilitation treatment effect evaluation system based on machine learning, characterized in that: The TCM rehabilitation treatment effect evaluation system based on machine learning includes: Data collection module: used to collect comprehensive patient data, treatment plans and rehabilitation data; Feature processing module: used to process the correlation of diagnostic information and obtain the degree score corresponding to each disease name; Personalized extraction module: used to construct feature matrix X and target variable Y, set and train feature extraction model, import feature matrix X and target variable Y into feature extraction model to obtain feature data related to rehabilitation effect score, and obtain associated data set; Treatment effect optimization module: used to construct a real-time data set, input the real-time data set of the patient's current rehabilitation cycle into the efficacy evaluation model, iterate and optimize, and obtain the best treatment plan in the current rehabilitation cycle; The modules are connected to each other via wired and / or wireless means.

2. According to the machine learning-based TCM rehabilitation treatment effect evaluation system of claim 1, it is characterized in that: The comprehensive data includes basic information and diagnostic information, and each data category is set as a characteristic data; Basic information includes age, gender, height, and weight. Diagnostic information includes medical record data and symptom information. Medical record data includes the patient's past medical history or family medical history. Symptom information is the patient's specific description of the disease. When the patient orally describes the symptom information, the voice is recorded through a recording device, and the patient's oral voice is converted into text using automatic speech recognition technology to form symptom information. The treatment plan includes the Chinese medicine prescription prescribed by the doctor, the treatment method, and the corresponding implementation frequency and duration; Rehabilitation data are used to show the improvement data of each characteristic symptom.

3. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 2, characterized in that: The correlation processing includes: Perform preliminary processing on the diagnosis information, identify the disease name and related modifying words and sentences in the diagnosis information, and import them into the word and sentence similarity judgment model to obtain the degree score value corresponding to the input disease name; The initial processing methods include word segmentation, part-of-speech tagging, disease name recognition, dependency syntax analysis, disease name extraction, and modifier extraction, specifically: Identify word boundaries in text in diagnostic information and segment the text into individual words or subwords; Use conditional random fields to perform part-of-speech tagging on the text and identify the part of speech of each word; Identify disease names in text and tag them; Through dependency syntactic analysis, the dependency relationship between words is identified, and modifiers and related descriptions are extracted; Combine the results of part-of-speech tagging and disease name recognition to extract keywords; Using the results of dependency syntax analysis, we extract modifiers and descriptive information related to the disease name.

4. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 3, characterized in that: The word and sentence similarity judgment model includes: Construct a conversion dictionary, initialize a blank dictionary, manually import M1 group disease names, and divide each group of disease names into N1 group degree scores. Manually collect K1 group of explicit modifying words and sentences for each group of degree scores, and use them as seed words and sentences after expansion through the synonym corpus. All seed words and sentences form the initial vocabulary; The identified disease names and related modifiers are introduced into the word-sentence similarity judgment model, and the semantic similarity between the modifier words and sentences of the input disease name and the corresponding seed words and sentences is calculated; the words and sentences with the highest semantic similarity are judged as synonyms of the seed words and sentences, that is, they are classified into the degree score values ​​corresponding to the seed words and sentences, and the degree score values ​​corresponding to the input disease name are obtained.

5. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 4, characterized in that: The objective function of the sentence similarity judgment model is defined as: Enter the modifier sentence S 1 The vector is represented as v(S 1 ), the vector of the i-th seed word Si is represented as v(Si); the vector of the modifier word is obtained by Word2Vec, i represents the index of the seed word in the disease name corresponding to the modifier word, S represents the set of seed words in the disease name corresponding to the modifier word, Sj represents the word in the seed word set with the highest similarity to the modifier word, j represents the index of the seed word with the highest similarity to the modifier word, cp(j) represents the degree score value in the group corresponding to the seed word Sj with the highest similarity, v(S1) and v(Si) represent the vectors v(Si) and v(Sj) respectively. 1 ) Among them, v(S) represents the overall vector of the sentence, Cq represents the word vector of the qth word in the sentence, m represents the number of words in the sentence, and q represents the index of the word in the sentence.

6. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 5, characterized in that: The constructing of the feature matrix X includes: performing unique hot encoding on each feature data in the comprehensive data, setting the specification of the feature matrix X to n×p, where n is the sample size, p is the number of feature data, and the sample size is the number of historical treatments of the patient; Construct the target variable Y, set the specification of the target variable Y to be an n×1 vector, and the target variable includes the rehabilitation treatment effect score of the patient after each treatment.

7. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 6, characterized in that: The feature extraction model is improved and constructed based on the regression function, and the regression coefficient β and the regularization parameter α are set. The objective function of the feature extraction model is defined as: β represents the regression coefficient vector, which represents the weight of each feature data. represents the optimal regression coefficient vector, a represents the index of the sample feature, α represents the regularization parameter, which controls the weight of the regularization term, yb represents the target value of the bth sample, Xa represents the feature vector of the ath sample, represents the optimal regression coefficient of the a-th sample, βa represents the regression coefficient of the a-th sample, Xa T β represents the predicted value of the ath sample, Extract feature data from the feature vector corresponding to the non-zero regression coefficient output by the feature extraction model, and obtain the associated data set.

8. The TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 7 is characterized in that: The setting of the regression coefficient vector β includes: Using the coordinate descent optimization algorithm, the regression coefficients βa are updated one by one to minimize the solution function. The solution function is expressed as: The update formula for each regression coefficient βa is: Among them, xba represents the element in the b-th row and a-th column of the feature matrix X, that is, it represents the a-th eigenvalue of the b-th sample; The regression coefficient is repeatedly updated by updating the formula until the solution function converges, that is, the change of the regression coefficient β is less than 0.1, and the optimal regression coefficient vector is obtained. The change refers to the difference between the data represented by the current iteration number and the data represented by the previous iteration number.

9. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 8, characterized in that: The setting of the regularization parameter α includes: Define the value or value range of the candidate regularization parameter α; For each candidate α value, K-fold cross validation is used to calculate the validation error. K-fold cross validation is performed to divide the data set into K subsets. K-1 subsets are used for training each time, and the remaining subset is used for validation. This is repeated K times, and the average validation error is calculated. Where D represents the data set, D k is the kth subset, is the predicted value of the hth validation, R h is the true value, according to Choose the value of α that minimizes the validation error.

10. A TCM rehabilitation treatment effect evaluation system based on machine learning according to claim 9, characterized in that: The best treatment options for the current recovery cycle include: Set up and train the efficacy evaluation model: Based on the standard convolutional neural network structure, set the convolution layer, global average pooling layer, fully connected layer and output layer; Construct a training data set, which includes the real-time data set of group W1 and its corresponding rehabilitation treatment effect score; use the optimization algorithm to back propagate, update the parameters of the efficacy evaluation model, minimize the loss function, and use the mean square error (MSE) as the loss function until the loss function value is minimized, and then obtain the constructed efficacy evaluation model; Construct a real-time data set: The associated data set output by the feature extraction model and the treatment plan form a real-time data set, and the real-time data set is imported into the trained efficacy evaluation model to obtain the rehabilitation treatment effect score. Based on the predicted rehabilitation treatment effect score, it is determined whether the rehabilitation expectation is met. If not, the doctor adjusts the treatment plan, recomposes the real-time data set and inputs it into the efficacy evaluation model until the rehabilitation treatment effect score reaches the expected standard, and stops, and outputs the treatment plan at this time, which is recorded as the best treatment plan.