Nutritional health status assessment and risk prediction system for the elderly based on machine learning

Through a machine learning-based nutritional health status assessment system for the elderly, combined with multi-dimensional features and machine learning algorithms, the shortcomings of the nutritional health assessment methods for the elderly in the existing technology are solved, and a rapid and accurate assessment of the nutritional health status of the elderly is achieved. and survival risk prediction, providing personalized recommendations and improving the efficiency of healthcare management.

CN114974570BActive Publication Date: 2024-09-03ZHEJIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210619646.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2024-09-03
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

The existing nutritional health status assessment methods are mainly suitable for the adult population and are not optimized for the elderly population. The information is relatively limited and does not include information on nutritional habits and body functional status. The calculation method is cumbersome and the output results fail to provide specific nutritional status recommendations and recommendations. Survival risk prediction.

Method used

A system based on machine learning is used to build a nutritional health status assessment model through large-scale elderly health data and machine learning algorithms. It combines multi-dimensional features such as basic information, body functional status, dietary information and biomarkers, and uses the CatBoost algorithm and crossover Verification and other technologies are used to build a nutrition and health status assessment model with excellent performance, and provide personalized analysis and suggestions through the SHAP algorithm.

Benefits of technology

It achieves a comprehensive and accurate assessment of the nutritional health status of the elderly, quickly obtains assessment results, reduces the need for professional assessment, provides accurate predictions and personalized suggestions for subsequent survival risks, and improves the efficiency of medical care management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114974570B
    Figure CN114974570B
Patent Text Reader

Abstract

The present invention discloses a system for evaluating the nutritional health status and predicting risks of the elderly based on machine learning. The system includes a data acquisition and feature screening module, a nutritional health status evaluation model construction module, a risk prediction module, and a nutritional health status analysis and suggestion module; the present invention combines big data with machine learning algorithms, incorporates and analyzes multi-dimensional features related to nutritional health status such as dietary information, body function status, and biomarkers, and constructs a nutritional health status evaluation model based on CatBoost, divides the population into high, medium, low, and healthy populations to provide risk prediction information, and then provides personalized suggestions through machine learning interpretable technology; the present invention can help the elderly to grasp their own nutritional health status in real time and quickly, and promote medical and health care personnel to intervene in the nutritional health status of the elderly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of medical health information technology, and specifically relates to a nutritional health status assessment and risk prediction system for the elderly based on machine learning. Background Art

[0002] Population aging has become a global social problem. The results of China's seventh national census in 2021 show that the proportion of people aged 60 and above in China exceeds 18%, and it is expected that this proportion will climb to 31% in 2050, and the proportion of people aged 65 and above will expand to a quarter of the total population. With the aging of the population, the burden on families and society is increasing, the pressure on social security expenditure continues to increase, and the contradiction between supply and demand of elderly care and health services is becoming more prominent. Therefore, improving the level of health services and management for the elderly has become an important issue in the current medical and health field.

[0003] Paying attention to the medical health of the elderly requires not only the exploration of cutting-edge disease treatment methods, but more importantly, the monitoring and care of daily nutritional health status. Nutritional health status, including individual eating habits, nutritional levels, and various physiological indicators, is a potential representation of body function and can reflect the individual's current survival status. For the elderly, nutritional health status often also reflects their overall survival risk. Therefore, accurately assessing the nutritional health status of the elderly, and then conducting risk assessment and nutritional management, will play a significant role in improving the level of health services for the elderly.

[0004] In order to deeply explore the risk factors related to the nutritional health status of the elderly, a series of large-scale cohort data for the elderly population provides a rich and detailed data basis for the health research of the elderly, such as Peking University's "Chinese Longitudinal Healthy Longevity Survey" (CLHLS), which randomly selected about half of the counties and cities in 23 provinces / cities / autonomous regions in China from 1998 to 2018 for eight follow-up surveys, with a total of 113,000 home visits. The survey involved individual living conditions, eating habits, nutritional status, and various physiological indicators. At the same time, the increasingly developed machine learning algorithms can automatically mine relevant pattern information from big data in a data-driven way, so they have been widely used in the establishment of evaluation methods in various medical and health fields.

[0005] Existing methods for assessing nutritional health status in relevant studies include the SGA score proposed by Detsky et al. [1], the NRS score proposed by Kondrup et al. [2], the MUST score proposed by Weekes et al. [3], and the SNAQ score proposed by Kruizenga et al. [4]. These scores only include nutritional indicators such as weight loss, BMI, and food intake, and are mainly aimed at adults without being optimized for the elderly. The MST score [5] and MNA-SF score [6], which are suitable for the elderly, only include simple indicators such as weight loss and nutritional intake.

[0006] At the same time, there are also some limitations in the existing relevant technical solutions: for example, the "A Parenteral Nutrition Screening Calculation System" with the authorization publication number CN102902881B only adopts different nutritional scoring methods (NRS, MUST, MNA, SGA) for different populations, but does not propose a new scoring method; for example, the "Health Assessment Method, System and Computer-readable Storage Medium" with the authorization publication number CN108877936B uses cardiovascular and cerebrovascular system functions as core indicators for modeling, but its solution is mainly aimed at the development model of chronic metabolic diseases; for example, the "Dietary Responsiveness Prediction Model and Modeling Method, Electronic Device" with the authorization publication number CN111445980A is mainly aimed at the evaluation of dietary plans, lacking the evaluation of the current individual nutritional status and the prediction and analysis of subsequent risks.

[0007] In summary, the existing related research and technical solutions have the following problems:

[0008] 1. Most nutrition evaluation indicators are based on the data of the overall adult population, and have not been further adjusted and optimized for the elderly population, so their applicability in the elderly population is poor;

[0009] 2. The information included is relatively limited, mainly basic characteristics such as demographic information and weight changes. On the one hand, it does not include information on nutritional habits and body function status, and there are few objective physiological indicators or biomarkers; on the other hand, the indicators were mainly proposed between 1990 and 2005, which is lagging, and some new biomarker information is not included, making it difficult to evaluate the body's nutritional health status specifically, quantitatively and comprehensively;

[0010] 3. The implementation of the method is mainly based on questionnaires or scoring scales. The specific calculation methods and formulas are relatively complicated and the time required ranges from 3 to 15 minutes. At the same time, some scales also require evaluation by professional medical staff or nutrition and health care personnel;

[0011] 4. The output of the method is mainly an overall evaluation of nutritional status. It does not provide any advice on the current nutritional status, nor does it assess or predict subsequent survival risks.

[0012] References:

[0013] [1]. Detsky, A.S., et al., What Is Subjective Global Assessment of Nutritional - Status. Journal of Parenteral and Enteral Nutrition, 1987.11(1): p.8 - 13.

[0014] [2]. Kondrup, J., Nutritional risk screening (NRS 2002): a new method based on an analysis of controlled clinical trials. Clinical Nutrition, 2003.22(3): p.321 - 336.

[0015] [3]. Weekes, C.E., M. Elia, and P.W. Emery, The development, validation and reliability of a nutrition screening tool based on the recommendations of the British Association for Parenteral and Enteral Nutrition (BAPEN). Clin Nutr, 2004.23(5): p.1104 - 12.

[0016] [4]. Kruizenga, H.M., et al., Development and validation of a hospital screening tool for malnutrition: the short nutritional assessment questionnaire (SNAQ). Clin Nutr, 2005.24(1): p.75 - 82.

[0017] [5].Ferguson, M., et al., Development of a valid and reliable malnutrition screening tool for adult acute hospital patients. Nutrition, 1999.15(6): p.458-464.

[0018] [6].Rubenstein, LZ, et al., Screening for undernutrition in geriatric practice: Developing the Short-Form Mini-Nutritional Assessment (MNA-SF). Journals of Gerontology Series a-Biological Sciences and Medical Sciences, 2001.56(6): p.M366-M372. Summary of the invention

[0019] In view of the above, the purpose of the present invention is to propose a nutritional health status assessment and risk prediction system based on machine learning for the elderly population, combining detailed and reliable cohort big data with machine learning algorithms, and incorporating multi-dimensional features related to the analysis of nutritional health status. In actual application, no additional guidance and complex formula calculations are required. Only the current status information needs to be input to quickly obtain the analysis results, thereby helping the elderly to grasp their own nutritional health status in real time and promoting medical and health care personnel to manage and intervene in the nutritional health status of the elderly.

[0020] The object of the present invention is to achieve the following technical solution: a system for evaluating the nutritional health status and predicting the risks of the elderly based on machine learning, comprising:

[0021] (1) Data acquisition and feature screening module:

[0022] Obtain large-scale cohort data related to health factors of the elderly, and preliminarily determine all the feature information that can be included; extract various commonly used clinical indicators and nutrition and health expert knowledge, screen available effective features, construct a structured feature set and perform preprocessing;

[0023] (2) Nutritional health status assessment model construction module:

[0024] The features obtained by the data acquisition and feature screening module were used as input, and the death time of the sample was used as the true label to construct a data set; a nutritional health status assessment model was built through CatBoost, and the generalization of the model was verified by cross-validation, and the model parameters were tuned through grid search to improve its comprehensive performance; all effective features were further screened through the sequence floating backward selection algorithm to reduce the number of features to improve practicality;

[0025] (3) Risk prediction module:

[0026] Based on the nutritional health status assessment model, corresponding thresholds are set to divide the population into healthy, low-risk, medium-risk, and high-risk groups, and then survival curves are drawn based on the population divisions and real survival information. In actual application, no additional guidance or formula calculations are required. Only the various indicators of the current individual need to be input, and the corresponding scores can be obtained through the calculation of the nutritional health status assessment model, and the corresponding groups can be divided, and the subsequent risks can be understood by comparing the corresponding survival curves.

[0027] (4) Nutritional health status analysis and advice module

[0028] Based on the nutritional health status assessment model, when an individual conducts a nutritional health status assessment, the SHAP algorithm is used to conduct a detailed analysis of specific feature indicators to understand the importance of each feature and its impact on the results, and then provide more specific and accurate suggestions.

[0029] Furthermore, in the data acquisition and feature screening module, the effective features used include:

[0030] 1. Basic information: age, gender, death information;

[0031] 2. Anthropometric information: height, weight, calf circumference, distance from right knee to ground, waist circumference;

[0032] 3. Information on body function status: whether assistance with bathing is needed, whether assistance with dressing is needed, whether assistance with excretion is needed, whether assistance with indoor movement is needed, whether assistance with eating is needed, whether incontinence is present, whether the patient can visit neighbors independently, whether the patient can shop independently, whether the patient can cook independently, whether the patient can wash clothes independently, whether the patient can walk continuously for 1 km, whether the patient can lift 5 kg, whether the patient can squat and stand up three times in a row, whether the patient can take public transportation, whether the patient can stand up from a seat, whether the patient can pick up a book from the ground, whether the patient can put his hands behind his neck, whether the patient can put his hands on his lower back, and whether the patient can raise his arms upward;

[0033] 4. Dietary information: frequency of consumption of fresh fruits, fresh vegetables, meat, fish and other aquatic products, eggs, soy products, pickled vegetables or kimchi, sugar or candy, tea, garlic, dairy products, nuts, fungi and algae;

[0034] 5. Quality of life information: self-assessment of personal quality of life and personal health status;

[0035] 6. Biomarkers - plasma biochemical examination: albumin, blood urea nitrogen, cholesterol, creatinine, high-sensitivity C-reactive protein, blood glucose, glycosylated serum protein, high-density lipoprotein cholesterol, low-density lipoprotein cholesterol, triglycerides, uric acid, superoxide dismutase (SOD) activity, vitamin D3, malondialdehyde, vitamin B12;

[0036] 7. Biomarkers - urine indicators: urine microalbumin, urine creatinine, urine albumin / urine creatinine;

[0037] 8. Biomarkers - routine blood examination: white blood cell count, lymphocyte count, lymphocyte percentage, red blood cell count, hemoglobin concentration, hematocrit, mean corpuscular volume, mean corpuscular hemoglobin content, mean corpuscular hemoglobin concentration, platelet count, mean platelet volume, platelet volume distribution width, and platelet volume.

[0038] Furthermore, in the data acquisition and feature screening module, the missing values ​​need to be marked in combination with the data document during preprocessing, so as to eliminate some samples with a missing index ratio greater than p. At the same time, data distribution analysis is performed to eliminate outliers and ensure the reasonable distribution of data. Then, for samples with some missing values, null values ​​are filled through K nearest neighbors, where p is 50%, the parameter K of K nearest neighbors is 5, and the weight function of K nearest neighbors is Euclidean distance.

[0039] Furthermore, in the nutritional health status assessment model construction module, the feature set is matrixed into the original data set (X, Y), X = [x1, x2, x3, ..., x n ], where n is the sample size, x i =[x i1 , x i2 , x i3 , …, x im ] is the eigenvalue of a single sample, where m is the number of features, x im Represents x i The corresponding eigenvalue has a range depending on the data type; Y = [y1, y2, y3, ..., y n ] is the true label of the sample, with a value of 0 or 1, indicating the survival or death information of the sample.

[0040] Furthermore, in the nutritional health status assessment model construction module, due to the large number of feature set variables and complex relationships, as well as a large number of classifications, the CatBoost tree boosting model that can perform unbiased processing on categorical variables is used for modeling; when processing categorical features, the Greedy TS (Target-based Statistics) strategy is used to process them, that is, by adding prior distribution terms for smoothing, the influence of low-frequency categorical data and noise data on the distribution of the data set is eliminated, specifically: the sample set X is randomly sorted, and the sequence is recorded as σ = (σ1, σ2, ..., σ n ), assuming that the sample x i The k-th dimension feature x ik is a category feature, then for x ik Adjusted eigenvalues for:

[0041]

[0042] Where D = {(x i ,y i )} i=1,...,n is the training sample set. For the training sample, D i ={x j : σ(j)<σ(i)} means that the i The previous part of the sample set, and for the test sample, D i =D is the entire training sample set; [·] is the indicator function, when x jk =x ik Its value is 1 when x jk ≠x ik When , its value is 0; P is the prior value, and α (α>0) is the weight of the prior value P.

[0043] Furthermore, in the nutritional health status assessment model construction module, in order to avoid the prediction shift generated during the training of the gradient boosting tree model, the sorting boosting method is adopted to reduce the gradient deviation, that is, the maximum number of iterations of the model is set to T. In each round of iteration t, all samples are randomly sorted to obtain the sequence σ = (σ1, σ2, ..., σ n ), for each sample, initialize the model M corresponding to the sample i =0, i=1, ..., n, calculate the sample x i The unbiased residual r i :

[0044] r i =y i -Mσ (i)-1 (x i )

[0045] Among them, σ(i) represents the ranking of sample i in this round, M σ(i)-1 is the model trained by the previous sample, M σ(i)-1 (x i ) is x under this model i The output of x is obtained i The unbiased residual r i To continue training the updated decision tree ΔM, update it to model M i =M i +ΔM, so n models need to be trained in each round; after T rounds of iterations, the model M of T rounds n This is the final model.

[0046] Furthermore, in the nutritional health status assessment model construction module, in order to make full use of the data and verify the robustness of the model, the cross-validation method is adopted to divide the training set and the test set for model training and verification, where the cross-validation fold is 5; at the same time, the parameter space of the model is grid searched to find the optimal parameters to improve the model performance. The search parameter range includes: the number of trees, learning rate, tree depth, Bootstrap type, Bagging temperature, tree growth strategy, L2 regularization parameter; parameter search is performed with F1 as the optimization target:

[0047] F1=(2×precision×recall) / (precision+recall)

[0048] Among them, precision is the prediction accuracy, and recall is the prediction recall rate; finally, through parameter search and cross-validation on the training set, the nutritional health status assessment model with the best performance was constructed and tested on the test set. The evaluation indicators were the subject curve and the precision-recall curve.

[0049] Furthermore, in the nutritional health status assessment model construction module, due to the large number of all valid features, the sequence floating backward selection algorithm is used to further screen all valid features; the set of all valid features is D = [d1, d2, d3, ..., d m ], where m is the total number of features, initialize the important feature set I = D, the number of important features s = m; randomly select d from D i , if J(f,(Id i ))≥J(f,I), then the feature d i Delete from I, if J(f, (Id i ))<J(f,I), then retain feature d i, where f is the constructed evaluation model, J is the model performance evaluation function, and F1 score is used as its evaluation index; features are gradually selected from D until J(f, I) reaches the maximum value; for the important feature set I = [d1, d2, d3, ..., d s ], where s is the number of important features after screening, and the nutritional health status assessment model based on CatBoost is rebuilt through this feature set.

[0050] Furthermore, in the module for building the nutritional health status assessment model, the screened important feature set includes 15 items: age, gender, calf circumference, length from the right knee to the ground, albumin, glycosylated serum protein, low-density lipoprotein cholesterol, superoxide dismutase (SOD) activity, urine albumin / urine creatinine, lymphocyte percentage, ability to take public transportation, ability to pick up a book from the ground, frequency of eating fresh vegetables, frequency of eating meat, and frequency of eating fish and other aquatic products.

[0051] Furthermore, in the risk prediction module, thresholds t1, t2, and t3 are set, and the score of the nutritional health status assessment model is t, then t≥t1 is a high-risk population, t2≤t<t1 is a medium-risk population, t3≤t<t2 is a low-risk population, and t<t3 is a healthy population; after the overall population is divided into different risk groups, the Kaplan-Meier method is used to draw survival curves for different risk groups as the prognostic risk information of different risk groups; among them, t1 is 0.75, t2 is 0.5, and t3 is 0.25.

[0052] Furthermore, in the nutrition and health status analysis and recommendation module, the nutrition and health status assessment model constructed above is combined with the SHAP algorithm (SHapley Additive exPlanations) to construct a personalized analysis model for nutrition status. SHAP interprets the predicted value of the personalized analysis model for nutrition status as the sum of the attribution values ​​of each input feature. Since the CatBoost tree model is established, that is:

[0053]

[0054] Among them, g is the personalized analysis model of nutritional status, x i For the sample data analyzed, is the predicted mean of all training samples, s is the number of features in the important feature set I, is the attributed value (Shapley value) of feature j, namely:

[0055]

[0056] Among them, {x i1 , ..., x is}\{xij} does not contain x ij The possible set of all features of , |T| is the number of features in feature subset T, is the prediction based on feature subset T, Based on feature subset T and feature x ij prediction.

[0057] Furthermore, in the nutrition and health status analysis and recommendation module, when an individual conducts a nutrition and health status assessment, the current risk factors and protective factors are determined by analyzing the current individual's assessment results and various characteristics, thereby providing nutrition and health recommendations.

[0058] The beneficial effects of the present invention are:

[0059] 1. Aiming at the elderly population, the present invention relies on clinical knowledge and expert experience in the field of big data and nutrition and health to preliminarily screen an effective feature set, covering basic information, anthropometric information, dietary information, quality of life information, biomarkers-plasma biochemical tests, biomarkers-urine indicators, and biomarkers-routine blood tests, so as to comprehensively and accurately represent the nutritional health status of individuals; and then further screens out more focused important features through machine learning algorithms, and through 15 features, a nutritional health status assessment model with excellent performance is constructed, proving the excellent representation ability of these indicators for nutritional health status;

[0060] 2. The present invention combines the selected relevant features with the machine learning algorithm to construct a nutritional health status assessment model. It not only adopts the CatBoost algorithm that can perform unbiased processing on the classified data for the data characteristics of the cohort data with more classified features, but also combines cross-validation and grid search for hyperparameter tuning to further improve the model performance. The constructed model has excellent performance and no longer requires professional evaluation and time-consuming formula calculation. The corresponding evaluation results can be quickly obtained by inputting data. It only takes 30 seconds to input 15 features, and only 1 second for system calculation and evaluation, which has better promotion and practicality.

[0061] 3. The present invention combines cohort data with the constructed model to segment the overall elderly population, and divides them into high-risk population, medium-risk population, low-risk population and healthy population according to the corresponding thresholds. Survival analysis is performed for each population, and accurate survival curves are obtained, which provides prognostic information for different populations and helps individuals to have an overall understanding of their own nutritional health status;

[0062] 4. The present invention relies on the constructed model and the SHAP algorithm, an interpretable machine learning technology, to analyze the characteristics related to the nutritional health status of individuals, to understand which indicators point to a poor prognosis, thereby enhancing the individual's understanding of their own nutritional health status and promoting medical care personnel to manage the nutritional health of the elderly. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 It is a system structure block diagram of the present invention.

[0064] Figure 2 It is a subject curve of the nutritional health status assessment model constructed in the embodiment of the present invention on the test set.

[0065] Figure 3 It is the precision-recall curve of the nutritional health status assessment model constructed in the embodiment of the present invention on the test set.

[0066] Figure 4 It is a survival curve corresponding to different nutritional health status in the risk prediction module constructed in the embodiment of the present invention.

[0067] Figure 5 It is an analysis chart of the influence of various factors in the nutrition and health status analysis and suggestion module constructed in the embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0069] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0070] This embodiment provides a system for evaluating the nutritional health status and predicting the risks of the elderly based on machine learning, including:

[0071] (1) Data acquisition and feature screening module:

[0072] Obtain large-scale cohort data related to health factors of the elderly, and preliminarily determine all the feature information that can be included; extract various commonly used clinical indicators and nutrition and health expert knowledge, screen available effective features, construct a structured feature set and perform preprocessing;

[0073] (2) Nutritional health status assessment model construction module:

[0074] The features obtained by the data acquisition and feature screening module were used as input, and the death time of the sample was used as the true label to construct a data set; a nutritional health status assessment model was built through CatBoost, and the generalization of the model was verified by cross-validation, and the model parameters were tuned through grid search to improve its comprehensive performance; all effective features were further screened through the sequence floating backward selection algorithm to reduce the number of features to improve practicality;

[0075] (3) Risk prediction module:

[0076] Based on the nutritional health status assessment model, corresponding thresholds are set to divide the population into healthy, low-risk, medium-risk, and high-risk groups, and then survival curves are drawn based on the population divisions and real survival information. In actual application, no additional guidance or formula calculations are required. Only the various indicators of the current individual need to be input, and the corresponding scores can be obtained through the calculation of the nutritional health status assessment model, and the corresponding groups can be divided, and the subsequent risks can be understood by comparing the corresponding survival curves.

[0077] (4) Nutritional health status analysis and advice module

[0078] Based on the nutritional health status assessment model, when an individual conducts a nutritional health status assessment, the SHAP algorithm is used to conduct a detailed analysis of specific feature indicators to understand the importance of each feature and its impact on the results, and then provide more specific and accurate suggestions.

[0079] Furthermore, in the data acquisition and feature screening module, the effective features used include:

[0080] 1. Basic information: age, gender, death information;

[0081] 2. Anthropometric information: height, weight, calf circumference, distance from right knee to ground, waist circumference;

[0082] 3. Information on body function status: whether assistance with bathing is needed, whether assistance with dressing is needed, whether assistance with excretion is needed, whether assistance with indoor movement is needed, whether assistance with eating is needed, whether incontinence is present, whether the patient can visit neighbors independently, whether the patient can shop independently, whether the patient can cook independently, whether the patient can wash clothes independently, whether the patient can walk continuously for 1 km, whether the patient can lift 5 kg, whether the patient can squat and stand up three times in a row, whether the patient can take public transportation, whether the patient can stand up from a seat, whether the patient can pick up a book from the ground, whether the patient can put his hands behind his neck, whether the patient can put his hands on his lower back, and whether the patient can raise his arms upward;

[0083] 4. Dietary information: frequency of consumption of fresh fruits, fresh vegetables, meat, fish and other aquatic products, eggs, soy products, pickled vegetables or kimchi, sugar or candy, tea, garlic, dairy products, nuts, fungi and algae;

[0084] 5. Quality of life information: self-assessment of personal quality of life and personal health status;

[0085] 6. Biomarkers - plasma biochemical examination: albumin, blood urea nitrogen, cholesterol, creatinine, high-sensitivity C-reactive protein, blood glucose, glycosylated serum protein, high-density lipoprotein cholesterol, low-density lipoprotein cholesterol, triglycerides, uric acid, superoxide dismutase (SOD) activity, vitamin D3, malondialdehyde, vitamin B12;

[0086] 7. Biomarkers - urine indicators: urine microalbumin, urine creatinine, urine albumin / urine creatinine;

[0087] 8. Biomarkers - routine blood examination: white blood cell count, lymphocyte count, lymphocyte percentage, red blood cell count, hemoglobin concentration, hematocrit, mean corpuscular volume, mean corpuscular hemoglobin content, mean corpuscular hemoglobin concentration, platelet count, mean platelet volume, platelet volume distribution width, and platelet volume.

[0088] Furthermore, in the data acquisition and feature screening module, the missing values ​​need to be marked in combination with the data document during preprocessing, so as to eliminate some samples with a missing index ratio greater than p. At the same time, data distribution analysis is performed to eliminate outliers and ensure the reasonable distribution of data. Then, for samples with some missing values, null values ​​are filled through K nearest neighbors, where p is 50%, the parameter K of K nearest neighbors is 5, and the weight function of K nearest neighbors is Euclidean distance.

[0089] Furthermore, in the nutritional health status assessment model construction module, the feature set is matrixed into the original data set (X, Y), X = [x1, x2, x3, ..., x n ], where n is the sample size, x i =[x i1 , x i2 , x i3 , …, x im ] is the eigenvalue of a single sample, where m is the number of features, x im Represents x i The corresponding eigenvalue has a range depending on the data type; Y = [y1, y2, y3, ..., y n ] is the true label of the sample, with a value of 0 or 1, indicating the survival or death information of the sample.

[0090] Furthermore, in the nutritional health status assessment model construction module, due to the large number of feature set variables and complex relationships, as well as a large number of classifications, the CatBoost tree boosting model that can perform unbiased processing on categorical variables is used for modeling; when processing categorical features, the Greedy TS (Target-based Statistics) strategy is used to process them, that is, by adding prior distribution terms for smoothing, the influence of low-frequency categorical data and noise data on the distribution of the data set is eliminated, specifically: the sample set X is randomly sorted, and the sequence is recorded as σ = (σ1, σ2, ..., σ n ), assuming that the sample x i The k-th dimension feature x ik is a category feature, then for x ik Adjusted eigenvalues for:

[0091]

[0092] Where D = {(x i ,y i )} i=1,...,n is the training sample set. For the training sample, D i ={x j : σ(j)<σ(i)} means that the i The previous part of the sample set, and for the test sample, D i =D is the entire training sample set; [·] is the indicator function, when x jk =x ik Its value is 1 when x jk ≠x ik When , its value is 0; P is the prior value, and α (α>0) is the weight of the prior value P.

[0093] Furthermore, in the nutritional health status assessment model construction module, in order to avoid the prediction shift generated during the training of the gradient boosting tree model, the sorting boosting method is adopted to reduce the gradient deviation, that is, the maximum number of iterations of the model is set to T. In each round of iteration t, all samples are randomly sorted to obtain the sequence σ = (σ1, σ2, ..., σ n ), for each sample, initialize the model M corresponding to the sample i =0, i=1, ..., n, calculate the sample x i The unbiased residual r i :

[0094] r i =y i -M σ(i)-1 (x i )

[0095] Among them, σ(i) represents the ranking of sample i in this round, M σ(i)-1 is the model trained by the previous sample, M σ(i)-1 (x i ) is the x under this model i The output of x is obtained i The unbiased residual r i To continue training the updated decision tree ΔM, update it to model M i =M i +ΔM, so n models need to be trained in each round; after T rounds of iterations, the model M of T rounds n This is the final model.

[0096] Furthermore, in the nutritional health status assessment model construction module, in order to make full use of the data and verify the robustness of the model, the cross-validation method is adopted to divide the training set and the test set for model training and verification, where the cross-validation fold is 5; at the same time, the parameter space of the model is grid searched to find the optimal parameters to improve the model performance. The search parameter range includes: the number of trees, learning rate, tree depth, Bootstrap type, Bagging temperature, tree growth strategy, L2 regularization parameter; parameter search is performed with F1 as the optimization target:

[0097] F1=(2×precision×recall) / (precision+recall)

[0098] Among them, precision is the prediction accuracy, and recall is the prediction recall rate; finally, through parameter search and cross-validation on the training set, the nutritional health status assessment model with the best performance was constructed and tested on the test set. The evaluation indicators were the subject curve and the precision-recall curve.

[0099] Furthermore, in the nutritional health status assessment model construction module, due to the large number of all valid features, the sequence floating backward selection algorithm is used to further screen all valid features; the set of all valid features is D = [d1, d2, d3, ..., d m ], where m is the total number of features, initialize the important feature set I = D, the number of important features s = m; randomly select d from D i , if J(f,(Id i ))≥J(f,I), then the feature d i Delete from I, if J(f, (Id i ))<J(f,I), then retain feature d i, where f is the constructed evaluation model, J is the model performance evaluation function, and F1 score is used as its evaluation index; features are gradually selected from D until J(f, I) reaches the maximum value; for the important feature set I = [d1, d2, d3, ..., d s ], where s is the number of important features after screening, and the nutritional health status assessment model based on CatBoost is rebuilt through this feature set.

[0100] Furthermore, in the module for building the nutritional health status assessment model, the screened important feature set includes 15 items: age, gender, calf circumference, length from the right knee to the ground, albumin, glycosylated serum protein, low-density lipoprotein cholesterol, superoxide dismutase (SOD) activity, urine albumin / urine creatinine, lymphocyte percentage, ability to take public transportation, ability to pick up a book from the ground, frequency of eating fresh vegetables, frequency of eating meat, and frequency of eating fish and other aquatic products.

[0101] Furthermore, in the risk prediction module, thresholds t1, t2, and t3 are set, and the score of the nutritional health status assessment model is t, then t≥t1 is a high-risk population, t2≤t<t1 is a medium-risk population, t3≤t<t2 is a low-risk population, and t≤t3 is a healthy population; after the overall population is divided into different risk groups, the Kaplan-Meier method is used to draw survival curves for different risk groups as the prognostic risk information of different risk groups; among them, t1 is 0.75, t2 is 0.5, and t3 is 0.25.

[0102] Furthermore, in the nutrition and health status analysis and recommendation module, the nutrition and health status assessment model constructed above is combined with the SHAP algorithm (SHapley Additive exPlanations) to construct a personalized analysis model for nutrition status. SHAP interprets the predicted value of the personalized analysis model for nutrition status as the sum of the attribution values ​​of each input feature. Since the CatBoost tree model is established, that is:

[0103]

[0104] Among them, g is the personalized analysis model of nutritional status, x i For the sample data analyzed, is the predicted mean of all training samples, s is the number of features in the important feature set I, is the attributed value (Shapley value) of feature j, namely:

[0105]

[0106] Among them, {x i1 , ..., x is}\{xij} does not contain x ij The possible set of all features of , |T| is the number of features in feature subset T, is the prediction based on feature subset T, Based on feature subset T and feature x ij prediction.

[0107] Furthermore, in the nutrition and health status analysis and recommendation module, when an individual conducts a nutrition and health status assessment, the current risk factors and protective factors are determined by analyzing the current individual's assessment results and various characteristics, thereby providing nutrition and health recommendations.

[0108] Figure 1 It is a system structure block diagram of the present invention.

[0109] Figure 2 It is the subject curve of the nutritional health status assessment model constructed by the present invention on the test set. Through the nutritional health status assessment model constructed by the present invention, the sample data of the test set is input to obtain the specific probability of model evaluation, and the category of the test data is discriminated according to different thresholds, thereby drawing ROC; wherein, the horizontal axis is the false positive rate, and the vertical axis is the true positive rate. The area under the curve (AUC) of ROC can be used as an objective indicator for performance evaluation. The higher it is, the more it represents the model's ability to discriminate different types of samples; finally, the AUC-ROC of the nutritional health status assessment model constructed by the present invention reached 0.8329, proving its excellent performance.

[0110] Figure 3 It is the precision-recall curve of the nutritional health status assessment model constructed by the present invention on the test set. Through the nutritional health status assessment model constructed by the present invention, the sample data of the test set is input to obtain the specific probability of model evaluation, and the category of the test data is discriminated according to different thresholds, thereby drawing the PRC; wherein, the horizontal axis is the recall rate, and the vertical axis is the precision. The AUC of PRC can be used as an objective indicator for performance evaluation, and the higher the AUC, the better the model's ability to discriminate samples of different categories; finally, the AUC-PRC of the nutritional health status assessment model constructed by the present invention reached 0.7125, proving its excellent performance.

[0111] Figure 4 It is the survival curve corresponding to different nutritional health status in the risk prediction module constructed by the present invention. Each curve corresponds to the survival curve of the corresponding risk group; the horizontal axis is the survival rate, the vertical axis is the time line / day, and the total length is 5 years (1826 days); through the diagram, it can be clearly seen that the survival curves of different risk groups are quite different, and the greater the risk, the worse the survival curve, which proves that the constructed model is consistent with the actual situation of the data in distinguishing the population and has a good indicative effect.

[0112] Figure 5 This is an analysis chart of the influence of various factors in the nutrition and health status analysis and recommendation module constructed by the present invention (taking a single test data as an example). The vertical axis is the corresponding value of each feature, which is sorted from top to bottom according to the importance of the result, and the values ​​and their classification are: age (years), gender (male / female), calf circumference (cm), length from right knee to ground (cm), albumin (g / L), glycosylated serum protein (μmol / L), low-density lipoprotein cholesterol (mmol / L), superoxide dismutase activity (IU / ml), urine albumin / urine creatinine (%), lymphocyte percentage (%), whether to take public transportation (yes / with some difficulty / no), whether to pick up a book from the ground (yes / no), frequency of fresh vegetable consumption (daily / often / sometimes / rarely or never), meat consumption Frequency (almost every day / at least once a week / at least once a month / not monthly but sometimes / rarely or never), frequency of consumption of fish and other aquatic products (almost every day / at least once a week / at least once a month / not monthly but sometimes / rarely or never); the horizontal axis is the impact of each feature on the result, which can be positive or negative; E[f(X)] represents the expected output of the data set, and f(x) represents the current output of the model; through the diagram, it can be analyzed that the nutritional health status of the current sample is poor, and the main risk factors are older age, inability to take public transportation, low low-density lipoprotein cholesterol, low albumin, etc., so adjustments need to be made to improve aspects such as nutritional intake, eating habits, etc.

[0113] The above is only a preferred embodiment of the present invention. Although the present invention has been disclosed as a preferred embodiment, it is not intended to limit the present invention. Any technician familiar with the art can make many possible changes and modifications to the technical solution of the present invention by using the above disclosed methods and technical contents without departing from the scope of the technical solution of the present invention, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solution of the present invention still falls within the scope of protection of the technical solution of the present invention.

Claims

1. A system for assessing the nutritional health status and predicting risks of the elderly based on machine learning. It is characterized in that include: (1) Data acquisition and feature screening module: obtain large-scale cohort data related to health factors of the elderly and preliminarily determine all feature information that can be included; Extract commonly used clinical indicators and nutrition and health expert knowledge, screen available effective features, build a structured feature set and perform preprocessing; (2) Nutritional health status assessment model construction module: The features obtained by the data acquisition and feature screening module are used as input, and the death time of the sample is used as the true label to construct a data set; the nutritional health status assessment model is constructed through CatBoost, and the generalization of the model is verified by cross-validation. The model parameters are tuned through grid search to improve the overall performance of the model; all effective features are screened through the sequence floating backward selection algorithm; In the nutritional health status assessment model construction module, the feature set is matrixed into the original data set (X, Y), X = [x 1 ,x 2 ,x 3 ,…,x n ], where n is the sample size, x i =[x i1 ,x i2 ,x i3 ,…,x im ] is the eigenvalue of a single sample, where m is the number of features, x im Represents x i The corresponding eigenvalue has a range depending on the data type; Y = [y 1 ,y 2 ,y 3 ,…,y n ] is the true label of the sample, with a value of 0 or 1, indicating the survival or death information of the sample; The nutritional health status assessment model was constructed using CatBoost, a boosting tree model that can perform unbiased processing on categorical variables. The Greedy TS strategy was used to process categorical features, that is, by adding prior distribution terms for smoothing, the influence of low-frequency categorical data and noise data on the distribution of the data set was eliminated. Specifically, the sample set X was randomly sorted, and the sequence was recorded as σ = (σ 1 ,σ 2 ,...,σ n ), assuming that the sample x i The k-th dimension feature x ik is a category feature, then for x ik Adjusted eigenvalues for: Where D = {(x i ,y i )} i=1,...,n is the training sample set. For the training sample, D i ={x j :σ(j)<σ(i)} means that the i Part of the sample set before, for the test sample, D i =D; [·] is the indicator function, when x jk =x ik Its value is 1 when x jk≠ x ik When its value is 0; P is the prior value, α is the weight of the prior value P; In the nutritional health status assessment model construction module, a cross-validation method is adopted to divide the training set and the test set for model training and verification, wherein the cross-validation fold is 5; at the same time, the parameter space of the model is searched by grid to find the optimal parameters to improve the model performance, and the search parameter range includes: the number of trees, learning rate, tree depth, Bootstrap type, Bagging temperature, tree growth strategy, L2 regularization parameter; parameter search is performed with F1 as the optimization target: F1=(2×precision×recall) / (precision+recall) Among them, precision is the prediction accuracy, and recall is the prediction recall rate. Through parameter search and cross-validation on the training set, the optimal nutritional health status assessment model is constructed and tested on the test set. The evaluation indicators are the subject curve and the precision-recall curve. (3) Risk prediction module: Based on the nutritional health status assessment model, the corresponding thresholds are set to divide the population into healthy, low-risk, medium-risk, and high-risk groups, and then the survival curve is drawn according to the population classification and real survival information. In actual application, only the various indicators of the current individual need to be input, and the corresponding scores can be obtained through the calculation of the nutritional health status assessment model, and the corresponding groups can be divided and compared with the corresponding survival curve to understand the subsequent risks; (4) Nutritional health status analysis and advice module: Based on the nutritional health status assessment model, when an individual is conducting a nutritional health status assessment, the SHAP algorithm is used to conduct a detailed analysis of specific feature indicators to understand the importance of each feature and its impact on the results, thereby providing more specific and accurate advice; In the nutritional health status assessment model construction module, in order to avoid the prediction deviation caused by the gradient boosting tree model training, the sorting boosting method is adopted to reduce the gradient deviation, specifically: assuming that the maximum iteration number of the model is T, in each round of iteration t, all samples are randomly sorted to obtain a sequence σ=(σ 1 ,σ 2 ,...,σ n ), for each sample, initialize the model M corresponding to the sample i =0,i=1,…,n, calculate the sample x i The unbiased residual r i : r i =y i -M σ(i)-1 (x i ) Among them, σ(i) represents the ranking of sample i in this round, M σ(i)-1 is the model trained by the previous sample, M σ(i)-1 (x i ) is the x under this model i The output of x is obtained i The unbiased residual r i To continue training the updated decision tree ΔM, update it to model M i =M i +ΔM, so n models need to be trained in each round; after T rounds of iterations, the model M of T rounds n This is the final model.

2. The system for evaluating the nutritional health status and predicting the risks of elderly people based on machine learning according to claim 1, It is characterized in that In the data acquisition and feature screening module, the effective features used include: Basic information: age, gender, death information; Anthropometric information: height, weight, calf circumference, distance from right knee to ground, waist circumference; Information on body function status: whether assistance with bathing is needed, whether assistance with dressing is needed, whether assistance with excretion is needed, whether assistance with indoor movement is needed, whether assistance with eating is needed, whether incontinence is present, whether the patient can visit neighbors independently, whether the patient can shop independently, whether the patient can cook independently, whether the patient can wash clothes independently, whether the patient can walk continuously for 1 km, whether the patient can lift 5 kg, whether the patient can squat and stand up three times in a row, whether the patient can take public transportation, whether the patient can stand up from a seat, whether the patient can pick up a book from the ground, whether the patient can put his hands behind his neck, whether the patient can put his hands on his lower back, and whether the patient can raise his arms upward; Dietary information: frequency of consumption of fresh fruits, fresh vegetables, meat, aquatic products, eggs, soy products, pickled vegetables or kimchi, sugar or candy, tea, garlic, dairy products, nuts, fungi and algae; Quality of life information: self-assessment of personal quality of life and personal health status; Biomarkers - plasma biochemical examination: albumin, blood urea nitrogen, cholesterol, creatinine, high-sensitivity C-reactive protein, blood glucose, glycosylated serum protein, high-density lipoprotein cholesterol, low-density lipoprotein cholesterol, triglycerides, uric acid, superoxide dismutase activity, vitamin D3, malondialdehyde, vitamin B12; Biomarkers-urine indicators: urine microalbumin, urine creatinine, urine albumin / urine creatinine; Biomarkers - routine blood examination: white blood cell count, lymphocyte count, lymphocyte percentage, red blood cell count, hemoglobin concentration, hematocrit, mean corpuscular volume, mean corpuscular hemoglobin content, mean corpuscular hemoglobin concentration, platelet count, mean platelet volume, platelet volume distribution width, and platelet volume.

3. The system for evaluating the nutritional health status and predicting the risks of elderly people based on machine learning according to claim 1, It is characterized in that In the data acquisition and feature screening module, the missing values ​​need to be marked in combination with the data document during preprocessing, so as to eliminate some samples with a missing index ratio greater than p, and at the same time perform data distribution analysis to eliminate outliers and ensure a reasonable distribution of data; for samples with some missing values, fill in the empty values ​​through K nearest neighbors.

4. The system for evaluating the nutritional health status and predicting the risks of the elderly based on machine learning according to any one of claims 1 to 3, It is characterized in that In the nutritional health status assessment model construction module, a sequence floating backward selection algorithm is used to screen all effective features; the set of all effective features is D=[d 1 ,d 2 ,d 3 ,...,d m ], where m is the total number of features, initialize the important feature set I = D, the number of important features s = m; randomly select di from D, if J(f,(Id i ))≥J(f,I), then delete feature di from I. If J(f,(Id i ))<J(f,I), then retain the feature di, where f is the constructed evaluation model, J is the model performance evaluation function, and the F1 score is its evaluation index; gradually select features from D until J(f,I) reaches the maximum value; for the important feature set I=[d 1 ,d 2 ,d 3 ,…,d s ], where s is the number of important features after screening, and the nutritional health status assessment model based on CatBoost is rebuilt through this feature set.

5. The system for evaluating the nutritional health status and predicting the risks of elderly people based on machine learning according to claim 4, It is characterized in that In the nutritional health status assessment model construction module, the important feature set screened includes 15 items: age, gender, calf circumference, length from the right knee to the ground, albumin, glycosylated serum protein, low-density lipoprotein cholesterol, superoxide dismutase activity, urine albumin / urine creatinine, lymphocyte percentage, whether to take public transportation, whether to pick up a book from the ground, frequency of eating fresh vegetables, frequency of eating meat, and frequency of eating aquatic products.

6. The system for evaluating the nutritional health status and predicting the risks of the elderly based on machine learning according to any one of claims 1 to 3, It is characterized in that In the risk prediction module, threshold values t1, t2, and t3 are set. If the score obtained from the nutritional and health status assessment model is t, then when t ≥ t1, it represents a high-risk population; when t2 ≤ t < t1, it represents a medium-risk population; when t3 ≤ t < t2, it represents a low-risk population; and when t < t3, it represents a healthy population. After dividing the overall population into different risk groups, the survival curves are plotted for different risk groups using the Kaplan-Meier method, which serves as the prognostic risk information for different risk groups. Here, t1 is 0.75, t2 is 0.5, and t3 is 0.

25.

7. The machine learning-based elderly nutritional and health status assessment and risk prediction system according to any one of claims 1-3, characterized in that, in the nutritional and health status analysis and recommendation module, a personalized nutritional status analysis model is constructed by combining the nutritional and health status assessment model with the SHAP algorithm. The SHAP algorithm interprets the predicted value of the personalized nutritional status analysis model as the sum of the attribution values of each input feature. Since a CatBoost tree model is established, that is: Among them, g is the personalized analysis model of nutritional status, x i For the sample data analyzed, is the predicted mean of all training samples, s is the number of features in the important feature set I, is the attributed value of feature j, namely: Among them, {x i1 ,…,x is }\{x ij } does not contain x ij The possible set of all features of |T| is the number of features in feature subset T, f xi (T) is the prediction based on feature subset T, f xi (T∪{x ij } is based on feature subset T and feature x ij prediction.