A digestive tract health data analysis method and system
Through technologies such as convolutional neural network, Faster R-CNN, long short-term memory network and random forest algorithm, combined with topological data analysis and medical knowledge graph, it solves the problem of lack of targeted lesion identification and treatment plan in traditional digestive tract health data analysis methods. problem, achieving efficient and accurate lesion identification and personalized treatment recommendations.
Patent Information
- Application Number
- CN202410977898.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-22
AI Technical Summary
Traditional digestive tract health data analysis methods lack efficient image recognition and target detection technology, making lesion identification time-consuming and error-prone. It is difficult to accurately capture the changing trends of health data, and treatment plans lack pertinence and predictability, affecting diagnosis and treatment effects.
The convolutional neural network combined with the Faster R-CNN target detection algorithm is used to identify the lesion area, the long short-term memory network analyzes time series data, the random forest algorithm identifies abnormal patterns, and topological data analysis and medical knowledge graph reasoning are used to generate personalized treatment recommendations.
It improves the accuracy and processing speed of lesion area detection, enhances the ability to predict disease development trends, identifies abnormal patterns and potential signs of disease, provides personalized treatment suggestions, and enhances the accuracy and pertinence of diagnosis and treatment.
Smart Images

Figure CN118522467B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of health data analysis, and in particular to a method and system for analyzing digestive tract health data. Background Art
[0002] The field of health data analysis technology focuses on using computer technology, statistical methods and algorithms to analyze health-related data to extract valuable medical and biological information. Applications in this field include disease prediction, health risk assessment, treatment effect evaluation and the formulation of personalized medical plans. Technological development is driving healthcare from traditional experience-driven to data-driven, enhancing the accuracy and efficiency of disease diagnosis and treatment.
[0003] Among them, the digestive tract health data analysis method is a data analysis technology applied in the field of digestive tract health management and disease diagnosis. Its main purpose is to identify health problems, predict disease development trends, and assist doctors in formulating treatment plans by analyzing patients' digestive tract health data. This method aims to improve the diagnostic accuracy of digestive tract diseases, optimize treatment effects, and provide patients with personalized medical solutions. This method can effectively improve the management level of digestive tract diseases and the quality of life of patients.
[0004] Traditional methods of analyzing digestive tract health data lack efficient image recognition and target detection technologies, resulting in a time-consuming and error-prone lesion identification process. In terms of disease progression prediction, traditional methods rely on simple statistical analysis, which makes it difficult to accurately capture complex health data change trends, limiting the possibility of early diagnosis and timely intervention. In terms of treatment recommendations, there is a lack of in-depth analysis and personalized consideration of large amounts of complex data, resulting in a lack of targetedness and predictability in treatment plans, affecting treatment outcomes. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a digestive tract health data analysis method and system.
[0006] In order to achieve the above object, the present invention adopts the following technical solution: a method for analyzing digestive tract health data, comprising the following steps:
[0007] S1: Based on the digestive tract endoscopy image data, the image is denoised by using a Gaussian filter, and the image contrast is enhanced by using histogram equalization. A convolutional neural network is applied to extract visual features from the image through a combination of convolutional layers, ReLU activation layers, and pooling layers to generate visual feature data.
[0008] S2: Based on the visual feature data, the Faster R-CNN target detection algorithm is used to generate candidate regions through the region proposal network, and the convolution features are combined to perform region classification and bounding box regression to identify and locate the lesion area and generate lesion area positioning information;
[0009] S3: Based on the patient's biomarker data and symptom records, a long short-term memory network is used to perform time series data analysis. The long-term dependencies of the data are processed through the gating unit, and the change patterns of health indicators over time are analyzed to generate time series analysis results.
[0010] S4: Based on the time series analysis results, a linear regression model is used to analyze the linear trend in the time series data, extract trend information from historical data, predict the future development direction of health conditions, and generate disease trend prediction results;
[0011] S5: Based on the lesion area location information and the disease trend prediction results, a random forest algorithm is used to identify abnormal information and potential disease precursor signals through a combination of multiple decision trees to generate abnormal pattern recognition results;
[0012] S6: Based on the visual feature data and the time series analysis results, applying topological data analysis, analyzing the topological data structure through persistent homology, identifying the shape and spatial structure features in the data, analyzing the geometric features and association patterns of the data by calculating the Betti number of the data and constructing a persistence graph, and generating a topological structure analysis result;
[0013] S7: Based on the abnormal pattern recognition results and topological structure analysis results, combined with the reasoning analysis based on the medical knowledge graph, a tree structure model is constructed through a decision tree algorithm. According to the causal relationship and probability information in the medical knowledge graph, the benefits and risks of the treatment plan are analyzed to generate personalized treatment recommendations.
[0014] The present invention has improvements in that the visual feature data includes texture features, color distribution, edge information and shape features of the image, the lesion area positioning information includes the coordinate position, area size, shape description and category label of the lesion area, the time series analysis results include the time change trend, periodic pattern and abnormal fluctuation of the patient's health indicators, the disease trend prediction results include the direction, speed and turning point of disease development, the abnormal pattern recognition results include the identified abnormal health patterns, potential risk factors and early warning information, the topological structure analysis results include the topological structure features, structural connections and structural abnormalities of the data, and the personalized treatment recommendations include treatment plan selection, treatment method priority ranking, treatment side effects and risk assessment.
[0015] The improvement of the present invention is that based on the digestive tract endoscopy image data, the image is denoised by a Gaussian filter, and the image contrast is enhanced by using histogram equalization. A convolutional neural network is applied to extract visual features from the image by combining a convolutional layer, a ReLU activation layer, and a pooling layer. The specific steps of generating visual feature data are as follows:
[0016] S101: Based on the digestive tract endoscopy image data, a Gaussian filtering algorithm is used to perform denoising processing, by applying a Gaussian kernel to the pixel points of the image, calculating the weighted average of the surrounding pixel points, reducing the image noise, and generating a denoised image;
[0017] S102: Based on the denoised image, applying a histogram equalization technique, optimizing the pixel intensity distribution of the image by redistributing the pixel intensity values of the image, enhancing the contrast of the image, and generating a contrast-enhanced image;
[0018] S103: Based on the contrast enhanced image, using a convolutional layer in a convolutional neural network, sliding a filter of the convolutional layer on the image, extracting features of a local area, and acquiring a feature map to generate a basic feature map;
[0019] S104: Based on the basic feature map, use the ReLU activation function and the maximum pooling layer to perform feature processing, apply nonlinear transformation to the feature map through the ReLU activation function, optimize the expression ability of the model, use the maximum pooling layer to reduce the spatial dimension of the feature, extract the feature representation, and generate visual feature data.
[0020] The improvement of the present invention is that based on the visual feature data, the Faster R-CNN target detection algorithm is used to generate candidate regions through a region proposal network, and convolution features are combined to perform region classification and bounding box regression to identify and locate the lesion region. The specific steps of generating lesion region positioning information are as follows:
[0021] S201: Based on the visual feature data, using the region proposal network of Faster R-CNN, combining image features and spatial position information, processing the image through a convolution layer, extracting a feature map, and applying an anchor mechanism on the feature map to obtain a candidate frame covering the area where the target exists in the image, and generating candidate region data;
[0022] S202: Based on the candidate region data, using the Pooling layer of Faster R-CNNROI, the candidate regions of different sizes are converted into feature maps of uniform size through cropping and scaling operations to generate a normalized feature map;
[0023] S203: Based on the normalized feature map, the classification layer of Faster R-CNN, the classification and bounding box regression network are applied, the classification network performs category judgment on each region, determines whether there is a lesion in the region, and assigns a corresponding category probability to the region, and uses the bounding box regression network to adjust the position of the candidate box to cover the actual lesion area, and generate adjusted area data;
[0024] S204: Based on the adjusted region data, a non-maximum suppression algorithm is used to reduce overlapping candidate frames, and the position of the lesion region in the image is determined in combination with the classification probability to generate lesion region positioning information.
[0025] The present invention has the following improvements: based on the patient's biomarker data and symptom records, a long short-term memory network is used to perform time series data analysis, the long-term dependencies of the data are processed by the gating unit, and the change patterns of health indicators over time are analyzed. The specific steps for generating time series analysis results are as follows:
[0026] S301: Based on the patient biomarker data and symptom records, missing value interpolation and data normalization techniques were used, using linear interpolation to fill missing data and applying the Z-score method to normalize the data to generate preprocessed time series data;
[0027] S302: Based on the preprocessed time series data, a long short-term memory network model is constructed, where the model consists of multiple long short-term memory network layers, each layer controls the flow and memory of information through a forget gate, an input gate, and an output gate, analyzes the time series data through a gate control unit, learns the long-term dependency of the data, and generates a basic long short-term memory network model;
[0028] S303: Based on the basic long short-term memory network model, the pre-processed time series data is learned, the back propagation algorithm and the gradient descent optimization strategy are applied to optimize the model parameters, and the changing trends and patterns in the time series are identified and learned by the model to generate a trained long short-term memory network model;
[0029] S304: Based on the trained long short-term memory network model, analyze the time series data, apply the model to predict health status changes and trends, mine and identify the change patterns of health indicators over time, and generate time series analysis results.
[0030] The present invention is improved in that, based on the time series analysis results, a linear regression model is used to analyze the linear trend in the time series data, extract trend information from historical data, predict the future direction of health status development, and generate disease trend prediction results in the following specific steps:
[0031] S401: Based on the time series analysis results, principal component analysis is used to convert the original features into a set of linearly unrelated components through linear transformation, so as to capture the change direction of the data, reduce the complexity of the data, and generate feature data;
[0032] S402: Based on the feature data, construct an ordinary least squares linear regression model. The ordinary least squares method constructs a linear relationship between the feature and the prediction target, analyzes the coefficients in the relationship, predicts future change trends, and generates a basic linear regression model;
[0033] S403: Fitting the feature data based on the basic linear regression model, adjusting the model parameters by minimizing the error between the model prediction value and the actual value, and generating a trained linear regression model;
[0034] S404: Based on the trained linear regression model, predict and analyze the future trends in the time series data, infer the linear relationship in the historical data according to the model parameters, predict the future development direction of the health status, and generate disease trend prediction results.
[0035] The present invention is improved in that, based on the lesion area location information and the disease trend prediction results, a random forest algorithm is used to identify abnormal information and potential disease precursor signals through a combination of multiple decision trees, and the specific steps of generating abnormal pattern recognition results are as follows:
[0036] S501: Based on the lesion area location information and the disease trend prediction result, data fusion technology is used to perform data fusion operations, and the merge function in the Pandas library is used to align the data according to the preset key value, and a data cleaning method is used to optimize the consistency and integrity of the data set through null value processing and data format unification to generate a fused data set;
[0037] S502: Based on the fused data set, a random forest model is constructed, by initializing multiple decision trees, and setting randomly selected data samples and feature parameters to optimize the randomness and diversity of the model, thereby generating a basic random forest model;
[0038] S503: Based on the fused data set, the basic random forest model is trained, a decision tree is used as a basic learner, features in the data set are learned, self-help aggregation is applied, prediction results of multiple decision trees are integrated, and the number of trees in the random forest, the depth of the trees, and the random selection parameters of the features are adjusted to optimize the model performance and generate a trained random forest model;
[0039] S504: Based on the trained random forest model, perform abnormal pattern recognition on the fused data set, use the classification ability of the model to analyze and identify abnormal patterns and potential disease precursors in the data, and generate abnormal pattern recognition results.
[0040] The present invention has the following improvements: based on the visual feature data and the time series analysis results, applying topological data analysis, analyzing the topological data structure through persistent homology, identifying the shape and spatial structure features in the data, analyzing the geometric features and association patterns of the data by calculating the Betti number of the data and constructing a persistent graph, and generating the topological structure analysis results.
[0041] S601: Based on the visual feature data and the time series analysis results, the visual feature data and the time series data are matched and merged according to the common identifiers through a database connection algorithm, and data cleaning technology is applied to optimize the consistency and integrity of the data set through missing value processing and data format standardization to generate an integrated data set;
[0042] S602: Based on the integrated data set, applying persistent homology, extracting topological features, analyzing multi-dimensional geometric features in the data set, including shape and spatial structure features, revealing the topological properties of the data, and generating topological feature data;
[0043] S603: Based on the topological feature data, using a persistent homology algorithm, analyzing the multidimensional geometric structure in the topological feature data, identifying and classifying holes in the data, and performing Betti number calculations to quantitatively describe the number and type of holes in the data, quantify the geometric characteristics of the data, and generate Betti number calculation results;
[0044] S604: Based on the Betti number calculation results, a persistence graph is constructed to visualize the topological structure of the data. By showing the geometric features in the data and the persistence that changes with scale, the inherent correlation pattern of the data is revealed, and a topological structure analysis result is generated.
[0045] The present invention has been improved in that, based on the abnormal pattern recognition results and the topological structure analysis results, combined with the reasoning analysis based on the medical knowledge graph, a tree structure model is constructed through a decision tree algorithm, and the benefits and risks of the treatment plan are analyzed according to the causal relationship and probability information in the medical knowledge graph. The specific steps of generating personalized treatment recommendations are as follows:
[0046] S701: Based on the abnormal pattern recognition results and the topological structure analysis results, a principal component analysis algorithm is used to reduce the data dimension through linear transformation technology, calculate the covariance matrix of the data, screen the features that affect disease prediction, reduce redundant information, and generate screening data;
[0047] S702: Based on the abnormal pattern recognition results and the topological structure analysis results, a K-means clustering algorithm is applied to divide the data set into multiple groups by calculating the Euclidean distance between samples and iteratively optimizing the cluster centers, identifying the differentiated stages of disease development, and generating clustering result data;
[0048] S703: Based on the screening data and clustering result data, combined with the medical knowledge graph, using the Bayesian network algorithm, by constructing a directed acyclic graph, representing the conditional dependency relationship between variables, calculating the conditional probability of the treatment plan, and generating causal relationship data;
[0049] S704: Based on the screening data, clustering result data and causal relationship data, a classification regression tree algorithm is used to recursively binary each node to construct a tree structure model, and Gini impurity and mean square error are used as segmentation criteria to refine the decision tree structure and generate personalized treatment recommendations.
[0050] A digestive tract health data analysis system, the system comprising an image enhancement module, a feature extraction and classification module, a time series analysis module, a data fusion and anomaly detection module, a topological feature analysis module, and a decision support module;
[0051] The image enhancement module performs denoising on the image based on the digestive tract endoscopy image data through a Gaussian filter, and enhances the image contrast by using histogram equalization to generate a contrast-enhanced image;
[0052] The feature extraction and classification module is based on the contrast enhanced image and applies a convolutional neural network to extract visual features from the image through a combination of a convolutional layer, a ReLU activation layer, and a pooling layer to obtain visual feature data, and adopts the Faster R-CNN target detection algorithm to generate candidate regions through a region proposal network, and combines the convolutional features to perform region classification and bounding box regression, identify and locate the lesion area, and generate lesion area location information;
[0053] The time series analysis module uses a long short-term memory network to analyze time series data based on patient biomarker data and symptom records, processes the long-term dependencies of data through a gating unit, analyzes the change patterns of health indicators over time, obtains time series analysis results, uses a linear regression model to analyze the linear trends in time series data, extracts trend information from historical data, predicts the future direction of health status development, and generates disease trend prediction results;
[0054] The data fusion and anomaly detection module uses a random forest algorithm based on the lesion area location information and the disease trend prediction results to identify abnormal information and potential disease precursor signals through a combination of multiple decision trees to generate abnormal pattern recognition results;
[0055] The topological feature analysis module applies topological data analysis based on visual feature data and time series analysis results, analyzes the topological data structure through persistent homology, identifies the shape and spatial structure features in the data, calculates the Betti number of the data and constructs a persistent graph, analyzes the geometric features and association patterns of the data, and generates topological structure analysis results;
[0056] The decision support module is based on the abnormal pattern recognition results and topological structure analysis results, combined with the reasoning analysis based on the medical knowledge graph, and uses the decision tree algorithm to construct a tree structure model. According to the causal relationship and probability information in the medical knowledge graph, the benefits and risks of the treatment plan are analyzed to generate personalized treatment recommendations.
[0057] Compared with the prior art, the advantages and positive effects of the present invention are:
[0058] In the present invention, through the combination of convolutional neural network and Faster R-CNN target detection algorithm, not only the accuracy of lesion area detection is improved, but also the processing speed is greatly improved, and fast and accurate lesion identification is achieved. The analysis of time series data by long short-term memory network enhances the ability to predict the development trend of the disease and provides data support for early diagnosis and intervention. When processing large amounts of complex data, the random forest algorithm can effectively identify abnormal patterns and potential disease precursors and enhance early warning capabilities. The application of topological data analysis provides a new perspective for understanding the geometric structure and intrinsic correlation of lesions. The decision tree algorithm combined with the medical knowledge graph not only provides personalized treatment recommendations, but also takes into account the comprehensive benefits and risks of the treatment plan, making diagnosis and treatment more accurate and personalized. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A flow chart of a digestive tract health data analysis method is proposed for the present invention;
[0060] Figure 2 A schematic diagram of a detailed flow chart of step S1 in a digestive tract health data analysis method proposed by the present invention;
[0061] Figure 3 A schematic diagram of a detailed flow chart of step S2 in a digestive tract health data analysis method proposed by the present invention;
[0062] Figure 4 A schematic diagram of a detailed flow chart of step S3 in a digestive tract health data analysis method proposed by the present invention;
[0063] Figure 5 A schematic diagram of a detailed flow chart of step S4 in a digestive tract health data analysis method proposed by the present invention;
[0064] Figure 6A schematic diagram of a detailed flow chart of step S5 in a digestive tract health data analysis method proposed by the present invention;
[0065] Figure 7 A schematic diagram of a detailed flow chart of step S6 in a digestive tract health data analysis method proposed by the present invention;
[0066] Figure 8 A detailed flow chart of step S7 in a digestive tract health data analysis method is proposed in the present invention;
[0067] Fig. 9 A module diagram of a digestive tract health data analysis system is proposed for the present invention. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0069] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the accompanying 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 orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. Example
[0070] See also Figure 1 The present invention provides a technical solution: a method for analyzing digestive tract health data, comprising the following steps:
[0071] S1: Based on the digestive tract endoscopy image data, the image is denoised by using a Gaussian filter, and the image contrast is enhanced by using histogram equalization. A convolutional neural network is applied to extract visual features from the image through a combination of convolutional layers, ReLU activation layers, and pooling layers to generate visual feature data.
[0072] S2: Based on visual feature data, the Faster R-CNN target detection algorithm is used to generate candidate regions through the region proposal network. Combined with convolutional features, region classification and bounding box regression are performed to identify and locate the lesion area and generate lesion area location information.
[0073] S3: Based on the patient's biomarker data and symptom records, a long short-term memory network is used to perform time series data analysis. The long-term dependencies of the data are processed through the gating unit, and the change patterns of health indicators over time are analyzed to generate time series analysis results.
[0074] S4: Based on the time series analysis results, a linear regression model is used to analyze the linear trend in the time series data, extract trend information from historical data, predict the future direction of health status, and generate disease trend prediction results;
[0075] S5: Based on the location information of the lesion area and the prediction results of the disease trend, the random forest algorithm is used to identify abnormal information and potential disease precursor signals through the combination of multiple decision trees to generate abnormal pattern recognition results;
[0076] S6: Based on the visual feature data and time series analysis results, apply topological data analysis, analyze the topological data structure through persistent homology, identify the shape and spatial structure characteristics in the data, calculate the Betti number of the data and construct a persistent graph to analyze the geometric characteristics and association patterns of the data, and generate topological structure analysis results;
[0077] S7: Based on the results of abnormal pattern recognition and topological structure analysis, combined with reasoning analysis based on the medical knowledge graph, a tree structure model is constructed through the decision tree algorithm. According to the causal relationship and probability information in the medical knowledge graph, the benefits and risks of the treatment plan are analyzed to generate personalized treatment recommendations.
[0078] Visual feature data include image texture features, color distribution, edge information and shape features; lesion area positioning information includes the coordinate position, area size, shape description and category label of the lesion area; time series analysis results include the temporal change trends, periodic patterns and abnormal fluctuations of patients’ health indicators; disease trend prediction results include the direction, speed and turning points of disease development; abnormal pattern recognition results include identified abnormal health patterns, potential risk factors and early warning information; topological structure analysis results include the topological structure features, structural connections and structural abnormalities of the data; personalized treatment recommendations include treatment plan selection, treatment method priority ranking, treatment side effects and risk assessment.
[0079] In step S1, based on the gastrointestinal endoscopy image data, a Gaussian filter is used to denoise the image. The Gaussian filter applies a Gaussian function around each pixel and calculates the weighted average of the surrounding pixels to effectively remove random noise in the image. Then, the histogram equalization technique is used to adjust the pixel intensity distribution of the image to enhance the image contrast, making the image clearer and easier to process. A convolutional neural network is applied. This network effectively extracts visual feature data such as texture features, color distribution, edge information, and shape features of the image through a combination of convolutional layers, ReLU activation layers, and pooling layers. The convolutional layer is responsible for extracting local features in the image, the ReLU activation layer increases nonlinearity and improves the expression ability of the model, and the pooling layer is used to reduce the dimension of the feature and the amount of calculation, thereby generating visual feature data and providing a basis for the subsequent identification and positioning of the lesion area.
[0080] In step S2, based on the visual feature data obtained from the previous step, the Faster R-CNN target detection algorithm is used to identify and locate the lesion area. Faster R-CNN generates candidate regions through a region proposal network, which uses convolutional features to predict the bounding boxes and object scores of candidate regions, and classifies and regresses these candidate regions to accurately identify and locate the lesion area. The algorithm can not only accurately determine the coordinate position, area size, shape description and category label of the lesion area, but also adjust the position of the candidate area through bounding box regression to ensure that the actual lesion area is covered, and the lesion area positioning information is generated, which provides an important basis for subsequent analysis and treatment.
[0081] In step S3, based on the patient's biomarkers and symptom records, a long short-term memory network is used to analyze time series data. The long short-term memory network processes the long-term dependencies of data through its unique gating units. The gating units can decide whether to retain or discard information, thereby effectively capturing the changing patterns of health indicators over time, including periodic patterns and abnormal fluctuations. The long short-term memory network determines which information needs to be discarded through the forgetting gate, then adds new information to the cell state through the input gate, and determines the output value through the output gate. This structure enables the long short-term memory network to avoid the gradient vanishing problem in traditional neural networks when processing long time series data, improve the accuracy and reliability of predictions, and the generated time series analysis results can show the detailed changing trends of patients' health indicators over time, providing strong data support for early prediction and intervention of diseases.
[0082] In step S4, based on the results of time series analysis, a linear regression model is used to analyze the linear trends in the time series data. The linear regression model extracts trend information from historical data by constructing a linear relationship between time series data and health status and analyzing the coefficients in this relationship. It can identify and quantify linear trends in the data and predict the future development direction of health status, including the speed of disease development and possible turning points. It can extract key trend information from historical data, provide predictions for patients' future health status, and generate disease trend prediction results. The results are of great value for clinical decision-making and patient health management.
[0083] In step S5, the random forest algorithm is used for data analysis by comprehensively considering the location information of the lesion area and the prediction results of the disease trend. The random forest algorithm improves the generalization ability and accuracy of the model by constructing multiple decision trees and introducing randomness between these trees. In the construction process of each decision tree, the algorithm randomly selects different data subsets and features. This method reduces the model's excessive dependence on specific data samples and increases the robustness of the model. Through the integrated learning of these decision trees, the random forest can effectively identify abnormal information and potential disease precursor signals. Each decision tree independently evaluates the data, and the final result is obtained by voting or averaging the outputs of all trees. This not only improves the accuracy of abnormal pattern recognition, but also increases the model's adaptability to complex data. The generated abnormal pattern recognition results not only include the identified abnormal health patterns and potential risk factors, but also provide a comprehensive perspective on early warning information, providing a scientific basis for clinical intervention and disease management.
[0084] In step S6, topological data analysis techniques, especially persistent homology, are applied to analyze the topological structure of the data by combining visual feature data and time series analysis results. Persistent homology explores the multidimensional geometric features in the data set, identifies shape and spatial structural features, and calculates the Betti number of the data, which is a measure of the number of holes in the topological space. It can reveal the structural features in the data and construct a persistence graph, which can depict the geometric features and persistence of the data as it changes with scale. Through these analyses, the topological structure analysis results not only include the topological structure characteristics of the data, but also reflect the structural connections and potential structural abnormalities, providing a new perspective for understanding the inherent patterns of complex health data.
[0085] In step S7, based on the abnormal pattern recognition results and topological structure analysis results, combined with the medical knowledge graph, the decision tree algorithm is used to build personalized treatment recommendations. The decision tree algorithm builds a tree structure model to analyze data characteristics and patient conditions. In the model construction process, each node represents a decision problem, and the branches represent possible answers or results based on the causal relationship and probability information in the medical knowledge graph. This method can comprehensively consider the benefits and risks of the treatment plan and provide customized treatment recommendations for each patient. The decision tree model simplifies the complex decision-making process to make the treatment recommendations clearer and more operational, including treatment plan selection, priority ranking of treatment methods, potential treatment side effects and risk assessment, thereby providing patients with more accurate and personalized medical services.
[0086] See also Figure 2 Based on the digestive tract endoscopy image data, the image is denoised by using a Gaussian filter, and the image contrast is enhanced by using histogram equalization. The convolutional neural network is applied to extract visual features from the image through a combination of convolutional layers, ReLU activation layers, and pooling layers. The specific steps for generating visual feature data are as follows:
[0087] S101: Based on the digestive tract endoscopy image data, a Gaussian filtering algorithm is used to perform denoising processing, by applying a Gaussian kernel to the pixel points of the image, calculating the weighted average of the surrounding pixel points, reducing the image noise, and generating a denoised image;
[0088] S102: Based on the denoised image, a histogram equalization technique is applied to optimize the pixel intensity distribution of the image by redistributing the pixel intensity values of the image, thereby enhancing the contrast of the image and generating a contrast enhanced image;
[0089] S103: Based on the contrast enhanced image, using the convolution layer in the convolutional neural network, sliding the filter of the convolution layer on the image, extracting features of the local area, and obtaining a feature map to generate a basic feature map;
[0090] S104: Based on the basic feature map, use the ReLU activation function and the maximum pooling layer to perform feature processing, apply nonlinear transformation to the feature map through the ReLU activation function, optimize the expression ability of the model, use the maximum pooling layer to reduce the spatial dimension of the feature, extract the feature representation, and generate visual feature data.
[0091] In sub-step S101, denoising is performed using a Gaussian filtering algorithm. In the gastrointestinal endoscopic image data, the size and standard deviation of the Gaussian kernel are determined. These two parameters directly affect the filtering effect. The size of the Gaussian kernel determines the range of the smoothing effect. Usually an odd number such as 5x5 or 3x3 is selected. The standard deviation controls the shape of the Gaussian function, reflecting the degree of influence of the surrounding pixels on the central pixel. The Gaussian function is applied to the pixels around each pixel, and the weighted average is calculated. Each pixel of the image is traversed, and the Gaussian kernel and the values of its adjacent pixels are weighted averaged to achieve a denoising effect. The generated denoised image retains the details of the original image while effectively reducing the random noise in the image, providing a clearer basis for subsequent image processing.
[0092] In sub-step S102, the denoised image is processed using histogram equalization technology to optimize the pixel intensity distribution of the image and enhance the image contrast. Histogram equalization redistributes the pixel intensity values of the image to make the pixel intensity distribution of the entire image more uniform. By calculating the grayscale histogram of the image, and then calculating the cumulative distribution function based on the histogram, and finally adjusting the intensity value of each pixel in the image according to the cumulative distribution function, the contrast of the image can be significantly enhanced, making the details that were originally difficult to distinguish more clearly visible, laying the foundation for accurate identification of the lesion area.
[0093] In sub-step S103, feature extraction is performed based on the contrast enhanced image using the convolutional layer in the convolutional neural network. The convolutional layer slides on the image through a series of filters to capture the features of the local area. The parameters of these filters will affect the effect of feature extraction. Each filter is responsible for extracting a specific feature from the image, such as edges, textures, or color changes. The convolutional layer can extract useful feature information from the image and generate a feature map. Each filter will produce a feature map. These feature maps together constitute the basic feature representation of the image. The feature map provides rich information for object recognition in the image, especially for the recognition of lesion areas in gastrointestinal endoscopic images.
[0094] In sub-step S104, feature processing is performed using the ReLU activation function and the maximum pooling layer based on the basic feature map. The role of the ReLU activation function is to introduce nonlinearity and set all negative values to zero. This not only accelerates the training process of the neural network, but also enhances the model's ability to handle nonlinear problems. The maximum pooling layer is used to reduce the spatial dimension of the feature map by extracting the maximum value of each local area to retain the most important feature information, while reducing the amount of calculation and preventing overfitting. The visual feature data generated in this step contains key information and is very helpful for subsequent lesion area identification and classification.
[0095] Assume that in a digestive tract health data analysis, a set of digestive tract endoscopy image data is obtained, each image size is 512x512 pixels, in step S101, a 5x5 Gaussian kernel with a standard deviation of 1.5 is selected to denoise the image, and the noise of the processed image is significantly reduced. In step S102, the image contrast is significantly improved and the details are clearer through the histogram equalization technology. In step S103, a convolution layer with 32 filters is used, each filter size is 3x3, and the step size is 1. These filters are used to extract the basic features of the image. In step S104, the ReLU activation function and the 2x2 maximum pooling layer are applied to further process the obtained feature map. The generated visual feature data lays a solid foundation for the subsequent identification and classification of lesion areas.
[0096] See also Figure 3 ,Based on visual feature data, the Faster R-CNN target detection algorithm is used,,the candidate regions are generated through the region proposal network,,and convolution features are combined to perform region classification and,boundary regression to identify and locate the lesion region.,The specific steps for generating the lesion region location information are as follows,
[0097] S201: Based on visual feature data, the Faster R-CNN region proposal network is used to combine image features and spatial location information, process the image through a convolutional layer, extract feature maps, and apply an anchor mechanism on the feature maps to obtain candidate frames covering the area where the target exists in the image, and generate candidate region data;
[0098] S202: Based on the candidate region data, the Pooling layer of Faster R-CNNROI is used to convert the candidate regions of different sizes into feature maps of uniform size through cropping and scaling operations to generate a normalized feature map;
[0099] S203: Based on the normalized feature map, the classification layer of Faster R-CNN, the classification and bounding box regression network are applied. The classification network makes a category judgment on each region to determine whether there is a lesion in the region and assigns a corresponding category probability to the region. The bounding box regression network is used to adjust the position of the candidate box to cover the actual lesion area and generate adjusted region data.
[0100] S204: Based on the adjusted region data, a non-maximum suppression algorithm is used to reduce overlapping candidate frames, and the position of the lesion region in the image is determined in combination with the classification probability to generate lesion region positioning information.
[0101] In sub-step S201, the visual feature data is processed by the region proposal network of Faster R-CNN. The region proposal network first receives the visual feature data generated from the previous step. These data are usually feature maps in the form of multidimensional arrays. The convolution layer continues to process the image and extract deeper features. The network uses the anchor mechanism to locate potential target areas on the feature map. Anchors are a predefined set of boxes of different sizes and proportions. They cover different positions in the image and are used to predict areas where targets may exist. The region proposal network generates two outputs for each anchor: one is the probability of target existence, and the other is the coordinates of the frame that adjusts the anchor position. Candidate region data is generated, which includes multiple candidate frames. Each frame contains the location information of potential targets, laying the foundation for the next step of target detection and recognition.
[0102] In sub-step S202, the ROI Pooling layer in Faster R-CNN is used to process the candidate region data. Since the sizes and shapes of the candidate regions are different, in order to uniformly process them, these regions need to be converted into feature maps of uniform size. The ROI Pooling layer achieves this conversion through cropping and scaling operations. It crops the feature map according to the coordinates of the candidate region, and then scales the cropped region to a predetermined size, so that each candidate region is converted into a fixed-size feature map. These standardized feature maps make subsequent classification and bounding box regression operations more efficient and unified, ensuring that candidate regions of different sizes and shapes can be effectively processed.
[0103] In sub-step S203, the classification layer and bounding box regression network of Faster R-CNN are applied based on the normalized feature map. The task of the classification layer is to make category judgments on each normalized candidate region, determine whether these regions have lesions, and assign corresponding category probabilities to each region. This step involves analyzing the features of each candidate region, using the classification network to output the probability that each region belongs to each category, and the bounding box regression network adjusts the position of the candidate box so that it covers the actual lesion area more accurately. This adjustment is based on the spatial information in the normalized feature map. By learning the typical shapes and positions of targets of different categories, the size and position of the candidate box are optimized, and the adjusted region data is generated, which contains the category information and precise position coordinates of each candidate region, which is crucial for accurately identifying and locating the lesion area.
[0104] In sub-step S204, a non-maximum suppression algorithm is used based on the adjusted regional data. Since the same lesion area may be covered by multiple candidate frames, there are overlapping candidate frames. The purpose of the non-maximum suppression algorithm is to reduce these overlapping candidate frames and retain only the best candidate frames. The candidate frames are sorted based on their category probabilities, the candidate frames with the highest probability are selected, and then other candidate frames with a high degree of overlap are removed. This process is repeated until all candidate frames are processed, effectively reducing overlapping candidate frames and retaining the areas most likely to contain lesions. The generated lesion area positioning information includes the precise position and size of the lesion area in the image, which is of great significance for subsequent clinical diagnosis and treatment planning.
[0105] Assume that when analyzing a set of gastrointestinal endoscopy images, the region proposal network in step S201 is used to generate about 1000 candidate regions on the image feature map. Each candidate region has different sizes and shapes, covering different potential target areas in the image. In step S202, these candidate regions are identified by ROI. The pooling layer is converted into a 7x7 feature map of uniform size. In step S203, these feature maps are fed into the classification network. The network determines whether there is a lesion in each area and assigns a category probability to it. The bounding box regression network fine-tunes the position of each candidate area to more accurately cover the lesion area. For example, for a candidate area, the classification network may determine that the probability of it being a lesion area is 0.85, and the bounding box regression network adjusts its position to more accurately match the actual location of the lesion. In step S204, the non-maximum suppression algorithm is applied to process these candidate areas, remove overlapping candidate boxes, and retain only the most representative areas. For example, if the overlap between two candidate boxes exceeds a certain threshold and the category probability of one is significantly higher than that of the other, the candidate box with a higher probability is retained and the other is removed. Finally, this process obtains accurate lesion area positioning information, such as a lesion area may be located at the (150, 200, 300, 350) coordinate position in the image, which is crucial for diagnosis and subsequent treatment planning.
[0106] See also Figure 4 ,Based on the patient biomarker data and symptom records, a long short-term memory network is used to ,perform time series data analysis. The long-term dependencies of the data are ,processed by the gating unit, and the change patterns of health indicators ,over time are analyzed. The specific steps to generate time series analysis ,results are as follows,
[0107] S301: Based on the patient biomarker data and symptom records, missing value interpolation and data normalization techniques were used, using linear interpolation to fill missing data and applying the Z-score method to normalize the data to generate preprocessed time series data;
[0108] S302: Based on the preprocessed time series data, a long short-term memory network model is constructed. The model consists of multiple long short-term memory network layers. Each layer controls the flow and memory of information through a forget gate, an input gate, and an output gate. The time series data is analyzed through a gate control unit, the long-term dependency of the data is learned, and a basic long short-term memory network model is generated.
[0109] S303: Based on the basic long short-term memory network model, the preprocessed time series data is learned, the back propagation algorithm and the gradient descent optimization strategy are applied to optimize the model parameters, and the changing trends and patterns in the time series are identified and learned by the model to generate the trained long short-term memory network model;
[0110] S304: Based on the trained long short-term memory network model, analyze the time series data, apply the model to predict health status changes and trends, mine and identify the change patterns of health indicators over time, and generate time series analysis results.
[0111] In sub-step S301, the patient biomarker data and symptom records are preprocessed by missing value interpolation and data standardization techniques, and the missing data are filled using the linear interpolation method. Linear interpolation is to find the data points before and after the missing value, and based on these data points, predict the missing value through a linear relationship. This method is suitable for situations where the data changes relatively smoothly. For example, if the measurement values of a biomarker of a patient are 10, _, and 12 for three consecutive days, then the missing value in the middle can be estimated to be 11. The Z-score method is used to normalize the data. The Z-score method is achieved by calculating the difference between each data point and the mean and dividing it by the standard deviation. This method converts the original data into a standard score, which helps to eliminate the impact of different scales or dimensions on data analysis and generate preprocessed time series data. While eliminating the dimension and scale differences, these data also fill the missing values, providing a homogenized and complete data basis for subsequent deep learning analysis.
[0112] In sub-step S302, a long short-term memory network model is constructed based on the preprocessed time series data. The long short-term memory network model is particularly suitable for processing time series data, and it can learn long-term dependencies in the data. A long short-term memory network unit consists of a forget gate, an input gate, and an output gate. The forget gate determines the extent to which information is removed from the unit state; the input gate controls the addition of new information; and the output gate determines the value of the next hidden state. Through this structure, the long short-term memory network can find a balance between remembering old information and learning new information. When building the model, multiple long short-term memory network layers are stacked to improve the learning ability and complexity of the model. The basic long short-term memory network model generated in this step is an untrained initial model, which lays the foundation for subsequent training and optimization.
[0113] In sub-step S303, the basic long short-term memory network model is trained and optimized, and the model parameters are adjusted using the back propagation algorithm and the gradient descent optimization strategy. The model receives the input time series data, calculates the output by forward propagation, and then calculates the error by comparing the difference between the output result and the actual value. The error is fed back to the model using the back propagation algorithm, and the error is reduced by adjusting the weights and biases in the network. The gradient descent optimization strategy is used to determine the direction and step size of these adjustments to ensure that the model parameters can be effectively updated. It will involve the adjustment of hyperparameters such as learning rate and momentum to ensure the stability and efficiency of model training. After training, a trained long short-term memory network model is generated. This model can recognize and learn the changing trends and patterns in the time series to provide support for subsequent predictions and analysis.
[0114] In sub-step S304, the time series data is analyzed based on the trained long short-term memory network model. The model uses the knowledge learned in the previous steps to predict changes and trends in health status. By analyzing the patient's biomarker data and symptom records, the model can explore the changing patterns of health indicators over time, such as periodic changes, emergencies or long-term trends. These analysis results can help doctors better understand the patient's health status and predict possible health risks or disease development in the future. The generated time series analysis results are a detailed description of the dynamic changes in the patient's health status, providing important data support for clinical decision-making.
[0115] Assume that in a digestive health data analysis, a set of patient biomarker data and symptom records are collected, including blood test indicators, body temperature, weight, etc. In step S301, it is found that some data are missing. For example, a patient's weight record is not recorded for 5 days in the past 30 days. The linear interpolation method is used to estimate these missing values through the weight data of adjacent days. If a patient's weight on the 10th and 12th days is 65kg and 67kg respectively, then the weight on the 11th day can be estimated as 66kg. The Z-score method is used to interpolate all data. Standardization eliminates the dimensional effects between different indicators to make the data more uniform and comparable. For example, the temperature and weight data are converted into standard scores. In step S302, a network model containing three long short-term memory network layers is constructed to process these standardized time series data. Each long short-term memory network layer contains a forget gate, an input gate, and an output gate to capture the long-term dependencies in the time series data. The model may learn the long-term trend of temperature changes or the periodic fluctuation pattern of weight. In step S303, multiple iterations of training are used to optimize this long short-term memory network layer. Short-term memory network model, in each iteration, the model adjusts parameters through the back propagation algorithm and gradient descent optimization strategy to reduce the difference between the predicted output and the actual data. For example, if the weight trend predicted by the model is significantly different from the actual record, the model will improve its prediction accuracy by adjusting the internal weights, for example, adjusting the learning rate to 0.01, and applying the Adam optimizer to update the parameters to improve the performance of the model on the training data. After dozens of iterations, the model has learned the key trends and patterns in the data and generated a trained long short-term memory network model. In step S304, the trained model is used to conduct an in-depth analysis of the time series data. The model predicts the patient's future health trend by analyzing past biomarker data and symptom records. For example, the model may find that a patient's weight gradually increases, which may indicate a potential health problem. The model can also identify abnormal fluctuations in specific biomarkers, which may be an early signal of the development of a disease. The generated time series analysis results not only describe in detail the changes in the patient's health status, but also provide doctors with potential health risk warnings, which helps to take preventive or intervention measures in a timely manner.
[0116] See also Figure 5 ,Based on the time series analysis results, the linear regression model is used to analyze the linear trend in the time series data, extract trend information from historical data, and predict the future development direction of health status. The specific steps to generate disease trend prediction results are as follows,
[0117] S401: Based on the time series analysis results, principal component analysis is used to convert the original features into a set of linearly unrelated components through linear transformation, so as to capture the direction of data change, reduce data complexity, and generate feature data;
[0118] S402: Based on the feature data, an ordinary least squares linear regression model is constructed. The ordinary least squares method constructs a linear relationship between the feature and the prediction target, analyzes the coefficients in the relationship, predicts future change trends, and generates a basic linear regression model;
[0119] S403: Fitting the feature data based on the basic linear regression model, adjusting the model parameters by minimizing the error between the model prediction value and the actual value, and generating a trained linear regression model;
[0120] S404: Based on the trained linear regression model, predict and analyze the future trends in the time series data, infer the linear relationship in the historical data according to the model parameters, predict the future development direction of the health status, and generate disease trend prediction results.
[0121] In sub-step S401, the time series analysis results are processed by principal component analysis technology. The data obtained from the time series analysis usually contains multiple variables, such as various indicators of biomarkers. These data may have certain correlations. The purpose of principal component analysis is to convert these possibly correlated variables into a set of linearly uncorrelated variables, namely principal components. Through linear transformation, principal component analysis identifies the most important directions in the data, which are the principal components. They capture the main change directions and characteristics of the data. For example, if there are 10 variables in the original data, principal component analysis may compress them into 3 principal components containing the main information. This process involves calculating the covariance matrix of the data and then extracting the eigenvalues and eigenvectors of the covariance matrix. The eigenvectors corresponding to the largest eigenvalues are the principal components. This method reduces the complexity of the data while retaining the most critical information. The generated feature data is more suitable for further analysis and modeling.
[0122] In sub-step S402, an ordinary least squares linear regression model is constructed based on the feature data. The ordinary least squares method predicts future trends by establishing a linear relationship between the feature and the prediction target and analyzing the coefficients in these relationships. For example, a linear regression model can be established by using the principal components in the feature data as independent variables and a key health indicator such as blood pressure as a dependent variable. The model will try to find a linear equation to predict the blood pressure value using these principal components as input. When building the model, the coefficients between each feature and the prediction target are calculated. These coefficients reflect the degree of influence of each feature on the prediction target. The basic linear regression model generated in this step is an untrained initial model, which provides a basis for subsequent model training and optimization.
[0123] In sub-step S403, the basic linear regression model is trained and optimized. This process involves fitting the model using feature data, that is, adjusting the model parameters to minimize the error between the model predicted value and the actual value. For example, if the blood pressure value predicted by the model is significantly different from the actual measured value, the model will reduce this difference by adjusting the coefficient. During the training process, the mean square error is usually used as the loss function, that is, the sum of the squares of the differences between the predicted value and the actual value is calculated. In this way, the model can learn how to accurately predict the target value based on the input features. After the training is completed, a trained linear regression model is generated, which can more accurately predict health indicators based on principal components.
[0124] In sub-step S404, a predictive analysis is performed on future trends in the time series data based on the trained linear regression model. The model uses the learned coefficients and relationships to infer the linear relationships in the historical data, thereby predicting the future development direction of the health status. For example, the model can predict the level that the patient's blood pressure may reach in the next few months under the current trend. This prediction not only takes into account the changing trends in the historical data, but also combines the statistical learning results in the model to provide doctors with predictive information about the patient's future health status. The generated disease trend prediction results can help doctors better understand the patient's health risks and formulate corresponding preventive measures or treatment plans.
[0125] See also Figure 6, suppose that in a digestive health data analysis project, researchers collected time series data including blood biochemical indicators, abdominal ultrasound results and patient-reported symptoms. In step S401, the main change direction of these data was extracted through principal component analysis, for example, several indicators with high correlation in blood biochemical indicators were compressed into one principal component. In step S402, a linear regression model was established based on these principal components to predict the patient's future health conditions, such as the risk of gastric ulcer. In step S403, the model was trained and optimized with actual data to improve the accuracy of the prediction. In step S404, the trained model was used to predict and analyze future health trends. The model predicted the probability of gastric ulcer in the patient in the next three months based on the data of the past six months. This prediction was based on the changing trend of blood biochemical indicators and ultrasound examination results. In this way, the generated disease trend prediction results provide doctors with valuable information, which helps them identify potential health risks earlier and make medical interventions in advance.
[0126] Based on the lesion area location information and disease trend prediction results, the random forest algorithm is used to identify abnormal information and potential disease precursor signals through the combination of multiple decision trees. The specific steps for generating abnormal pattern recognition results are as follows:
[0127] S501: Based on the lesion area location information and the disease trend prediction results, data fusion technology is used to perform data fusion operations, and the merge function in the Pandas library is used to align the data according to the preset key values. The data cleaning method is used to optimize the consistency and integrity of the data set through null value processing and data format unification to generate a fused data set;
[0128] S502: Based on the fused data set, a random forest model is constructed, by initializing multiple decision trees, setting randomly selected data samples and feature parameters, optimizing the randomness and diversity of the model, and generating a basic random forest model;
[0129] S503: Based on the fused data set, the basic random forest model is trained, the decision tree is used as the basic learner, the features in the data set are learned, self-service aggregation is applied, the prediction results of multiple decision trees are integrated, and the number of trees in the random forest, the depth of the tree and the random selection parameters of the features are adjusted to optimize the model performance and generate a trained random forest model;
[0130] S504: Based on the trained random forest model, perform abnormal pattern recognition on the fused data set, use the classification ability of the model to analyze and identify abnormal patterns and potential disease precursors in the data, and generate abnormal pattern recognition results.
[0131] In sub-step S501, the lesion area location information and disease trend prediction results are integrated through data fusion technology, and the merge function in the Pandas library is used to align the lesion area location information and disease trend prediction results according to the preset key value to ensure data consistency. For example, the patient ID can be used as the key value to merge the two data sets into a unified data set, and data cleaning operations are performed, including processing null values and unifying data formats. Null value processing refers to filling or deleting missing data to avoid errors in subsequent analysis; data format unification ensures that all data are consistent in format and unit. For example, all date formats are unified as YYYY-MM-DD, and weight units are unified as kilograms. These operations optimize the consistency and integrity of the data set and generate a fused data set. The fused data set not only contains detailed information about the lesion area, but also combines long-term predictions of patient health trends, providing a comprehensive data foundation for subsequent analysis.
[0132] In sub-step S502, a random forest model is constructed based on the fused data set. Random forest is an integrated learning algorithm composed of multiple decision trees, and improves the overall prediction accuracy through a voting mechanism. Multiple decision trees are initialized, and then randomly selected data samples and feature parameters are set to increase the randomness and diversity of the model. For example, for each decision tree, a part of the samples are randomly extracted from the fused data set, and a part of the features are randomly selected for training. This random selection mechanism makes each decision tree different, reduces the risk of overfitting of the model, and improves the generalization ability of the model on unknown data. The generated basic random forest model contains multiple decision trees, each of which is trained based on a random subset of the data set, laying the foundation for subsequent model training and optimization.
[0133] In sub-step S503, the basic random forest model is trained, and the decision tree is used as the basic learner to learn the features in the fused data set. The self-help aggregation method is applied, that is, a randomly extracted data subset is provided to each decision tree, so that each tree is trained independently of other trees. The model performance is optimized by adjusting the number of trees in the random forest, the depth of the tree and the random selection parameters of the features. For example, increasing the number of trees can improve the stability and accuracy of the model, but it will also increase the computational cost. Adjusting these parameters can find the best balance between model performance and computational efficiency. After training and optimization, a trained random forest model is generated. This model can more accurately analyze and predict the features in the fused data set.
[0134] In sub-step S504, the trained random forest model is used to identify abnormal patterns in the fused data set. The random forest model has excellent classification capabilities through the comprehensive prediction results of multiple decision trees within it. In this step, the model analyzes the features in the data set and identifies abnormal patterns that are significantly different from normal patterns. These abnormal patterns may be signals that indicate potential diseases. For example, the model may identify sudden changes in biomarker data of certain patients, which may indicate the onset or worsening of the disease. The generated abnormal pattern recognition results provide doctors with valuable information to help them identify and respond to potential health risks at an early stage, thereby improving the timeliness and effectiveness of medical intervention.
[0135] Assume that in a study on patients with digestive tract diseases, the research team collected multi-source data including gastroscopy results, pathology reports, blood test indicators, etc. In step S501, this information was integrated through data fusion technology to generate a fused data set containing complete patient history records and biomarker indicators. In steps S502 to S504, a random forest model was built and trained to analyze these fused data. For example, by analyzing the relationship between gastroscopy results and blood test indicators, the model identified specific patterns that may indicate early signs of a certain type of digestive tract disease. In S503 In step S504, the model’s performance was optimized by adjusting the number and depth of decision trees, ensuring efficient and accurate analysis of the data set. In step S505, the model successfully identified some abnormal patterns, such as the inconsistency between the blood indicators of some patients and the results of gastroscopy, which may indicate potential health problems. These abnormal pattern recognition results provide clinicians with important auxiliary diagnostic information, helping them to make timely medical interventions before the condition has significantly worsened. Through this comprehensive data analysis method, the research team can have a deeper understanding of the complexity of gastrointestinal diseases and provide patients with more accurate diagnosis and treatment recommendations.
[0136] See also Figure 7 ,Based on the visual feature data and the time series analysis results, ,topological data analysis is applied to analyze the topological data structure ,through persistent homology, and identify the shape and spatial ,structure features in the data. By calculating the Betti number of the data and ,constructing persistence graphs, the geometric features and association patterns of the data ,are analyzed. The specific steps for generating the topological structure ,analysis results are as follows.
[0137] S601: Based on the visual feature data and time series analysis results, the visual feature data and time series data are matched and merged according to the common identifiers through the database connection algorithm, and the data cleaning technology is applied to optimize the consistency and integrity of the data set through missing value processing and data format standardization to generate an integrated data set;
[0138] S602: Based on the integrated data set, apply persistent homology to extract topological features, analyze the multi-dimensional geometric features in the data set, including shape and spatial structure features, reveal the topological properties of the data, and generate topological feature data;
[0139] S603: Based on the topological feature data, using the persistent homology algorithm, analyze the multidimensional geometric structure in the topological feature data, identify and classify the holes in the data, and calculate the Betti number to quantitatively describe the number and type of holes in the data, quantify the geometric characteristics of the data, and generate the Betti number calculation result;
[0140] S604: Based on the Betti number calculation results, a persistence graph is constructed to visualize the topological structure of the data. By showing the geometric features in the data and the persistence that changes with scale, the inherent correlation pattern of the data is revealed, and the topological structure analysis results are generated.
[0141] In sub-step S601, the visual feature data and the time series analysis results are combined through a database connection algorithm, and the visual feature data and the time series data are matched and merged using a common identifier. This process is usually implemented through database operations, such as using SQL statements or the merge function in the Pandas library. In the matching and merging process, problems such as inconsistent data formats or missing values may be encountered. Data cleaning techniques are applied to process the merged data set, including null value processing and data format standardization. Null value processing includes deleting records containing null values or filling null values with specific values. Data format standardization ensures that all data uses a unified format and unifies all numerical data to a specific number of decimal places, generating an integrated data set that combines the results of visual features and time series analysis, providing a rich and consistent data foundation for subsequent in-depth analysis and model building.
[0142] In sub-step S602, persistent homology is applied to perform topological feature extraction based on the integrated data set. Persistent homology is a mathematical method for analyzing and describing the topological structure of data, and is particularly suitable for revealing the shape and spatial structural characteristics of high-dimensional data. By applying persistent homology, topological characteristics such as holes and connected components in the data set can be identified. These characteristics can help understand the inherent patterns and structural relationships in the data. For example, the spatial structural characteristics representing the lesion area in the data can be identified, or the correlation patterns between different biomarkers can be discovered. This process involves converting the data set into a series of multidimensional geometric objects and then calculating the topological characteristics of these objects. The generated topological feature data provides new perspectives and in-depth insights for subsequent data analysis.
[0143] In sub-step S603, the multidimensional geometric structure in the data is analyzed using a persistent homology algorithm based on the topological feature data, holes in the data are identified and classified, and Betti numbers are calculated. Betti numbers are a measure used to describe the number and type of holes in a topological space, and can provide a quantitative description of the geometric characteristics of the data. For example, the first Betti number represents the number of holes, the second Betti number represents the number of cavities, and so on. By calculating the Betti numbers, a detailed description of the multidimensional geometric structure in the data set can be obtained, such as the number and distribution of holes. This information is very valuable for understanding the intrinsic geometric characteristics of the data set and helps to reveal hidden patterns and structures in the data.
[0144] In substep S604, a persistence graph is constructed based on the Betti number calculation results. The persistence graph is a visualization tool used to display the topological structure of the data and its persistence with scale changes. In the persistence graph, each point represents a topological feature, and its position and size reflect the importance and stability of the feature in the data. By analyzing the persistence graph, the intrinsic association patterns and structural changes in the data can be revealed, such as identifying stable topological features related to disease progression. The generated topological structure analysis results provide an understanding of the deep structure and patterns of the data, providing new perspectives and possible clues for disease diagnosis and treatment.
[0145] Assume that in a project on gastric cancer research, the research team collected time series data including gastroscopic images and biomarker data of patients within one year. In step S601, the visual feature data extracted from the gastroscopic images and the biomarker data were matched and merged through the database connection algorithm. In steps S602 to S604, the integrated data were analyzed using persistent homology to identify specific geometric features and topological structures. For example, it was found that the changes in certain biomarkers were significantly correlated with the characteristics of the lesion area in the gastroscopic image. Through these analyses, the research team was able to gain a deeper understanding of the development process and potential biomarkers of gastric cancer, providing new insights and basis for clinical diagnosis and treatment.
[0146] See also Figure 8 ,Based on the results of abnormal pattern recognition and topological structure analysis, ,combined with the reasoning analysis based on the medical knowledge graph, ,the tree structure model is constructed through the decision tree algorithm. ,According to the causal relationship and probability information in the ,medical knowledge graph, the benefits and risks of the treatment plan are analyzed, ,and the specific steps for generating personalized treatment recommendations are as follows,
[0147] S701: Based on the abnormal pattern recognition results and topological structure analysis results, the principal component analysis algorithm is used to reduce the data dimension through linear transformation technology, calculate the covariance matrix of the data, screen the features that affect disease prediction, reduce redundant information, and generate screening data;
[0148] S702: Based on the abnormal pattern recognition results and the topological structure analysis results, the K-means clustering algorithm is applied to divide the data set into multiple groups by calculating the Euclidean distance between samples and iteratively optimizing the cluster centers, identifying the differentiated stages of disease development, and generating clustering result data;
[0149] S703: Based on the screening data and clustering result data, combined with the medical knowledge graph, the Bayesian network algorithm is used to construct a directed acyclic graph to represent the conditional dependency relationship between variables, calculate the conditional probability of the treatment plan, and generate causal relationship data;
[0150] S704: Based on the screening data, clustering result data and causal relationship data, the classification and regression tree algorithm is used to recursively binary each node to build a tree structure model. The Gini impurity and mean square error are used as segmentation criteria to refine the decision tree structure and generate personalized treatment recommendations.
[0151] In sub-step S701, the abnormal pattern recognition results and topological structure analysis results are processed by the principal component analysis algorithm. The purpose of principal component analysis is to reduce the dimension of the data through linear transformation while retaining the most important information. By calculating the covariance matrix of the data, the relationship between different variables is revealed, and the eigenvalues and corresponding eigenvectors of the covariance matrix are extracted. These eigenvectors represent the most important change directions in the data. Several eigenvectors with the largest eigenvalues are selected as principal components. The principal components capture the main change trends and patterns of the data. Principal component analysis reduces the complexity of the data while retaining the key features that affect disease prediction and reducing redundant information. The generated screening data is more concise and conducive to subsequent analysis and modeling, providing a clear data basis for disease prediction.
[0152] In sub-step S702, the K-means clustering algorithm is applied based on the abnormal pattern recognition results and the topological structure analysis results. K-means clustering is a method for dividing a data set into multiple groups. The basic principle is to calculate the Euclidean distance between samples and iteratively optimize the cluster center. The number of clusters is determined, and then K points are randomly selected as the initial cluster centers. The samples are assigned to the nearest cluster according to the distance from each sample to the cluster center, and the center of each cluster is recalculated. The samples are repeatedly assigned to the nearest cluster center. This process is iterated until the cluster center no longer changes or the preset number of iterations is reached. The K-means clustering algorithm can identify differentiated stages of disease development and divide the data set into multiple groups showing different disease characteristics. The generated clustering result data provides a basis for disease classification and further analysis.
[0153] In sub-step S703, the Bayesian network algorithm is used based on the screening data and clustering result data combined with the medical knowledge graph. The Bayesian network is a directed acyclic graph model that represents the conditional dependency relationship between variables. It is used to calculate the conditional probabilities of different treatment options. The structure of the Bayesian network is constructed according to the medical knowledge graph, that is, the dependency relationship between each node in the network is determined, and the screening data and clustering result data are used to estimate the conditional probability distribution of each node in the network. This step involves a large amount of probability calculation and statistical inference, and ultimately generates causal relationship data, revealing the probabilistic relationship and interaction between different variables. This information is of great significance for understanding the development mechanism of the disease and formulating treatment plans.
[0154] In sub-step S704, a personalized treatment recommendation model is constructed based on the screening data, clustering result data and causal relationship data using a classification and regression tree algorithm. The classification and regression tree algorithm constructs a tree structure model by recursively binary-dividing each node, using Gini impurity or mean square error as the segmentation criterion, and selecting an optimal feature to segment the data set. This process is then repeated on each child node until the stopping condition is met, such as the tree reaches the maximum depth or the number of samples in the node is lower than a threshold. The classification and regression tree algorithm can refine the decision tree structure and accurately represent the classification rules and regression relationships in the data. The generated personalized treatment recommendation model can provide customized treatment plans based on the patient's specific characteristics and disease conditions, helping doctors make more accurate treatment decisions.
[0155] Suppose that in a study on gastrointestinal cancer treatment strategies, the research team collected patients' gene expression data, clinical symptom records, and treatment response data, used principal component analysis to reduce the data dimension, and then identified different cancer subtypes through the K-means clustering algorithm. Combined with the medical knowledge graph, the Bayesian network was used to analyze the response patterns of patients of different subtypes to treatment, and the classification and regression tree algorithm was applied to generate personalized treatment recommendations, and the most appropriate treatment plan was recommended for patients of each cancer subtype. Through this series of analyses, the research team can provide each patient with more accurate and personalized treatment recommendations, improve treatment outcomes, and reduce unnecessary side effects.
[0156] See also Fig. 9 , a digestive tract health data analysis system, the system includes an image enhancement module, a feature extraction and classification module, a time series analysis module, a data fusion and anomaly detection module, a topological feature analysis module, and a decision support module;
[0157] The image enhancement module uses a Gaussian filter to denoise the image based on the digestive tract endoscopy image data, and uses histogram equalization to enhance the image contrast to generate a contrast-enhanced image.
[0158] The feature extraction and classification module is based on contrast-enhanced images and applies convolutional neural networks. Through the combination of convolutional layers, ReLU activation layers, and pooling layers, visual features are extracted from images to obtain visual feature data. The Faster R-CNN target detection algorithm is used to generate candidate regions through a region proposal network. Combined with convolutional features, region classification and bounding box regression are performed to identify and locate lesion areas and generate lesion area location information.
[0159] The time series analysis module uses a long short-term memory network to analyze time series data based on patient biomarker data and symptom records. It processes the long-term dependencies of data through gated units, analyzes the change patterns of health indicators over time, and obtains time series analysis results. It uses a linear regression model to analyze the linear trends in time series data, extract trend information from historical data, predict the future development direction of health status, and generate disease trend prediction results.
[0160] The data fusion and anomaly detection module uses the random forest algorithm based on the location information of the lesion area and the disease trend prediction results, and through the combination of multiple decision trees, it identifies abnormal information and potential disease precursor signals and generates abnormal pattern recognition results;
[0161] The topological feature analysis module applies topological data analysis based on visual feature data and time series analysis results. It analyzes the topological data structure through persistent homology, identifies the shape and spatial structure features in the data, calculates the Betti number of the data and constructs a persistent graph to analyze the geometric features and association patterns of the data, and generates topological structure analysis results.
[0162] The decision support module is based on the results of abnormal pattern recognition and topological structure analysis, combined with reasoning analysis based on the medical knowledge graph. Through the decision tree algorithm, it constructs a tree structure model, analyzes the benefits and risks of the treatment plan according to the causal relationship and probability information in the medical knowledge graph, and generates personalized treatment recommendations.
[0163] Through the application of image enhancement modules, such as Gaussian filtering denoising and histogram equalization technology, the noise of gastrointestinal endoscopic images is effectively removed and the image contrast is significantly improved, which not only enhances the visibility of the image, but also provides a clearer and more accurate image basis for subsequent feature extraction and lesion area analysis. The feature extraction and classification module uses convolutional neural networks and Faster The R-CNN algorithm makes the location and classification of lesion areas more accurate. This advanced image recognition technology can assist doctors in quickly and accurately identifying digestive tract diseases, especially in early diagnosis. The time series analysis module uses the long short-term memory network model to process standardized time series data and effectively predicts the changing trend of health status. This not only helps to monitor the dynamic changes in the patient's health status, but also provides the possibility for early warning of the disease. The application of the data fusion and anomaly detection module improves the comprehensive analysis capabilities of different data sources. By fusing image data and time series data, the system can fully capture the patient's health status and effectively identify abnormal health patterns through the random forest model, providing an important reference for clinical decision-making. The topological feature analysis module uses persistent homology technology to extract key geometric and topological features from high-dimensional data, revealing the inherent correlation pattern of the data and providing a new perspective for the analysis of the essential characteristics of the disease. The decision support module comprehensively utilizes methods such as principal component analysis, K-means clustering and Bayesian network to screen key features and generate personalized treatment recommendations based on data set groups and medical knowledge graphs. These recommendations not only take into account the specific conditions of the patients, but also improve the pertinence and effectiveness of treatment plans based on the in-depth insights of big data analysis.
[0164] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A method for analyzing digestive tract health data, characterized in that: The following steps are involved: Based on the digestive tract endoscopy image data, the image is denoised by using a Gaussian filter, and the image contrast is enhanced by using histogram equalization. A convolutional neural network is applied to extract visual features from the image through a combination of convolutional layers, ReLU activation layers, and pooling layers to generate visual feature data. Based on the digestive tract endoscopy image data, the image is denoised by using a Gaussian filter, and the image contrast is enhanced by using histogram equalization. The convolutional neural network is applied to extract visual features from the image through a combination of convolutional layers, ReLU activation layers, and pooling layers. The specific steps for generating visual feature data are as follows: Based on the digestive tract endoscopy image data, the Gaussian filtering algorithm is used for denoising. By applying the Gaussian kernel to the pixel points of the image, the weighted average of the surrounding pixel points is calculated to reduce the image noise and generate a denoised image. Based on the denoised image, a histogram equalization technique is applied to optimize the pixel intensity distribution of the image by redistributing the pixel intensity values of the image, thereby enhancing the contrast of the image and generating a contrast-enhanced image; Based on the contrast enhanced image, using a convolutional layer in a convolutional neural network, sliding a filter of the convolutional layer on the image, extracting features of a local area, and obtaining a feature map to generate a basic feature map; Based on the basic feature map, a ReLU activation function and a maximum pooling layer are used to perform feature processing, a nonlinear transformation is applied to the feature map through the ReLU activation function to optimize the expression ability of the model, a maximum pooling layer is used to reduce the spatial dimension of the feature, a feature representation is extracted, and visual feature data is generated; Based on the visual feature data, the Faster R-CNN target detection algorithm is used to generate candidate regions through a region proposal network, and convolution features are combined to perform region classification and bounding box regression to identify and locate the lesion area and generate lesion area positioning information; Based on the visual feature data, the Faster R-CNN target detection algorithm is used to generate candidate regions through the region proposal network. Combined with the convolutional features, region classification and bounding box regression are performed to identify and locate the lesion area. The specific steps for generating the lesion area positioning information are as follows: Based on the visual feature data, a region proposal network of Faster R-CNN is used to combine image features and spatial position information, process the image through a convolutional layer, extract a feature map, and apply an anchor mechanism on the feature map to obtain a candidate frame covering the area where the target exists in the image, and generate candidate region data; Based on the candidate region data, the Pooling layer of Faster R-CNNROI is used to convert the candidate regions of different sizes into feature maps of uniform size through cropping and scaling operations to generate a normalized feature map; Based on the normalized feature map, the classification layer of Faster R-CNN, the classification and bounding box regression network are applied. The classification network makes a category judgment on each region to determine whether there is a lesion in the region and assigns a corresponding category probability to the region. The bounding box regression network is used to adjust the position of the candidate box to cover the actual lesion area and generate adjusted regional data. Based on the adjusted regional data, a non-maximum suppression algorithm is used to reduce overlapping candidate frames, and the position of the lesion region in the image is determined in combination with the classification probability to generate lesion region positioning information; Based on patient biomarker data and symptom records, long short-term memory networks are used to analyze time series data. The long-term dependencies of data are processed through gating units to analyze the change patterns of health indicators over time and generate time series analysis results. Based on the patient's biomarker data and symptom records, a long short-term memory network is used to analyze time series data. The long-term dependencies of the data are processed by the gating unit to analyze the change patterns of health indicators over time. The specific steps to generate time series analysis results are as follows: Based on the patient biomarker data and symptom records, missing value interpolation and data normalization techniques were used, using linear interpolation to fill missing data and applying the Z-score method to normalize the data to generate preprocessed time series data; Based on the preprocessed time series data, a long short-term memory network model is constructed, wherein the model consists of multiple long short-term memory network layers, each layer controls the flow and memory of information through a forget gate, an input gate, and an output gate, analyzes the time series data through a gate control unit, learns the long-term dependency of the data, and generates a basic long short-term memory network model; Based on the basic long short-term memory network model, the preprocessed time series data is learned, the back propagation algorithm and the gradient descent optimization strategy are applied to optimize the model parameters, and the changing trends and patterns in the time series are identified and learned by the model to generate a trained long short-term memory network model; Based on the trained long short-term memory network model, time series data is analyzed, the model is applied to predict health status changes and trends, and the change patterns of health indicators over time are mined and identified to generate time series analysis results; Based on the time series analysis results, a linear regression model is used to analyze the linear trends in the time series data, extract trend information from historical data, predict the future development direction of health conditions, and generate disease trend prediction results; Based on the time series analysis results, a linear regression model is used to analyze the linear trend in the time series data, extract trend information from historical data, predict the future direction of health status, and generate disease trend prediction results as follows: Based on the time series analysis results, principal component analysis is used to convert the original features into a set of linearly unrelated components through linear transformation, so as to capture the direction of data change, reduce data complexity, and generate feature data; Based on the feature data, an ordinary least squares linear regression model is constructed. The ordinary least squares method constructs a linear relationship between the feature and the prediction target, analyzes the coefficients in the relationship, predicts future change trends, and generates a basic linear regression model; Based on the basic linear regression model, the feature data is fitted, and the model parameters are adjusted by minimizing the error between the model prediction value and the actual value to generate a trained linear regression model; Based on the trained linear regression model, the future trends in the time series data are predicted and analyzed, and the linear relationship in the historical data is inferred according to the model parameters to predict the future development direction of the health status and generate the disease trend prediction results; Based on the lesion area location information and the disease trend prediction results, a random forest algorithm is used to identify abnormal information and potential disease precursor signals through a combination of multiple decision trees to generate abnormal pattern recognition results; Based on the lesion area location information and disease trend prediction results, the random forest algorithm is used to identify abnormal information and potential disease precursor signals through the combination of multiple decision trees. The specific steps for generating abnormal pattern recognition results are as follows: Based on the lesion area location information and disease trend prediction results, data fusion technology is used to perform data fusion operations, the merge function in the Pandas library is used to align the data according to preset key values, and a data cleaning method is used to optimize the consistency and integrity of the data set through null value processing and data format unification to generate a fused data set; Based on the fused data set, a random forest model is constructed, by initializing multiple decision trees, setting randomly selected data samples and feature parameters, optimizing the randomness and diversity of the model, and generating a basic random forest model; Based on the fused data set, the basic random forest model is trained, a decision tree is used as a basic learner, the features in the data set are learned, self-help aggregation is applied, the prediction results of multiple decision trees are integrated, and the number of trees in the random forest, the depth of the trees and the random selection parameters of the features are adjusted to optimize the model performance and generate a trained random forest model; Based on the trained random forest model, the fused data set is subjected to abnormal pattern recognition, and the classification capability of the model is utilized to analyze and recognize abnormal patterns and potential disease precursors in the data, thereby generating abnormal pattern recognition results; Based on the visual feature data and the time series analysis results, applying topological data analysis, analyzing the topological data structure through persistent homology, identifying the shape and spatial structure characteristics in the data, and analyzing the geometric characteristics and association patterns of the data by calculating the Betti number of the data and constructing a persistent graph to generate a topological structure analysis result; Based on the visual feature data and time series analysis results, topological data analysis is applied to analyze the topological data structure through persistent homology, identify the shape and spatial structure characteristics in the data, and analyze the geometric characteristics and association patterns of the data by calculating the Betti number of the data and constructing a persistent graph. The specific steps for generating topological structure analysis results are as follows: Based on the visual feature data and the time series analysis results, the visual feature data and the time series data are matched and merged according to the common identifiers through a database connection algorithm, and data cleaning technology is applied to optimize the consistency and integrity of the data set through missing value processing and data format standardization to generate an integrated data set; Based on the integrated data set, applying persistent homology, extracting topological features, analyzing multi-dimensional geometric features in the data set, including shape and spatial structure features, revealing the topological properties of the data, and generating topological feature data; Based on the topological feature data, using a persistent homology algorithm, the multidimensional geometric structure in the topological feature data is analyzed, holes in the data are identified and classified, and Betti number calculations are performed to quantitatively describe the number and type of holes in the data, quantify the geometric characteristics of the data, and generate Betti number calculation results; Based on the Betti number calculation results, a persistence graph is constructed to visualize the topological structure of the data. By showing the geometric features in the data and the persistence that changes with scale, the inherent correlation pattern of the data is revealed, and the topological structure analysis results are generated; Based on the abnormal pattern recognition results and topological structure analysis results, combined with the reasoning analysis based on the medical knowledge graph, a tree structure model is constructed through a decision tree algorithm, and the benefits and risks of the treatment plan are analyzed according to the causal relationship and probability information in the medical knowledge graph to generate personalized treatment recommendations; Based on the abnormal pattern recognition results and topological structure analysis results, combined with the reasoning analysis based on the medical knowledge graph, a tree structure model is constructed through the decision tree algorithm. According to the causal relationship and probability information in the medical knowledge graph, the benefits and risks of the treatment plan are analyzed. The specific steps for generating personalized treatment recommendations are as follows: Based on the abnormal pattern recognition results and topological structure analysis results, a principal component analysis algorithm is used to reduce the data dimension through linear transformation technology, calculate the covariance matrix of the data, screen the features that affect disease prediction, reduce redundant information, and generate screening data; Based on the abnormal pattern recognition results and topological structure analysis results, the K-means clustering algorithm is applied to divide the data set into multiple groups by calculating the Euclidean distance between samples and iteratively optimizing the cluster centers, identifying the differentiated stages of disease development, and generating clustering result data; Based on the screening data and clustering result data, combined with the medical knowledge graph, the Bayesian network algorithm is used to construct a directed acyclic graph to represent the conditional dependency relationship between variables, calculate the conditional probability of the treatment plan, and generate causal relationship data; Based on the screening data, clustering result data and causal relationship data, a classification regression tree algorithm is used to recursively divide each node into two parts to build a tree structure model, and Gini impurity and mean square error are used as segmentation criteria to refine the decision tree structure and generate personalized treatment recommendations; The visual feature data includes the texture features, color distribution, edge information and shape features of the image; the lesion area positioning information includes the coordinate position, area size, shape description and category label of the lesion area; the time series analysis results include the time change trends, periodic patterns and abnormal fluctuations of the patient's health indicators; the disease trend prediction results include the direction, speed and turning points of disease development; the abnormal pattern recognition results include identified abnormal health patterns, potential risk factors and early warning information; the topological structure analysis results include the topological structure features, structural connections and structural abnormalities of the data; the personalized treatment recommendations include treatment plan selection, treatment method priority ranking, treatment side effects and risk assessment.
2. A digestive tract health data analysis system, characterized in that: According to the digestive tract health data analysis method of claim 1, the system includes an image enhancement module, a feature extraction and classification module, a time series analysis module, a data fusion and anomaly detection module, a topological feature analysis module, and a decision support module; The image enhancement module performs denoising on the image based on the digestive tract endoscopy image data through a Gaussian filter, and enhances the image contrast by using histogram equalization to generate a contrast-enhanced image; The feature extraction and classification module is based on the contrast enhanced image and applies a convolutional neural network to extract visual features from the image through a combination of a convolutional layer, a ReLU activation layer, and a pooling layer to obtain visual feature data, and adopts the Faster R-CNN target detection algorithm to generate candidate regions through a region proposal network, and combines the convolutional features to perform region classification and bounding box regression, identify and locate the lesion area, and generate lesion area location information; The time series analysis module uses a long short-term memory network to analyze time series data based on patient biomarker data and symptom records, processes the long-term dependencies of data through a gating unit, analyzes the change patterns of health indicators over time, obtains time series analysis results, uses a linear regression model to analyze the linear trends in time series data, extracts trend information from historical data, predicts the future direction of health status development, and generates disease trend prediction results; The data fusion and anomaly detection module uses a random forest algorithm based on the lesion area location information and the disease trend prediction results to identify abnormal information and potential disease precursor signals through a combination of multiple decision trees to generate abnormal pattern recognition results; The topological feature analysis module applies topological data analysis based on visual feature data and time series analysis results, analyzes the topological data structure through persistent homology, identifies the shape and spatial structure features in the data, calculates the Betti number of the data and constructs a persistent graph, analyzes the geometric features and association patterns of the data, and generates topological structure analysis results; The decision support module is based on the abnormal pattern recognition results and topological structure analysis results, combined with the reasoning analysis based on the medical knowledge graph, and uses the decision tree algorithm to construct a tree structure model. According to the causal relationship and probability information in the medical knowledge graph, the benefits and risks of the treatment plan are analyzed to generate personalized treatment recommendations.
Citation Information
Cited By
Digestive tract early cancer onset risk early warning method and system based on data analysis
CN119400417A
