Pregnancy nutrition recommendation method and system based on big data
By integrating the genome, intestinal microorganisms and healthy life data of pregnant women, we build a nutrition recommendation model, which solves the problems of incomplete data, complex processing and lack of personalization of the model in the existing technology, achieves accurate nutrition advice during pregnancy and improves health management during pregnancy. level.
Patent Information
- Application Number
- CN202410888890.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing pregnancy nutrition recommendation methods have shortcomings in incomplete data collection, complex data processing, and lack of personalization in model construction, making them unable to provide scientific and accurate personalized nutrition advice.
By collecting genomic data, intestinal microbial data and healthy life data of pregnant women, we conduct data integration, processing and analysis, build a nutrition recommendation model based on machine learning, and provide personalized nutrition advice.
It realizes the integration and accurate analysis of multi-source data for pregnant women, provides customized nutritional recommendations, improves the pertinence and effectiveness of nutritional intake, reduces the risk of complications during pregnancy, and improves the level of health management during pregnancy.
Smart Images

Figure CN118629592A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of nutrition recommendation, and in particular to a method and system for nutrition recommendation during pregnancy based on big data. Background Art
[0002] Pregnancy is one of the periods when women undergo the most dramatic physiological and psychological changes. Reasonable nutritional intake is crucial to the healthy development of the fetus and the health of pregnant women. However, due to individual differences, dietary habits, and living environments, universal nutritional recommendations often cannot meet individual needs. Therefore, how to provide scientific, accurate, and personalized nutritional guidance for pregnant women has become the focus and difficulty of current research.
[0003] In recent years, with the development of big data technology and bioinformatics, personalized nutrition recommendation methods based on multi-dimensional data such as individual genome, intestinal microbiota and lifestyle have gradually emerged. These methods can provide more accurate nutrition recommendations for individuals by collecting, processing and analyzing large-scale data. However, existing methods still have some shortcomings in data integration and model construction, such as complex data processing and limited model accuracy.
[0004] Existing technical problems
[0005] Incomplete data collection: Existing technologies mainly focus on a single type of data (such as dietary records), ignoring key data such as genome and gut microbiome.
[0006] Complex data processing: In the process of big data processing, data cleaning, feature extraction and construction are complex, which can easily cause information loss or data deviation.
[0007] Model construction lacks personalization: Traditional nutrition recommendation models are mostly based on statistical methods, lack in-depth analysis of individual differences, and are unable to provide personalized nutrition advice. Summary of the invention
[0008] In view of the above-mentioned problems, the present invention is proposed.
[0009] In order to solve the above technical problems, the present invention provides the following technical solutions: a method for recommending nutrition during pregnancy based on big data, characterized in that it comprises the following steps:
[0010] Data collection and integration;
[0011] Process and analyze the collected data;
[0012] Build a nutrition recommendation model based on the processed data;
[0013] Implement personalized nutrition recommendations based on the nutrition recommendation model.
[0014] As a preferred embodiment of the method for recommending nutrition during pregnancy based on big data described in the present invention, the data collection includes the genomic data of pregnant women, the intestinal microbial data of pregnant women and the healthy life data of pregnant women, and the collected data are integrated, the genomic data of pregnant women is obtained by detecting specific genes to obtain gene information related to nutritional metabolism; the intestinal microbial data of pregnant women is obtained by analyzing fecal samples to obtain the diversity and abundance information of intestinal flora; the healthy life data of pregnant women is obtained by collecting the health data and life habit data of pregnant women, the health data includes weight, height, blood pressure and blood sugar, and the life habit data includes diet record, exercise record and sleep quality; the integration of the collected data is to integrate the collected data with medical literature data, and build a relevant knowledge database in combination with the research results of nutrition;
[0015] The construction of the relevant knowledge database is to integrate the collected data and construct a database for practical application, as follows:
[0016] Integrate the collected data into a data set X, and the set satisfies X={x1,x2,x3,...,x n}, where x1,x2,x3,.,,,x n It represents different data features and different data collected, and n represents the total number of data points collected.
[0017] As a preferred solution of the method for recommending nutrition during pregnancy based on big data described in the present invention, wherein: the data processing and analysis of the collected data is to process the collected data and perform data analysis on the data processing results; the data processing of the collected data includes processing the genome data of the pregnant woman, processing the intestinal microbial data of the pregnant woman and processing the health life data of the pregnant woman; the data analysis of the data processing results is to analyze according to the results of the three data processing;
[0018] The processing of the genomic data of pregnant women is to use sequencing quality control technology to perform quality control on the collected gene sequence data, thereby filtering out low-quality sequence data, and at the same time use a variation detection algorithm to perform variant gene detection, and use variation function annotation technology to annotate the detected variant genes. The specific implementation formula is as follows:
[0019] When performing sequencing quality control, it is performed by calculating the average quality score of each base. The quality score is a quality indicator of each base in sequencing, reflecting the error probability of base detection. The higher the score, the higher the accuracy of the detection. The specific calculation formula is as follows:
[0020]
[0021] Among them, q i represents the quality score of the ith base, N represents the total number of bases, and Q represents the calculated average quality score of the sequencing data. When the calculated average quality score Q is lower than the average historical minimum threshold, it means that the current sequencing data quality is low and the sequencing data needs to be recollected.
[0022] As a preferred embodiment of the method for recommending nutrition during pregnancy based on big data described in the present invention, when performing variant gene detection, a variant site in the genome is identified from sequencing data using a variant detection algorithm, and the specific implementation process is as follows:
[0023] First, the sequencing read R is aligned to the reference genome G through an alignment tool, and then the alignment position P and alignment quality score Q′ are generated;
[0024] The mutation detection algorithm is used to detect the mutation sites by comparing the files, and then generate the mutation set V. The specific formula is as follows:
[0025] V={(p i ,r i ,q i )|r i ≠g i ,q i ′≥Q′ min}
[0026] Among them, p i represents the i-th detected mutation position, r i Indicates that the sequencing read is at position p i The base at q i represents the quality score of the ith base, g i Indicates the reference genome at position p i The base at q i ′ represents the position p i The quality score of the variant at min represents the minimum variant quality score threshold;
[0027] Finally, the detected variant genes are annotated using the variant function annotation technology to generate an annotation information set A, and the annotation information set A satisfies the formula A = {(v,A v )|v∈V}, where v represents the variant gene, V represents the variant gene set, and A v Represents the annotation information of the variant gene v.
[0028] As a preferred embodiment of the method for recommending nutrition during pregnancy based on big data described in the present invention, the data analysis of the data processing results is performed by calculating the gene association score based on the functional impact score and functional weight of the variant gene data for all processed gene data, and analyzing the association between the gene and nutritional metabolism based on the calculated association score; the functional impact score of the gene data reflects the effect of the mutation on the protein function based on the amino acid conservation and physical and chemical similarity of the variant gene, the functional weight reflects the degree of influence of the gene on nutritional metabolism, and the association score is a comprehensive assessment of all variations of each gene to calculate the association score between the gene and nutritional metabolism. The specific calculation formula is as follows:
[0029]
[0030] Among them, R j Indicates gene G j According to the calculated correlation score, the correlation evaluation between the gene and nutritional metabolism is completed. The higher the calculated correlation score, the greater the correlation between the current gene and nutritional metabolism. j represents the set of all mutations in gene j, W v represents the functional weight of the variant gene v, E v Represents the functional impact score of the variant gene v.
[0031] As a preferred solution of the method for recommending nutrition during pregnancy based on big data described in the present invention, wherein: the construction of a nutrition recommendation model based on the processed data is to perform feature selection based on the processed data, and to construct a nutrition recommendation model using a machine learning algorithm, wherein the feature selection based on the processed data includes gene variation information feature selection, intestinal microbial data feature selection, and healthy life feature selection; finally, the nutrition recommendation model is constructed based on the selected features and using a machine learning algorithm;
[0032] The gene variation information feature selection is performed based on the calculated gene variation impact score, and the specific calculation formula is as follows:
[0033]
[0034] Among them, S g represents the total impact score of gene g, w i represents the weight of the i-th influencing factor, f i (g) represents the score of gene g on the i-th influencing factor, and n represents the number of factors;
[0035] The intestinal microbial data feature selection is performed based on the calculated Shannon diversity index, and the specific calculation formula is as follows:
[0036]
[0037] Among them, H represents the calculated Shannon diversity index, S represents the total number of microbial species, and p i ′ represents the relative abundance of the i-th bacterial species;
[0038] The healthy life feature selection is performed based on the calculated metabolic risk score, and the specific calculation formula is as follows:
[0039] R=α1·BP+α2·BG+α3·BMI
[0040] Among them, BP represents the collected blood pressure data, BG represents the collected blood sugar data, BMI represents the body mass index of pregnant women, and α1, α2, and α3 represent weight coefficients respectively.
[0041] As a preferred embodiment of the method for recommending nutrition during pregnancy based on big data described in the present invention, the method for constructing a nutrition recommendation model using a machine learning algorithm uses the selected feature data as a data set for model training and testing, trains the model using a machine learning algorithm, and finally evaluates the model using a test set;
[0042] The method of using the selected feature data as a data set for model training and testing is to construct a model input data set according to 70% of the selected feature data as a training set and 30% of the test set. The method of training the model by a machine learning algorithm is to use the training set as a model input by a linear regression algorithm to train the model. The specific implementation formula is as follows:
[0043]
[0044] Among them, X represents the feature matrix, which is the input feature matrix constructed by the training set, W represents the weight vector, which is used to control the degree of model training, and b represents the intercept term. Represents the predicted value of the model, which is the predicted value of nutritional recommendations for pregnant women after the current features are input into the model;
[0045] The method of evaluating the model using the test set is to use the test set as the model input, calculate the evaluation coefficient of the model, and then complete the model test. The specific implementation formula is as follows:
[0046]
[0047] Among them, y i Represents the actual value, which is the actual impact of the current feature on pregnant women. Represents the predicted value of the model, which is the predicted value of the nutritional recommendation for pregnant women after the current features are input into the model. It represents the average value of the actual value, and λ represents the model evaluation coefficient. The smaller the evaluation coefficient, the more accurate the model evaluation is.
[0048] As a preferred solution of the pregnancy nutrition recommendation system based on big data described in the present invention, it includes: a data collection module, a data processing module, a model building module and a personalized nutrition recommendation module; the data collection module is used to collect data related to pregnant women; the data processing module is used to complete data processing on the collected data; the model building module builds a nutrition recommendation model based on the processed data; the personalized nutrition recommendation module implements personalized nutrition recommendations based on the nutrition recommendation model.
[0049] A computer device includes a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of a method for recommending nutrition during pregnancy based on big data when executing the computer program.
[0050] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a method for recommending nutrition during pregnancy based on big data are implemented.
[0051] Beneficial effects of the present invention: By collecting, integrating, processing and analyzing multi-source data of pregnant women, the present invention can more accurately understand the individual characteristics, nutritional needs and health status of pregnant women, and then provide customized nutritional recommendations for each pregnant woman to ensure the pertinence and effectiveness of nutritional intake; the pregnancy nutrition recommendation method based on big data can promptly discover problems in the nutritional intake of pregnant women, and provide corresponding intervention measures to help pregnant women adjust their eating habits, improve the level of health management during pregnancy, and reduce the risk of complications during pregnancy. By improving the accuracy and effectiveness of nutritional recommendations during pregnancy, it is helpful to improve the overall nutritional status of pregnant women, reduce health problems caused by malnutrition and overnutrition, and improve the public health level of the entire society. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:
[0053] Figure 1 The present invention is a schematic diagram of the overall method steps of a method for recommending nutrition during pregnancy based on big data.
[0054] Figure 2 The figure is a schematic diagram of the overall composition structure of a pregnancy nutrition recommendation system based on big data of the present invention. DETAILED DESCRIPTION
[0055] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.
[0056] 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.
[0057] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.
[0058] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.
[0059] At the same time, in the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0060] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0061] Example 1
[0062] Reference Figure 1 , which is the first embodiment of the present invention, provides a method for recommending nutrition during pregnancy based on big data, comprising the following steps:
[0063] S1: Data collection and integration.
[0064] Specifically, the data collection includes the genomic data of pregnant women, the intestinal microbial data of pregnant women and the healthy life data of pregnant women, and the collected data are integrated. The genomic data of pregnant women are obtained by detecting specific genes to obtain genetic information related to nutritional metabolism; the intestinal microbial data of pregnant women are obtained by analyzing fecal samples to obtain the diversity and abundance information of intestinal flora; the healthy life data of pregnant women are obtained by collecting the health data and living habit data of pregnant women, the health data include weight, height, blood pressure and blood sugar, and the living habit data include diet records, exercise records and sleep quality; the integration of the collected data is to integrate the collected data with medical literature data, and combine with the results of nutrition research to build a relevant knowledge database.
[0065] Furthermore, the construction of the relevant knowledge database is to integrate the collected data and construct a database for practical application, as follows:
[0066] Integrate the collected data into a data set X, and the set satisfies X={x1,x2,x3,...,x n}, where x1,x2,x3,.,,,x n It represents different data features and different data collected, and n represents the total number of data points collected.
[0067] It should be noted that for the genomic data of pregnant women, blood and saliva samples were collected from pregnant women, and high-quality genomic DNA was extracted using commercial DNA extraction kits. The target genes were sequenced using next-generation sequencing technology, and the sequencing data were quality controlled and filtered to remove low-quality reads and adapter contamination. Single nucleotide polymorphisms and deletions were identified using variation detection tools, and marker annotation tools were used to functionally annotate the detected variations to determine their possible biological effects, with a focus on gene variations related to nutritional metabolism; for the intestinal microbial data of pregnant women, fecal samples were collected from pregnant women in sterile containers, and microbial genomic DNA was extracted using an intestinal microbial DNA extraction kit. Gene amplicon sequencing was performed using a gene sequencer to analyze the composition and diversity of intestinal microorganisms, and the relative abundance of each microbial classification unit was calculated. Finally, linear discriminant analysis effect technology was used for differential analysis; for the health life data of pregnant women, the height, weight, blood pressure and blood sugar of pregnant women were regularly measured and recorded, and data were automatically collected and recorded using smart health detection equipment. The diet records, exercise records and sleep quality of pregnant women were collected through mobile applications, and health data analysis was then performed.
[0068] S2: Data processing and analysis of the collected data.
[0069] Specifically, the data processing and analysis of the collected data is to process the collected data and perform data analysis on the data processing results; the data processing of the collected data includes processing the genome data of the pregnant woman, processing the intestinal microbial data of the pregnant woman, and processing the health life data of the pregnant woman; the data analysis of the data processing results is to perform analysis based on the results of the three data processing.
[0070] Furthermore, the processing of the genomic data of the pregnant woman is to use sequencing quality control technology to perform quality control on the collected gene sequence data, thereby filtering out low-quality sequence data, and at the same time use a variation detection algorithm to perform variant gene detection, and use variation function annotation technology to annotate the detected variant genes. The specific implementation formula is as follows:
[0071] When performing sequencing quality control, it is performed by calculating the average quality score of each base. The quality score is a quality indicator of each base in sequencing, reflecting the error probability of base detection. The higher the score, the higher the accuracy of the detection. The specific calculation formula is as follows:
[0072]
[0073] Among them, q irepresents the quality score of the ith base, N represents the total number of bases, and Q represents the calculated average quality score of the sequencing data. When the calculated average quality score Q is lower than the average historical minimum threshold, it means that the current sequencing data quality is low and the sequencing data needs to be recollected;
[0074] When performing variant gene detection, a variant detection algorithm is used to identify variant sites in the genome from sequencing data. The specific implementation process is as follows:
[0075] First, the sequencing read R is aligned to the reference genome G through an alignment tool, and then the alignment position P and alignment quality score Q′ are generated;
[0076] The mutation detection algorithm is used to detect the mutation sites by comparing the files, and then generate the mutation set V. The specific formula is as follows:
[0077] V={(p i ,r i ,q i )|r i ≠g i ,q i ′≥Q′ min}
[0078] Among them, p i represents the i-th detected mutation position, r i Indicates that the sequencing read is at position p i The base at q i represents the quality score of the ith base, g i Indicates the reference genome at position p i The base at q i ′ represents the position p i The quality score of the variant at min represents the minimum variant quality score threshold;
[0079] Finally, the detected variant genes are annotated using the variant function annotation technology to generate an annotation information set A, and the annotation information set A satisfies the formula A = {(v,A v )|v∈V}, where v represents the variant gene, V represents the variant gene set, and A v Represents the annotation information of the variant gene v.
[0080] Furthermore, the data analysis of the data processing results is performed by calculating the gene association score according to the functional impact score and functional weight of the variant gene data for all processed gene data, and analyzing the association between the gene and nutritional metabolism according to the calculated association score; the functional impact score of the gene data reflects the effect of the mutation on the protein function based on the amino acid conservation and physicochemical similarity of the variant gene, the functional weight reflects the degree of influence of the gene on nutritional metabolism, and the association score is a comprehensive assessment of all mutations of each gene to calculate the association score between the gene and nutritional metabolism. The specific calculation formula is as follows:
[0081]
[0082] Among them, R j Indicates gene G j According to the calculated correlation score, the correlation evaluation between the gene and nutritional metabolism is completed. The higher the calculated correlation score, the greater the correlation between the current gene and nutritional metabolism. j represents the set of all mutations in gene j, W v represents the functional weight of the variant gene v, E v Represents the functional impact score of the variant gene v.
[0083] S3: Build a nutrition recommendation model based on the processed data.
[0084] Specifically, the building of a nutrition recommendation model based on the processed data is to perform feature selection based on the processed data, and use a machine learning algorithm to build a nutrition recommendation model. The feature selection based on the processed data includes gene variation information feature selection, intestinal microbial data feature selection, and healthy life feature selection; finally, based on the selected features, a nutrition recommendation model is built using a machine learning algorithm.
[0085] Furthermore, the gene variation information feature selection is performed based on the calculated gene variation impact score, and the specific calculation formula is as follows:
[0086]
[0087] Among them, S g represents the total impact score of gene g, w i represents the weight of the i-th influencing factor, f i (g) represents the score of gene g on the i-th influencing factor, and n represents the number of factors;
[0088] The intestinal microbial data feature selection is performed based on the calculated Shannon diversity index, and the specific calculation formula is as follows:
[0089]
[0090] Among them, H represents the calculated Shannon diversity index, S represents the total number of microbial species, and p i ′ represents the relative abundance of the i-th bacterial species;
[0091] The healthy life feature selection is performed based on the calculated metabolic risk score, and the specific calculation formula is as follows:
[0092] R=α1·BP+α2·BG+α3·BMI
[0093] Among them, BP represents the collected blood pressure data, BG represents the collected blood sugar data, BMI represents the body mass index of pregnant women, and α1, α2, and α3 represent weight coefficients respectively.
[0094] It should be noted that the feature selection based on the processed data is performed according to the calculation results of different data. For the calculation results of each data, the feature selection is completed by comparing the calculation results with the set selection threshold. For feature selection in different scenarios, the set selection threshold will change accordingly. The set selection threshold is used to control the degree of feature selection.
[0095] Furthermore, the method of constructing a nutrition recommendation model using a machine learning algorithm uses the selected feature data as a data set for model training and testing, trains the model through a machine learning algorithm, and finally evaluates the model using a test set.
[0096] Specifically, the selected feature data is used as a data set for model training and testing, and the selected feature data is used to construct a model input data set according to 70% of the training set and 30% of the test set. The training of the model by the machine learning algorithm is to use the training set as the model input by the linear regression algorithm to train the model. The specific implementation formula is as follows:
[0097]
[0098] Among them, X represents the feature matrix, which is the input feature matrix constructed by the training set, W represents the weight vector, which is used to control the degree of model training, and b represents the intercept term. Represents the predicted value of the model, which is the predicted value of nutritional recommendations for pregnant women after the current features are input into the model;
[0099] The method of evaluating the model using the test set is to use the test set as the model input, calculate the evaluation coefficient of the model, and then complete the model test. The specific implementation formula is as follows:
[0100]
[0101] Among them, y i Represents the actual value, which is the actual impact of the current feature on pregnant women. Represents the predicted value of the model, which is the predicted value of the nutritional recommendation for pregnant women after the current features are input into the model. It represents the average value of the actual value, and λ represents the model evaluation coefficient. The smaller the evaluation coefficient, the more accurate the model evaluation is.
[0102] S4: Implement personalized nutrition recommendations based on the nutrition recommendation model.
[0103] Specifically, the personalized nutrition recommendation according to the nutrition recommendation model is based on the established nutrition recommendation model to realize personalized nutrition recommendations for different pregnant women, and the specific implementation is as follows:
[0104] By collecting data from different pregnant women, and calculating the BMI coefficient, metabolic risk score and intestinal microbial diversity index of pregnant women, and calculating the gene variation score based on the gene variation data;
[0105] Use the trained normalizer to normalize the new data;
[0106] The trained model is then used to make predictions on new data and output the recommended daily nutrient intake;
[0107] Finally, based on the predicted daily nutrient intake, dietary recommendations for a specific day are generated from the food nutrition database to complete personalized nutrition recommendations.
[0108] Example 2
[0109] Reference Figure 2 , which is the second embodiment of the present invention, provides a pregnancy nutrition recommendation system based on big data, including a data collection module, a data processing module, a model building module and a personalized nutrition recommendation module;
[0110] Specifically, the data collection module is used to collect data related to pregnant women; the data processing module is used to complete data processing on the collected data; the model building module builds a nutrition recommendation model based on the processed data; and the personalized nutrition recommendation module implements personalized nutrition recommendations based on the nutrition recommendation model.
[0111] Furthermore, the data collection module collects the genomic data of pregnant women through gene detection technology, especially gene information related to nutritional metabolism; obtains the diversity and abundance information of intestinal flora by analyzing the fecal samples of pregnant women; collects the health data (weight, height, blood pressure, blood sugar) and lifestyle data (diet records, exercise records and sleep quality) of pregnant women through questionnaires or wearable devices; detects the genetic information of pregnant women using gene chips or high-throughput sequencing technology; analyzes intestinal microbial data using 16S rRNA sequencing or metagenomics technology; and collects health data and lifestyle data through smart devices or manual records;
[0112] The data processing module cleans, removes noise, fills missing values and standardizes the collected data; extracts key features from the original data and constructs new features;
[0113] The model building module selects appropriate features according to their importance and builds a nutrition recommendation model using a machine learning algorithm. It also evaluates the performance of the model through a test set and optimizes the model parameters.
[0114] The personalized nutrition recommendation module predicts the nutrients required by pregnant women every day based on the nutrition recommendation model; and generates personalized dietary recommendations in combination with the food nutrition database; and continuously optimizes the nutrition recommendation model based on the feedback from pregnant women.
[0115] It should be noted that the data collection module provides the original data input for the data processing module; the data processing module preprocesses the data and constructs features, and the generated feature data is input into the model building module; the model building module uses the processed feature data to train the model and construct a nutrition recommendation model; the personalized nutrition recommendation module uses the trained model to predict new data and generate personalized nutrition recommendations; through the close integration of the four modules, personalized nutrition recommendations during pregnancy based on big data are realized, providing scientific and reasonable nutrition guidance for pregnant women.
[0116] Furthermore, if the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0117] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0118] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0119] Additionally, in order to provide a concise description of exemplary embodiments, all features of an actual embodiment (ie, those features that are not relevant to the best mode presently contemplated for carrying out the invention or those that are not relevant to implementing the invention) may not be described.
[0120] It will be appreciated that in the development of any actual implementation, as in any engineering or design project, numerous implementation-specific decisions may be made. Such a development effort may be complex and time-consuming, but will be a routine task of design, fabrication, and production for those of ordinary skill having the benefit of this disclosure without undue experimentation.
[0121] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A method for recommending nutrition during pregnancy based on big data. Features: The following steps are included: Data collection and integration; Process and analyze the collected data; Build a nutrition recommendation model based on the processed data; Implement personalized nutrition recommendations based on the nutrition recommendation model.
2. A method for recommending nutrition during pregnancy based on big data as claimed in claim 1, Features: The data collection includes the genomic data of pregnant women, the intestinal microbial data of pregnant women and the healthy life data of pregnant women, and the collected data are integrated. The genomic data of pregnant women is obtained by detecting specific genes to obtain gene information related to nutritional metabolism; the intestinal microbial data of pregnant women is obtained by analyzing fecal samples to obtain the diversity and abundance information of intestinal flora; the healthy life data of pregnant women is obtained by collecting the health data and life habit data of pregnant women, the health data includes weight, height, blood pressure and blood sugar, and the life habit data includes diet records, exercise records and sleep quality; the integration of the collected data is to integrate the collected data with medical literature data, and combine with the research results of nutrition to build a relevant knowledge database; The construction of the relevant knowledge database is to integrate the collected data and construct a database for practical application, as follows: Integrate the collected data into a data set X, and the set satisfies X={x 1 ,x 2 ,x 3 ,...,x n }, where x 1 ,x 2 ,x 3 ,.,,,x n It represents different data features and different data collected, and n represents the total number of data points collected.
3. A method for recommending nutrition during pregnancy based on big data as claimed in claim 2, Features: The data processing and analysis of the collected data is to process the collected data and analyze the data processing results; the data processing of the collected data includes processing the genome data of the pregnant woman, processing the intestinal microbial data of the pregnant woman and processing the health life data of the pregnant woman; the data analysis of the data processing results is to analyze according to the results of the three data processing; The processing of the genomic data of pregnant women is to use sequencing quality control technology to perform quality control on the collected gene sequence data, thereby filtering out low-quality sequence data, and at the same time use a variation detection algorithm to perform variant gene detection, and use variation function annotation technology to annotate the detected variant genes. The specific implementation formula is as follows: When performing sequencing quality control, it is performed by calculating the average quality score of each base. The quality score is a quality indicator of each base in sequencing, reflecting the error probability of base detection. The higher the score, the higher the accuracy of the detection. The specific calculation formula is as follows: Among them, q i represents the quality score of the ith base, N represents the total number of bases, and Q represents the calculated average quality score of the sequencing data. When the calculated average quality score Q is lower than the average historical minimum threshold, it means that the current sequencing data quality is low and the sequencing data needs to be recollected.
4. A method for recommending nutrition during pregnancy based on big data as claimed in claim 3, Features: When performing variant gene detection, a variant detection algorithm is used to identify variant sites in the genome from sequencing data. The specific implementation process is as follows: First, the sequencing read R is aligned to the reference genome G through an alignment tool, and then the alignment position P and alignment quality score Q′ are generated; The mutation detection algorithm is used to detect the mutation sites by comparing the files, and then generate the mutation set V. The specific formula is as follows: V={(p i ,r i ,q i )|r i ≠g i ,q i ′≥Q′ min } Among them, p i represents the i-th detected mutation position, r i Indicates that the sequencing read is at position p i The base at q i represents the quality score of the ith base, g i Indicates the reference genome at position p i The base at q i ′ represents the position p i The quality score of the variant at min represents the minimum variant quality score threshold; Finally, the detected variant genes are annotated using the variant function annotation technology to generate an annotation information set A, and the annotation information set A satisfies the formula A = {(v,A v )|v∈V}, where v represents the variant gene, V represents the variant gene set, and A v Represents the annotation information of the variant gene v.
5. A method for recommending nutrition during pregnancy based on big data as claimed in claim 4, Features: The data analysis of the data processing results is performed by calculating the gene association score according to the functional impact score and functional weight of the variant gene data for all processed gene data, and analyzing the association between the gene and nutritional metabolism according to the calculated association score; the functional impact score of the gene data reflects the effect of the mutation on the protein function based on the amino acid conservation and physicochemical similarity of the variant gene, the functional weight reflects the degree of influence of the gene on nutritional metabolism, and the association score is a comprehensive assessment of all mutations of each gene to calculate the association score between the gene and nutritional metabolism. The specific calculation formula is as follows: Among them, R j Indicates gene G j According to the calculated correlation score, the correlation evaluation between the gene and nutritional metabolism is completed. The higher the calculated correlation score, the greater the correlation between the current gene and nutritional metabolism. j represents the set of all mutations in gene j, W v represents the functional weight of the variant gene v, E v Represents the functional impact score of the variant gene v.
6. A method for recommending nutrition during pregnancy based on big data as claimed in claim 5, Features: The building of the nutrition recommendation model based on the processed data is to perform feature selection based on the processed data and use a machine learning algorithm to build the nutrition recommendation model, wherein the feature selection based on the processed data includes gene variation information feature selection, intestinal microbial data feature selection and healthy life feature selection; finally, the nutrition recommendation model is built based on the selected features and using a machine learning algorithm; The gene variation information feature selection is performed based on the calculated gene variation impact score, and the specific calculation formula is as follows: Among them, S g represents the total impact score of gene g, w i represents the weight of the i-th influencing factor, f i (g) represents the score of gene g on the i-th influencing factor, and n represents the number of factors; The intestinal microbial data feature selection is performed based on the calculated Shannon diversity index, and the specific calculation formula is as follows: Among them, H represents the calculated Shannon diversity index, S represents the total number of microbial species, and p i ′ represents the relative abundance of the i-th bacterial species; The healthy life feature selection is performed based on the calculated metabolic risk score, and the specific calculation formula is as follows: R=a 1 ·BP+a 2 ·BG+a 3 ·BMI Among them, BP represents the collected blood pressure data, BG represents the collected blood sugar data, BMI represents the body mass index of pregnant women, α 1 , α 2 , α 3 They represent weight coefficients respectively.
7. A method for recommending nutrition during pregnancy based on big data as claimed in claim 6, Features: The method of constructing a nutrition recommendation model using a machine learning algorithm is to use the selected feature data as a data set for model training and testing, train the model using a machine learning algorithm, and finally evaluate the model using a test set; The method of using the selected feature data as a data set for model training and testing is to construct a model input data set according to 70% of the selected feature data as a training set and 30% of the test set. The method of training the model by a machine learning algorithm is to use the training set as a model input by a linear regression algorithm to train the model. The specific implementation formula is as follows: Among them, X represents the feature matrix, which is the input feature matrix constructed by the training set, W represents the weight vector, which is used to control the degree of model training, and b represents the intercept term. Represents the predicted value of the model, which is the predicted value of nutritional recommendations for pregnant women after the current features are input into the model; The method of evaluating the model using the test set is to use the test set as the model input, calculate the evaluation coefficient of the model, and then complete the model test. The specific implementation formula is as follows: Among them, y i Represents the actual value, which is the actual impact of the current feature on pregnant women. It represents the predicted value of the model, which is the predicted value of the nutritional recommendation for pregnant women after the current features are input into the model. y represents the average value of the actual value. λ represents the model evaluation coefficient. The smaller the evaluation coefficient, the more accurate the model evaluation.
8. A system using the method for recommending nutrition during pregnancy based on big data as claimed in any one of claims 1 to 7, It is characterized in that Including data collection module, data processing module, model building module and personalized nutrition recommendation module; The data collection module is used to collect data related to pregnant women; The data processing module is used to complete data processing on the collected data; The model building module builds a nutrition recommendation model based on the processed data; The personalized nutrition recommendation module implements personalized nutrition recommendations based on the nutrition recommendation model.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Method and system for constructing nutrition state outcome prediction model based on dynamic body weight
CN119833108A
Big data-based pregnant and lying-in woman health dynamic monitoring system and method
CN121662423A
