Postpartum breast health detection method fusing multi-modal data
By integrating multi-modal data and deep learning technology to extract breast images and physiological and biochemical features, combined with KNN and AdaBoost algorithms, it solves the single data source and low efficiency problems of existing breast health detection methods, and achieves more accurate and flexible breast health detection methods. Health testing.
Patent Information
- Application Number
- CN202410435352.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-11
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing breast health detection methods rely on a single data source, have limited feature extraction methods, insufficient classifier performance, and lack of dynamic adaptability, resulting in low diagnostic accuracy and efficiency.
Using the method of merging multi-modal data, deep learning is used to extract deep features of breast images, combined with physiological signal and biochemical index data, using KNN and AdaBoost algorithms to build a strong classifier, and dynamically adjust the K value and feature weight to achieve accurate classification of breast health. .
It improves the accuracy and efficiency of breast health detection, provides a more comprehensive health assessment, enhances the flexibility and robustness of the classifier, adapts to the characteristics of different data sets, and improves the generalization ability of the model.
Smart Images

Figure CN118737442A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence, and in particular to a postpartum breast health detection method integrating multimodal data. Background Art
[0002] With the continuous advancement of medical technology and the improvement of people's health awareness, postpartum breast health issues have received more and more attention. Breast diseases, especially breast cancer, have become a major threat to women's health. Early detection, diagnosis and treatment are crucial to improving cure and survival rates. Therefore, developing an accurate and efficient method for postpartum breast health detection has become an important topic in medical research.
[0003] Traditional breast health detection methods mainly rely on doctors' palpation, mammography (such as mammography), ultrasound examination and other means. However, these methods have their own limitations, such as the subjectivity of palpation, the radiation problem of X-ray photography, and the reliance of ultrasound examination on operator experience. In recent years, with the rise of multimodal data, methods that combine multiple data sources for comprehensive analysis have gradually shown their potential in improving diagnostic accuracy.
[0004] Although existing breast health detection methods have achieved certain achievements in technology and effect, there are still some obvious shortcomings:
[0005] Single data source: Many existing detection methods rely mainly on a single data source, such as using only breast images or biochemical indicators, which limits the accuracy and comprehensiveness of diagnosis.
[0006] Limited feature extraction methods: Traditional feature extraction methods may not be able to fully capture the complexity and nuances of the data, especially when dealing with complex data such as mammary images.
[0007] Classifier performance needs to be improved: Traditional classifiers may not be able to fully utilize the information in multimodal data, resulting in low classification accuracy.
[0008] Lack of dynamic adaptability: Existing methods often use fixed parameters and models and cannot be dynamically adjusted according to the characteristics of different data sets, thus limiting the generalization ability of the model.
[0009] The postpartum breast health detection method that integrates multimodal data proposed in this study is precisely to solve the above problems. It aims to improve the accuracy and efficiency of breast health detection by integrating multiple data sources, using deep learning for feature extraction, and adopting ensemble learning technology. Summary of the invention
[0010] The present invention provides a postpartum breast health detection method integrating multimodal data, which is used to improve the accuracy and efficiency of breast health detection by integrating multiple data sources, extracting features using deep learning, and adopting ensemble learning technology.
[0011] A first aspect of the present invention provides a postpartum breast health detection method integrating multimodal data, the postpartum breast health detection method integrating multimodal data comprising: obtaining multimodal breast data of a postpartum woman, the multimodal breast data comprising a training data set and samples to be classified, the training data set and the samples to be classified both comprising breast imaging data, physiological signal data, biochemical indicator data and questionnaire survey data; extracting breast imaging deep features based on a preset deep learning model in combination with the breast imaging data, extracting physiological key features and biochemical key features based on the physiological signal data and the biochemical indicator data, performing feature quantification and feature selection based on the questionnaire survey data to obtain text numerical features; extracting a text numerical feature based on the breast imaging deep features, the physiological key features, the biochemical key features The features and the text numerical features are combined with a feature selection algorithm to obtain a feature set corresponding to the training data set and a feature set of samples to be classified; a basic classifier is constructed based on the training data set, the samples to be classified, the feature set corresponding to the training data set, and the feature set of the samples to be classified in combination with the KNN algorithm, and the distance between the samples to be classified and the training data set is calculated to find the nearest K neighbors, and the category of the sample to be tested is obtained according to the categories of these neighbors; the AdaBoost algorithm is used to integrate multiple KNN basic classifiers into a strong classifier, and in each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained, and finally the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification result.
[0012] Optionally, in a first implementation method of the first aspect of the present invention, the multimodal breast data of postpartum women is obtained, and the multimodal breast data includes a training data set and samples to be classified, and the training data set and the samples to be classified both include breast imaging data, physiological signal data, biochemical indicator data and questionnaire data, including: preprocessing according to the breast imaging data, the physiological signal data, the biochemical indicator data and the questionnaire data; resizing and color correcting the breast imaging data, using image processing technology to remove noise and artifacts in the image, improving the contrast of the image through histogram equalization and contrast stretching methods to highlight breast tissue and potential lesion areas, and normalizing pixel values to between 0 and 1 to eliminate the influence of different imaging devices or shooting conditions; using filters to remove the physiological signal data Noise is removed to ensure that the baseline of the signal is stable, signal drift is eliminated, continuous signal data is divided into segments, and then the data is converted to a unified scale to eliminate the influence of dimension and order of magnitude; the biochemical indicator data are estimated and filled by interpolation and mean filling methods, outliers are identified and processed using the IQR rule, logarithmic transformation and Box-Cox transformation are performed to improve the normality of the data or make it more consistent with the model assumptions, and the data are normalized to eliminate the dimension and order of magnitude differences between different biochemical indicators; the questionnaire survey data are checked and corrected for errors, omissions or inconsistent information in the questionnaire. For missing values, the mode and median are selected to fill according to the nature of the question. For categorical variables, one-hot encoding is used for conversion so that the machine learning model can process them, and text mining technology is used to convert text descriptions into numerical features.
[0013] Optionally, in a second implementation of the first aspect of the present invention, the breast image deep features are extracted based on the preset deep learning model in combination with the breast image data, the physiological key features and biochemical key features are extracted based on the physiological signal data and the biochemical indicator data, and feature quantification and feature selection are performed based on the questionnaire survey data to obtain text numerical features, including: using a preset convolutional neural network CNN to train the breast image data to extract deep features, including texture, shape, and edge information of breast tissue, and saving the extracted deep features in vector form as a representation of the breast image data; training the physiological signal data The data were processed to extract key features related to breast health, including heart rate variability and electrocardiogram waveform features; key indicators closely related to breast health, including hormone levels and tumor markers, were extracted from biochemical indicator data; the questionnaire data were quantified to convert text information into numerical features, and the chi-square test was used to select the features most relevant to breast health; for each feature type: breast image depth features, physiological key features, biochemical key features, and text numerical features, a comprehensive score was calculated to measure the importance of the feature to breast health classification. Assuming F_{score}(f)) is the comprehensive score of feature (f), then:
[0014] F_{score}(f)=w_1\cdot I_{relevance}(f)+w_2\cdot U_{niqueness}(f)+w_3\cdot C_{orrelation}(f)
[0015] Among them, (I_{relevance}(f)) is the relevance score of feature (f), which measures the degree of association between the feature and breast health status; (U_{niqueness}(f)) is the uniqueness score of feature (f), which indicates the rarity or specificity of the feature in the dataset; (C_{orrelation}(f)) is the correlation score between feature (f) and other features, which is used to measure the redundancy of the feature; (w_1,w_2,w_3) are weight coefficients used to adjust the importance of different scoring components.
[0016] Optionally, in a third implementation manner of the first aspect of the present invention, the feature set corresponding to the training data set and the feature set of the samples to be classified are obtained by screening based on the breast image depth features, the physiological key features, the biochemical key features and the text numerical features in combination with a feature selection algorithm, including: using packaging and filtering methods for feature selection, using mutual information and correlation coefficient indicators to evaluate the correlation between each feature and the postpartum breast health status, using a recursive feature elimination method, combined with classifier feedback to iteratively select the most important feature subset, setting a comprehensive score threshold, screening out features above the threshold, and forming a final feature set; applying the screened feature set to the training data set and the samples to be classified to construct corresponding feature vectors, for the training data set, using a supervised learning method to train the classification model, and for the samples to be classified, using the trained model for prediction and classification; outputting the feature set corresponding to the training data set for training the postpartum breast health classification model, and outputting the feature set of the samples to be classified for the prediction and classification tasks of the model.
[0017] Optionally, in a fourth implementation of the first aspect of the present invention, a basic classifier is constructed based on the training data set, the samples to be classified, the feature set corresponding to the training data set, and the feature set of the samples to be classified in combination with the KNN algorithm, and the nearest K neighbors are found by calculating the distance between the samples to be classified and the training data set, and the category of the samples to be tested is obtained according to the categories of these neighbors, including: dynamically adjusting the size of the K value according to the local density or clustering of the samples to be classified, using a smaller K value in a sample-dense area, and using a larger K value in a sample-sparse area, setting the dynamically adjusted K value to K_{dynamic}, then:
[0018] K_{dynamic}=\lceilK_{base}\times\frac{\rho_{global}}{\rho_{local}}\rceil
[0019] Where, K_{base}: base K value, determined by experience or cross-validation; -\rho_{global}: global sample density, that is, the average density of samples in the training data set; -\rho_{local}: local density of samples to be classified, obtained by calculating the number of samples within a certain range near the samples to be classified;
[0020] Assign a weight to each feature, which is determined based on the importance or relevance of the feature. When calculating the distance between the sample to be classified and the training sample, the weighted distance formula is used so that the weighted distance is D_{weighted}(x,y), then:
[0021] D_{weighted}(x,y)=\sqrt{\sum_{i=1}^{n}w_i(x_i-y_i)^2}
[0022] Where, w_i: the weight of the i-th feature, which is determined according to the importance or relevance of the feature, such as calculated using mutual information or correlation coefficient methods; x_i, y_i: the values of the sample to be classified and the training sample on the i-th feature, respectively;
[0023] The cosine similarity distance measurement method is selected to calculate the distance between the sample to be classified and the training sample. According to the calculated distance, the K training samples closest to the sample to be classified are found as neighbors; the number of categories or weighted voting scores of each category in the K nearest neighbors are counted, and the category with the largest number or the highest score is selected as the predicted category of the sample to be classified, and the predicted category of the sample to be classified and its confidence are output.
[0024] Optionally, in a fifth implementation of the first aspect of the present invention, the AdaBoost algorithm is used to integrate multiple KNN basic classifiers into a strong classifier, and in each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained, and finally the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification result, including:
[0025] In the AdaBoost iterative process, the number of iterations M is initialized, then: Iterative training: For each round m = 1, 2, ..., M: a. Use the current sample weights to train a KNN classifier Cm; b. Calculate the error rate em of the classifier Cm on the training data set, and the error rate is calculated based on the weighted samples; c. Calculate the weight αm of the classifier Cm, which is inversely proportional to the error rate em, that is, the better the classifier performance, the greater the weight; d. Update the weight of each sample in the training data set, increase the weight of the wrongly classified samples, and reduce the weight of the correctly classified samples; Final classifier: After M rounds of iterations, M KNN basic classifiers and their weights are obtained; Output the predicted category of the sample to be classified and the performance index of the classifier to obtain the final classification result.
[0026] Optionally, in a sixth implementation of the first aspect of the present invention, it also includes: in each round of iteration, not only the sample weight is adjusted, but also the K value in KNN is dynamically adjusted, and the K value that makes the next round of KNN classifier perform best is selected according to the performance of the previous round of classifier; in each round of iteration, the features are resampled, that is, each time the KNN classifier is trained, a part of the features are randomly selected for training to increase the diversity of the model.
[0027] The second aspect of the present invention provides a postpartum breast health detection device that integrates multimodal data, and the postpartum breast health detection device that integrates multimodal data includes: an acquisition module, which is used to acquire multimodal breast data of postpartum women, and the multimodal breast data includes a training data set and samples to be classified, and the training data set and the samples to be classified both include breast imaging data, physiological signal data, biochemical indicator data and questionnaire survey data; an extraction module, which is used to extract breast imaging deep features based on a preset deep learning model in combination with the breast imaging data, extract physiological key features and biochemical key features based on the physiological signal data and biochemical indicator data, perform feature quantification and feature selection based on the questionnaire survey data to obtain text numerical features; a processing module, which is used to extract the breast imaging deep features, the physiological key features, the biochemical key features, and the text numerical features based on the breast imaging deep features, the physiological key features, the biochemical key features, and the text numerical features. The key features and the text numerical features are combined with the feature selection algorithm to obtain the feature set corresponding to the training data set and the feature set of the samples to be classified; a setting module is used to build a basic classifier based on the training data set, the samples to be classified, the feature set corresponding to the training data set, and the feature set of the samples to be classified in combination with the KNN algorithm, and the nearest K neighbors are found by calculating the distance between the samples to be classified and the training data set, and the category of the samples to be tested is obtained according to the categories of these neighbors; an allocation module is used to use the AdaBoost algorithm to integrate multiple KNN basic classifiers into a strong classifier, in each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained, and finally the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification result.
[0028] The third aspect of the present invention provides a postpartum breast health detection device that integrates multimodal data, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the postpartum breast health detection device that integrates multimodal data executes the above-mentioned postpartum breast health detection method that integrates multimodal data.
[0029] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned postpartum breast health detection method integrating multimodal data.
[0030] The present invention proposes a postpartum breast health detection method that integrates multimodal data. By integrating multiple technical means such as deep learning, feature extraction, feature selection and integrated learning, it realizes the accurate classification and detection of breast health of postpartum women. The specific steps include acquiring and preprocessing multimodal data (breast imaging data, physiological signal data, biochemical indicator data and questionnaire data), using deep learning to extract deep features of breast images, and extracting physiological key features and biochemical key features at the same time, and quantifying the questionnaire data into features. Then, the important feature set is screened out through the feature selection algorithm, and a basic classifier based on KNN is constructed. The AdaBoost algorithm is used to integrate multiple KNN classifiers into a strong classifier, and finally the classification results are output;
[0031] Beneficial effects and benefits:
[0032] Multimodal data fusion: The present invention integrates multiple types of data (images, physiological signals, biochemical indicators and questionnaires) to make the test results more comprehensive and accurate.
[0033] Deep learning feature extraction: Using deep learning models to extract deep features from breast imaging data can capture more detailed and essential breast tissue information.
[0034] Feature selection and weighting: The important features are screened out through the feature selection algorithm, and weights are assigned to each feature to optimize the performance of the classifier.
[0035] Dynamically adjust the K value: The K value in the KNN algorithm is dynamically adjusted according to the local density of the samples, which improves the flexibility and adaptability of the classifier.
[0036] Ensemble learning: Use the AdaBoost algorithm to integrate multiple KNN basic classifiers, which effectively improves the accuracy and stability of classification.
[0037] Comprehensive health assessment: This invention not only focuses on the pathological changes of the breast, but also combines physiological signals, biochemical indicators and questionnaire survey data to provide a more comprehensive assessment of the breast health of postpartum women.
[0038] In summary, the present invention provides an efficient and accurate method for the detection and classification of postpartum breast health by integrating multimodal data and advanced machine learning technology, which has important clinical application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of an embodiment of a postpartum breast health detection method integrating multimodal data in an embodiment of the present invention;
[0040] Figure 2It is a schematic diagram of another embodiment of the postpartum breast health detection method integrating multimodal data in an embodiment of the present invention;
[0041] Figure 3 A schematic diagram of an embodiment of a postpartum breast health detection device integrating multimodal data in an embodiment of the present invention;
[0042] Figure 4 It is a schematic diagram of an embodiment of a postpartum breast health detection device integrating multimodal data in an embodiment of the present invention. DETAILED DESCRIPTION
[0043] An embodiment of the present invention provides a postpartum breast health detection method that integrates multimodal data, which is used to integrate multiple data sources, use deep learning for feature extraction, and use integrated learning technology to improve the accuracy and efficiency of breast health detection. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0044] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a postpartum breast health detection method integrating multimodal data in an embodiment of the present invention includes:
[0045] 101. Obtain breast multimodal data of a postpartum woman, wherein the breast multimodal data includes a training data set and samples to be classified, and the training data set and samples to be classified both include breast imaging data, physiological signal data, biochemical indicator data, and questionnaire survey data;
[0046] It is understandable that the execution subject of the present invention may be a postpartum breast health detection device integrating multimodal data, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.
[0047] It should be noted that in the postpartum breast health detection that integrates multimodal data, obtaining multimodal breast data of postpartum women is a key step. The following is a specific example to illustrate how to achieve this process:
[0048] Determine the source of the data:
[0049] Choose a cooperating medical institution or health management center that usually has health examination records of postpartum women, communicate with the institution, obtain access to relevant data, and ensure data privacy protection and compliance;
[0050] Data Collection:
[0051] Breast imaging data: Obtain breast X-ray (such as mammography), ultrasound or MRI imaging data from the medical institution's Picture Archiving and Communication System (PACS); Physiological signal data: Collect physiological signal data of postpartum women, such as heart rate, blood pressure, respiratory rate, etc., through electrocardiographs, blood pressure monitors and other equipment; Biochemical index data: Obtain blood test results of postpartum women from the laboratory information system (LIS), including hormone levels (such as estrogen, progesterone), tumor markers (such as CA15-3, CEA), etc.; Questionnaire survey data: Design a health questionnaire for postpartum women, including personal basic information, birth history, breastfeeding status, family medical history, living habits, etc., and distribute it to postpartum women online or offline for completion;
[0052] Data integration and cleaning:
[0053] The data collected from different sources were integrated to ensure that the multimodal data of each postpartum woman were matched; the data were cleaned to remove duplicate, erroneous or incomplete data records.
[0054] Data annotation:
[0055] For breast imaging data, professional radiologists are needed to annotate them to clarify the area and nature of the lesions; for physiological signal data and biochemical indicator data, they are annotated according to the normal reference range to identify abnormal values.
[0056] Data partitioning:
[0057] The integrated and cleaned data set is divided into a training data set and a sample set to be classified. Usually, it can be divided according to a certain ratio (such as 70%:30%); the training data set is used to train the model, and the sample set to be classified is used to test the performance of the model.
[0058] 102. Extracting breast image deep features based on a preset deep learning model in combination with the breast image data, extracting key physiological features and key biochemical features based on the physiological signal data and biochemical indicator data, and performing feature quantification and feature selection based on the questionnaire survey data to obtain text numerical features;
[0059] It should be noted that when choosing a deep learning model for processing image data, such as a convolutional neural network (CNN), you can use a pre-trained model (such as VGG16, ResNet, etc.) as a starting point, or build a model from scratch according to specific needs;
[0060] The breast image data is input into the deep learning model, and the deep features of the breast image are extracted through the model's convolutional layer, pooling layer and other operations. These features include edge, texture, shape and other information, which are helpful for subsequent classification and recognition;
[0061] Extract key features related to breast health from physiological signal data and biochemical index data. For example, extract heart rate variability features from electrocardiogram data, and extract specific hormone levels or tumor marker levels from biochemical indicators.
[0062] Clean and organize the questionnaire data, remove invalid or contradictory answers, and convert the categorical or descriptive answers in the questionnaire into numerical data. For example, for some questions, different options can be set to correspond to different values (such as 1 for "yes" and 0 for "no"). For descriptive answers, text mining techniques (such as bag-of-words model, TF-IDF, etc.) can be used to convert them into numerical features;
[0063] Based on their relevance to breast health, important features are selected for retention. Feature selection can be performed using statistical methods (such as ANOVA, chi-square test, etc.) or machine learning algorithms (such as random forest, support vector machine, etc.).
[0064] 103. Screening is performed based on the breast image depth features, the physiological key features, the biochemical key features and the text numerical features in combination with a feature selection algorithm to obtain a feature set corresponding to the training data set and a feature set of samples to be classified;
[0065] It should be noted that the above four features (breast image depth features, physiological key features, biochemical key features and text numerical features) are spliced to form a comprehensive feature vector;
[0066] Select one or more feature selection algorithms, such as recursive feature elimination (RFE), model-based feature selection (such as using random forest or L1 regularized linear model), etc., take the comprehensive feature vector of the training data set as input, and use the selected feature selection algorithm to perform feature screening;
[0067] According to the output of the feature selection algorithm, determine which features are the most important for the postpartum breast health detection task, remove those features that contribute little to the model performance or are redundant, and divide the screened features into a feature set corresponding to the training data set and a feature set of samples to be classified;
[0068] Use the divided training dataset feature set to train the classification model, evaluate the performance of the model on the validation set, and further fine-tune the feature selection process based on the evaluation results.
[0069] 104. Construct a basic classifier based on the training data set, the sample to be classified, the feature set corresponding to the training data set, and the feature set of the sample to be classified in combination with the KNN algorithm, find the nearest K neighbors by calculating the distance between the sample to be classified and the training data set, and obtain the category of the sample to be tested according to the categories of these neighbors;
[0070] Example:
[0071] Data preparation: Training data set: labeled multimodal data, including breast images, physiological signals, biochemical indicators and questionnaire data, as well as the corresponding feature sets; samples to be classified: unlabeled multimodal data and their feature sets; ensure that the feature sets of the training data set and the samples to be classified have undergone the same feature extraction and selection process to ensure feature consistency; the feature set may include deep features of breast images, key features of physiological signals, key features of biochemical indicators and numerical features of questionnaires.
[0072] Construct a KNN classifier: Select a distance metric, such as Euclidean distance, Manhattan distance, etc., to calculate the distance between the sample to be classified and the sample in the training data set, and set the K value, that is, the number of nearest neighbors. This value can be determined by cross-validation to determine the optimal value.
[0073] Calculate the distance: For each sample to be classified, calculate its distance from all samples in the training data set; the distance calculation can be performed based on the numerical value of the feature set to ensure that all features have been quantized into numerical form.
[0074] Find the nearest neighbor: Based on the calculated distance, find the K nearest training samples for each sample to be classified, that is, its "nearest neighbors".
[0075] Category judgment: Check the category labels of the K nearest neighbors; determine the category of the sample to be classified by voting or weighted voting. For example, if most of the K nearest neighbors belong to a certain category, the sample to be classified is also judged to be that category, and the classification result is output, including the category label of the sample to be classified and the confidence of the classification (if necessary).
[0076] 105. Use the AdaBoost algorithm to integrate multiple KNN basic classifiers into a strong classifier. In each round of iteration, adjust the sample weight according to the error rate of the previous round of classifiers, and train a new KNN classifier. Finally, linearly combine the results of all KNN classifiers according to the weights to obtain the final classification result.
[0077] Example:
[0078] Initialize data weights: For each sample in the training dataset, initialize its weight to an equal value, such as 1 / N, where N is the total number of training samples.
[0079] Initialize the strong classifier: Initialize the strong classifier to 0 or a default weight combination.
[0080] Iteratively construct the basic classifier: fort = 1 to T (T is the preset number of iterations or the number of basic classifiers);
[0081] Weight normalization: Make sure the sum of all sample weights is 1.
[0082] Train KNN base classifier: Use the training data set with the current weights to train a KNN base classifier (h_t). In this process, the weights of the samples will affect the training of the classifier, making the classifier pay more attention to the samples that were previously misclassified.
[0083] Calculate the error rate: Use the training data set to evaluate the performance of the current KNN classifier and calculate its error rate (\epsilon_t). The error rate is calculated based on the sample weights and the classifier's prediction results.
[0084] Calculate classifier weight: Calculate the weight (\alpha_t) of the current KNN classifier in the final strong classifier based on the error rate. Generally, a classifier with a lower error rate will get a higher weight.
[0085] Update sample weights: Based on the prediction results of the current KNN classifier, increase the weights of samples that are misclassified and reduce the weights of samples that are correctly classified. In this way, in the next iteration, the model will pay more attention to samples that were previously misclassified.
[0086] Build a strong classifier:
[0087] After T rounds of iterations, the obtained T KNN basic classifiers are linearly combined according to their respective weights (\alpha_t) to form a strong classifier H(x). For a new sample x, the output of the strong classifier is the weighted sum of the outputs of the T basic classifiers, that is, (H(x)=\sum_{t=1}^{T}\alpha_th_t(x)).
[0088] Output the final classification results:
[0089] For the samples to be classified, the constructed strong classifier is used to make classification predictions and output the final classification results. The classification results can be binary classification (such as healthy / disease) or multi-classification (such as different types of breast diseases).
[0090] In an embodiment of the present invention, a postpartum breast health detection system integrating multimodal data is described. The system first collects breast imaging data, physiological signal data, biochemical index data and questionnaire data of postpartum women, and then extracts key features related to breast health from these multimodal data through deep learning models, feature extraction technology and feature selection algorithms. Then, the system uses the KNN algorithm to construct a basic classifier, and integrates multiple KNN basic classifiers into a strong classifier through the AdaBoost algorithm to improve the accuracy and robustness of the classification. Finally, the system can automatically classify and predict the samples to be classified, providing an effective technical means for the detection of postpartum breast health. By fusing multimodal data, the system can have a more comprehensive understanding of the patient's health status, thereby improving the accuracy of breast health detection; the system takes into account the individual differences of patients, including physiological and biochemical indicators and questionnaire data, so it can provide each patient with a more personalized health detection plan; through deep learning models and machine learning algorithms, the system can automatically extract key features and perform classification predictions, reducing the need for manual intervention and improving detection efficiency; it can flexibly integrate new data types and feature extraction methods to adapt to changing detection needs; it can provide doctors with more objective and comprehensive test data and analysis results, helping doctors make more accurate medical decisions; through automated and intelligent detection processes, it can reduce unnecessary inspection and diagnosis time, thereby reducing medical costs. In summary, by fusing multimodal data and advanced machine learning algorithms, this technology provides an accurate, efficient and personalized solution for the detection of postpartum breast health, which is expected to play an important role in practical applications.
[0091] See also Figure 2 Another embodiment of the postpartum breast health detection method integrating multimodal data in the embodiment of the present invention includes:
[0092] 201. Obtain breast multimodal data of a postpartum woman, wherein the breast multimodal data includes a training data set and samples to be classified, and the training data set and samples to be classified both include breast imaging data, physiological signal data, biochemical indicator data, and questionnaire survey data;
[0093] It should be noted that this step is consistent with the above-mentioned embodiment 1;
[0094] 202. Preprocessing is performed based on the breast image data, the physiological signal data, the biochemical index data and the questionnaire survey data;
[0095] The breast imaging data is resized and color corrected, image processing technology is used to remove noise and artifacts in the image, the contrast of the image is improved by histogram equalization and contrast stretching methods to highlight breast tissue and potential lesion areas, and the pixel values are normalized to between 0 and 1 to eliminate the influence of different imaging equipment or shooting conditions; the physiological signal data is filtered to remove noise, ensure the signal baseline is stable, eliminate signal drift, divide the continuous signal data into segments, and then convert the data to a unified scale to eliminate the influence of dimension and order of magnitude; the biochemical indicator data is processed by interpolation and averaging. The data were estimated and filled using the value filling method, outliers were identified and processed using the IQR rule, logarithmic transformation and Box-Cox transformation were performed to improve the normality of the data or make it more consistent with the model assumptions, and the data were normalized to eliminate the dimension and order of magnitude differences between different biochemical indicators; the questionnaire survey data were checked and the errors, omissions or inconsistent information in the questionnaire were corrected, and for missing values, the mode and median were selected to fill in according to the nature of the question; for categorical variables, one-hot encoding was used for conversion so that the machine learning model could process them, and text mining technology was used to convert text descriptions into numerical features;
[0096] It should be noted that breast imaging data preprocessing: all breast images are adjusted to a uniform size, such as 256x256 pixels, to ensure that the model can process all images consistently. For images with color deviation, use color correction algorithms (such as white balance) for adjustment; apply Gaussian filtering or median filtering to remove noise in the image. For artifacts caused by equipment or shooting conditions, use image processing techniques (such as frequency domain filtering) to remove them; use histogram equalization or contrast stretching technology to improve the contrast of the image, making breast tissue and potential lesion areas more obvious; scale pixel values to between 0 and 1 to eliminate the impact of different imaging equipment or shooting conditions on image brightness.
[0097] Preprocessing of physiological signal data: Use bandpass filters or notch filters to remove noise unrelated to physiological signals, such as power frequency interference; ensure that the baseline of the signal is stable by subtracting the baseline value of the signal or using a high-pass filter, and eliminate long-term drift in the signal; divide continuous signal data into fixed time windows (such as every second or every minute) to facilitate subsequent feature extraction and analysis; convert all signal data to a unified scale, such as using z-score standardization to eliminate dimensional and order of magnitude differences between different signals.
[0098] Preprocessing of biochemical index data: For missing biochemical index data, interpolation (such as linear interpolation, polynomial interpolation) or mean filling method is used for estimation; the interquartile range (IQR) rule is used to identify and process outliers, such as treating values beyond 1.5 times the IQR range as outliers and replacing or deleting them; logarithmic transformation or Box-Cox transformation can improve the normality of the data or make it more consistent with the model assumptions; all biochemical index data are normalized to the same scale to eliminate the dimension and order of magnitude differences between different indicators.
[0099] Questionnaire survey data preprocessing: Check and correct errors, omissions or inconsistent information in the questionnaire. Correct or delete obvious logical errors or self-contradictory answers; choose an appropriate filling method based on the nature of the question, such as mode filling for classification questions and median filling for continuous variables; for categorical variables (such as gender, marital status, etc.), use One-Hot Encoding for conversion to facilitate machine learning model processing.
[0100] Text description conversion: Use text mining techniques (such as bag-of-words model, TF-IDF, etc.) to convert text descriptions into numerical features to facilitate subsequent numerical analysis and modeling.
[0101] 203. Extracting breast image deep features based on a preset deep learning model in combination with the breast image data, extracting key physiological features and key biochemical features based on the physiological signal data and the biochemical index data, and performing feature quantification and feature selection based on the questionnaire survey data to obtain text numerical features;
[0102] Specifically, the preset convolutional neural network CNN is used to train breast image data to extract deep features, including texture, shape, and edge information of breast tissue. The extracted deep features are saved in vector form as a representation of breast image data; the physiological signal data is processed to extract key features related to breast health, including heart rate variability and electrocardiogram waveform features; key indicators closely related to breast health are extracted from biochemical indicator data, including hormone levels and tumor markers; the questionnaire data is quantified, the text information is converted into numerical features, and the chi-square test is used to select the features most relevant to breast health; for each feature type: breast image deep features, physiological key features, biochemical key features, and text numerical features, a comprehensive score is calculated to measure the importance of the feature to breast health classification. Assuming F_{score}(f)) is the comprehensive score of feature (f), then:
[0103] F_{score}(f)=w_1\cdot I_{relevance}(f)+w_2\cdot U_{niqueness}(f)+w_3\cdot C_{orrelation}(f)
[0104] Among them, (I_{relevance}(f)) is the relevance score of feature (f), which measures the degree of association between the feature and breast health status; (U_{niqueness}(f)) is the uniqueness score of feature (f), which indicates the rarity or specificity of the feature in the dataset; (C_{orrelation}(f)) is the correlation score between feature (f) and other features, which is used to measure the redundancy of the feature; (w_1,w_2,w_3) are weight coefficients used to adjust the importance of different scoring components;
[0105] It should be noted that the breast imaging data: breast ultrasound images of 100 postpartum women were collected, of which 50 were healthy and 50 had breast diseases; physiological signal data: electrocardiogram (ECG) data of these women were also collected, recording their heart rate and heart rhythm at rest; biochemical indicator data: their blood test reports were obtained, including hormone levels such as estrogen and progesterone, and possible tumor markers such as CA15-3; questionnaire survey data: their age, reproductive history, breastfeeding history, family medical history and other information were collected through questionnaire surveys.
[0106] Feature extraction, breast image features: use a pre-trained CNN model (such as VGG16 or ResNet) to extract features from 100 breast ultrasound images, and obtain a 1000-dimensional feature vector for each image; physiological signal features: extract the time domain, frequency domain and nonlinear features of heart rate variability (HRV) from the electrocardiogram data, such as the RR interval mean, SDNN (RR interval standard deviation), LF / HF ratio, etc., to obtain a 20-dimensional feature vector; biochemical indicator features: select 5 hormone levels and 2 tumor markers related to breast health to obtain a 7-dimensional feature vector; questionnaire survey features: convert the categorical variables in the questionnaire survey (such as whether there is a family history of disease) into binary values, and keep the continuous variables (such as age) unchanged to obtain a 10-dimensional feature vector.
[0107] Relevance score (I_{\text{relevance}}(f)): Use statistical methods (such as mutual information) to calculate the correlation between each feature and breast health status (healthy or diseased) to obtain a score between 0 and 1; Uniqueness score (U_{\text{uniqueness}}(f)): Calculate the rarity of each feature in the dataset. For example, the inverse document frequency (IDF) of the feature value can be used as the uniqueness score; Correlation score (C_{\text{orrelation}}(f)): Calculate the Pearson correlation coefficient between each feature and other features, and take the average of the absolute values as the relevance score of the feature; Comprehensive score: Set weight coefficients (w_1=0.4), (w_2=0.3), (w_3=0.3), and calculate the comprehensive score (F_{\text{score}}(f)) of each feature according to the formula; Feature selection: Select features with a comprehensive score higher than a threshold (such as 0.6) for subsequent classification.
[0108] A support vector machine (SVM) classifier is trained using the selected features, and the performance of the classifier is evaluated through cross-validation (such as 5-fold cross-validation), and indicators such as accuracy, sensitivity, and specificity are calculated.
[0109] After the above process, the following data was obtained:
[0110] Breast imaging features: The 500-dimensional features with the highest comprehensive scores were selected.
[0111] Physiological signal features: 10-dimensional features were selected.
[0112] Biochemical index features: All 7-dimensional features were selected.
[0113] Questionnaire characteristics: 5 dimensions of features were selected.
[0114] These features were combined into a feature vector and input into the SVM classifier for training. Through cross-validation, we obtained an accuracy rate of 85%, indicating that the system has certain effectiveness in assisting breast health detection.
[0115] 204. Screening the feature set corresponding to the training data set and the feature set of the sample to be classified according to the breast image depth feature, the physiological key feature, the biochemical key feature and the text numerical feature in combination with a feature selection algorithm;
[0116] Specifically, the packaging method and the filtering method are used for feature selection, the mutual information and correlation coefficient indicators are used to evaluate the correlation between each feature and the postpartum breast health status, the recursive feature elimination method is used, and the feedback of the classifier is combined to iteratively select the most important feature subset, and a comprehensive score threshold is set to filter out the features above the threshold to form the final feature set; the filtered feature set is applied to the training data set and the samples to be classified to construct the corresponding feature vectors, for the training data set, a supervised learning method is used to train the classification model, and for the samples to be classified, the trained model is used for prediction and classification; the feature set corresponding to the training data set is output for training the postpartum breast health classification model, and the feature set of the samples to be classified is output for the prediction and classification tasks of the model;
[0117] It should be noted that, first of all, we already have feature sets extracted from breast images, physiological signals, biochemical indicators and questionnaires, which include breast image depth features, physiological key features, biochemical key features and text numerical features; Filtering method feature selection: Use mutual information, correlation coefficient and other indicators to evaluate the correlation between each feature and the postpartum breast health status. For example, we can calculate the mutual information value between each feature and the breast health status (such as health, mastitis, breast hyperplasia, etc.), and select features with higher mutual information values as candidate features; Packaging method feature selection: Use recursive feature elimination (RFE) combined with classifier feedback to iteratively select the most important feature subset. Specifically, we can use a basic classifier (such as SVM, logistic regression, etc.), and in each iteration, remove the least important features according to the performance evaluation of the classifier until the preset number of features or performance threshold is reached; Comprehensive score and threshold setting: Set a comprehensive score threshold, which can be calculated based on the above-mentioned mutual information, correlation coefficient and classifier feedback. Features above the threshold are screened out to form the final feature set; Feature vector construction: The screened feature set is applied to the training data set and the samples to be classified, and the corresponding feature vector is constructed for each sample. For example, the feature vector of a sample may include texture features extracted from breast images, heart rate variability features extracted from physiological signals, hormone level features extracted from biochemical indicators, and textual numerical features such as age and reproductive history extracted from questionnaires; Model training: For the training data set, supervised learning methods (such as random forests, neural networks, etc.) are used to train the classification model. During the training process, cross-validation and other techniques can be used to optimize model parameters and prevent overfitting; Model prediction: For the samples to be classified, the trained model is used for prediction and classification. Output the predicted category of each sample (such as health, mastitis risk, etc.). Output feature set and prediction results: Output the feature set corresponding to the training data set, which can be used to train the postpartum breast health classification model.
[0118] 205. Construct a basic classifier based on the training data set, the sample to be classified, the feature set corresponding to the training data set, and the feature set of the sample to be classified in combination with the KNN algorithm, find the nearest K neighbors by calculating the distance between the sample to be classified and the training data set, and obtain the category of the sample to be tested according to the categories of these neighbors;
[0119] Specifically, according to the local density or clustering of the samples to be classified, the size of the K value is dynamically adjusted. A smaller K value is used in the sample-dense area, and a larger K value is used in the sample-sparse area. The dynamically adjusted K value is set to K_{dynamic}, then:
[0120] K_{dynamic}=\lceilK_{base}\times\frac{\rho_{global}}{\rho_{local}}\rceil
[0121] Where, K_{base}: base K value, determined by experience or cross-validation; -\rho_{global}: global sample density, that is, the average density of samples in the training data set; -\rho_{local}: local density of samples to be classified, obtained by calculating the number of samples within a certain range near the samples to be classified;
[0122] Assign a weight to each feature, which is determined based on the importance or relevance of the feature. When calculating the distance between the sample to be classified and the training sample, the weighted distance formula is used so that the weighted distance is D_{weighted}(x,y), then:
[0123] D_{weighted}(x,y)=\sqrt{\sum_{i=1}^{n}w_i(x_i-y_i)^2}
[0124] Where, w_i: the weight of the i-th feature, which is determined according to the importance or relevance of the feature, such as calculated using mutual information or correlation coefficient methods; x_i, y_i: the values of the sample to be classified and the training sample on the i-th feature, respectively;
[0125] Select the cosine similarity distance measurement method to calculate the distance between the sample to be classified and the training sample. According to the calculated distance, find the K training samples closest to the sample to be classified as neighbors; count the number of categories or weighted voting scores of each category among the K nearest neighbors, select the category with the largest number or the highest score as the predicted category of the sample to be classified, and output the predicted category of the sample to be classified and its confidence;
[0126] It should be noted that the dataset contains two categories: healthy (labeled as 0) and diseased (labeled as 1), each with 50 samples; the feature values have been standardized, that is, between 0 and 1; we select one of the samples as the sample to be classified, and the remaining 99 samples as the training set.
[0127] Set the base K value (K_{base}): Assume that we set it based on experience or cross-validation (K_{base}=5); Calculate the global sample density (\rho_{global}): Assume that the volume of the entire feature space is 1 (because the eigenvalue is between 0 and 1), then (\rho_{global}=\frac{100}{1}=100);
[0128] Calculate local density (\rho_{local}): For the sample to be classified, we select a neighborhood with a radius of 0.1 to calculate the local density. Assuming there are 10 samples within this radius, then (\rho_{local}=10); Dynamically adjust the K value: According to the formula (K_{dynamic}=\lceil K_{base}\times\frac{\rho_{global}}{\rho_{local}}\rceil), we get (K_{dynamic}=\lceil 5\times\frac{100}{10}\rceil=50);
[0129] Assign feature weights: Assume that we have calculated the correlation between each feature and the category through some method (such as mutual information) and obtained the following weight vector: (w = [0.1, 0.2, 0.05, 0.15, 0.1, 0.05, 0.1, 0.1, 0.05, 0.1]); Calculate weighted distance: For each sample to be classified and each sample in the training set, we use the weighted distance formula to calculate the distance between them. For example, for a training sample (y), its weighted distance is: (D_{weighted}(x,y) = \sqrt{0.1(x_1-y_1)^2+0.2(x_2-y_2)^2+...+0.1(x_{10}-y_{10})^2}).
[0130] Choosing cosine similarity: Although we use weighted distance here, we can also choose cosine similarity as the distance metric. For consistency, we continue to use weighted distance in this example.
[0131] Find K nearest neighbors: Based on the weighted distance, we find the 50 training samples closest to the sample to be classified as neighbors; Count the number of categories: Among these 50 neighbors, assume that 30 belong to the healthy category (labeled as 0) and 20 belong to the diseased category (labeled as 1); Determine the predicted category: Since the healthy category has the largest number of neighbors, we predict the sample to be classified as the healthy category; Output the predicted category and confidence: The predicted category is healthy (labeled as 0), and the confidence is (\frac{30}{50}=0.6).
[0132] 206. Use the AdaBoost algorithm to integrate multiple KNN basic classifiers into a strong classifier. In each round of iteration, adjust the sample weight according to the error rate of the previous round of classifiers, and train a new KNN classifier. Finally, linearly combine the results of all KNN classifiers according to the weights to obtain the final classification result.
[0133] Specifically, in the AdaBoost iterative process, the number of iterations M is initialized and set, then:
[0134] Iterative training: For each round m=1, 2, ..., M:
[0135] a. Train a KNN classifier Cm using the current sample weights;
[0136] b. Calculate the error rate em of the classifier Cm on the training data set. The error rate is calculated based on weighted samples.
[0137] c. Calculate the weight αm of the classifier Cm. The weight is inversely proportional to the error rate em, that is, the better the classifier performance, the greater the weight;
[0138] d. Update the weight of each sample in the training data set, increase the weight of the wrongly classified samples, and reduce the weight of the correctly classified samples;
[0139] Final classifier: After M rounds of iterations, M KNN basic classifiers and their weights are obtained;
[0140] Output the predicted category of the sample to be classified and the performance index of the classifier to obtain the final classification result;
[0141] It should be noted that we have a postpartum breast health dataset containing 100 samples, each sample has 10 features, and the sample categories are evenly distributed (50 healthy and 50 diseased). The dataset has been preprocessed and feature extracted;
[0142] AdaBoost Iterative Process
[0143] Initialization: Set the number of iterations M = 5; initialize the sample weights to be uniformly distributed, that is, the weight of each sample is (\frac{1}{100}).
[0144] Iterative training: First round (m=1): Use the current sample weights to train a KNN classifier (C_1); Calculate the error rate (e_1) of the classifier (C_1) on the training data set. Assume (e_1=0.2) (i.e. 20% of the samples are misclassified); Calculate the weight (\alpha_1) of the classifier (C_1). Usually use the formula (\alpha_m=\frac{1}{2}\ln\left(\frac{1-e_m}{e_m}\right)) to calculate. Substitute (e_1=0.2) to get (\alpha_1); Update the weight of each sample in the training data set. The weight of the misclassified samples increases, and the weight of the correctly classified samples decreases. The specific update formula is usually related to (\alpha_m) and the classification results of the sample;
[0145] Second to fifth round (m=2,3,4,5): Repeat the above steps, train (C_2,C_3,C_4,C_5) respectively, and calculate their respective error rates (e_m) and weights (\alpha_m), and then update the sample weights;
[0146] Final classifier: After 5 rounds of iterations, we get 5 KNN base classifiers ((C_1, C_2, C_3, C_4, C_5)) and their weights ((\alpha_1,\alpha_2,\alpha_3,\alpha_4,\alpha_5));
[0147] For a new sample to be classified, each KNN classifier will give a predicted category (0 or 1); the final classification result is obtained by linearly combining the results of all KNN classifiers according to their weights. Usually, we choose the category with the largest weight as the final predicted category;
[0148] Output: Output the predicted category of the sample to be classified; you can also output the performance indicators of the classifier, such as accuracy, recall, F1 score, etc., to evaluate the performance of the integrated classifier.
[0149] The parameters of the KNN classifier (such as the K value) can remain unchanged in each round of iteration or be adjusted as needed, and the method of updating the sample weights can vary depending on the implementation of the specific algorithm. Usually, the misclassified samples will be given higher weights in the next round so that the classifier can pay more attention to these difficult-to-classify samples.
[0150] In an embodiment of the present invention, a postpartum breast health classification system based on integrated multimodal data is described. First, the system collects breast imaging data, physiological signal data, biochemical index data and questionnaire data of postpartum women. Then, these raw data are preprocessed, including resizing, color correction, noise removal, data normalization, etc., to improve data quality. Then, a deep learning model is used to extract deep features from breast imaging data, and key features are extracted from physiological signals, biochemical indicators and questionnaire data. These features are then screened by a feature selection algorithm to construct a feature set of training data sets and samples to be classified. On this basis, the system uses the KNN algorithm to construct a basic classifier, and optimizes the classification performance by dynamically adjusting the K value and weighted distance calculation. Finally, multiple KNN basic classifiers are integrated into a strong classifier through the AdaBoost algorithm to obtain the final classification result. It integrates multiple types of data (breast images, physiological signals, biochemical indicators and questionnaire data) to make the classification results more comprehensive and accurate; uses deep learning models to extract deep features from breast images, which can capture more complex image information and improve classification accuracy; uses feature selection algorithms to select the most relevant features, reduces redundancy and noise, and further improves classification performance; in the KNN classifier, dynamically adjusts the K value and introduces weighted distance calculation to make classification more flexible and accurate, and adapt to changes in sample density and feature importance; uses the AdaBoost algorithm to integrate multiple KNN basic classifiers, through Through iterative optimization and weight adjustment, the robustness and generalization ability of the classifier are enhanced; it not only relies on single medical examination data, but also combines multi-dimensional information such as physiology, biochemistry and questionnaire surveys to provide a more comprehensive assessment of the breast health of postpartum women; it helps doctors to discover potential breast problems in the early stages, so as to intervene and treat them in time, and improve patients' survival rate and quality of life; in summary, this technology significantly improves the accuracy and robustness of postpartum breast health classification by integrating multimodal data, deep learning feature extraction, feature selection, optimizing KNN classifiers and ensemble learning, providing strong support for medical diagnosis.
[0151] The above describes the postpartum breast health detection method integrating multimodal data in an embodiment of the present invention. The following describes the postpartum breast health detection device integrating multimodal data in an embodiment of the present invention. Figure 3In one embodiment of the present invention, a postpartum breast health detection device integrating multimodal data includes: an acquisition module, which is used to acquire multimodal breast data of a postpartum woman, wherein the multimodal breast data includes a training data set and samples to be classified, and the training data set and samples to be classified include breast imaging data, physiological signal data, biochemical indicator data and questionnaire survey data; an extraction module, which is used to extract breast imaging deep features according to a preset deep learning model in combination with the breast imaging data, extract physiological key features and biochemical key features according to the physiological signal data and biochemical indicator data, perform feature quantification and feature selection according to the questionnaire survey data, and obtain text numerical features; a processing module, which is used to extract the breast imaging deep features, the physiological key features, the biochemical key features and the text numerical features according to the breast imaging deep features, the physiological key features, the biochemical key features and the text numerical features. The numerical features are combined with the feature selection algorithm to obtain the feature set corresponding to the training data set and the feature set of the samples to be classified; the setting module is used to build a basic classifier based on the training data set, the samples to be classified, the feature set corresponding to the training data set, and the feature set of the samples to be classified in combination with the KNN algorithm, and the distance between the samples to be classified and the training data set is calculated to find the nearest K neighbors, and the category of the sample to be tested is obtained according to the categories of these neighbors; the allocation module is used to use the AdaBoost algorithm to integrate multiple KNN basic classifiers into a strong classifier. In each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained. Finally, the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification result.
[0152] In the embodiment of the present invention, a comprehensive detection of breast health of postpartum women is achieved through the collaborative work of multiple modules. First, the acquisition module collects multimodal data including breast imaging data, physiological signal data, biochemical index data and questionnaire survey data. Then, the extraction module uses deep learning and other technologies to extract key features from these data. Then, the processing module selects the most important feature set through the feature selection algorithm. The setting module uses the KNN algorithm to construct a basic classifier to classify the samples to be tested. Finally, the allocation module uses the AdaBoost algorithm to integrate multiple KNN basic classifiers to obtain a more accurate and robust final classification result; it integrates multimodal data such as breast images, physiological signals, biochemical indicators and questionnaires, provides a more comprehensive breast health assessment, and increases the accuracy and reliability of detection; deep features are extracted from breast images through deep learning models, which can capture more complex image details and help discover potential breast problems; the extracted features are screened through feature selection algorithms to remove redundant and irrelevant information and improve the performance of the classifier; the basic classifier constructed using the KNN algorithm can classify according to the similarity between the samples to be tested and the samples in the training data set, which is simple and effective; multiple KNN basic classifiers are integrated through the AdaBoost algorithm to improve the accuracy and stability of classification and reduce the errors that may be caused by a single classifier; In summary, this technology significantly improves the accuracy and reliability of postpartum breast health detection by integrating multimodal data, deep learning feature extraction, feature optimization and selection, KNN classifiers and AdaBoost ensemble learning, providing strong technical support for medical diagnosis and improving patients' medical experience.
[0153] above Figure 3 The postpartum breast health detection device integrating multimodal data in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The postpartum breast health detection device integrating multimodal data in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0154] Figure 4It is a structural schematic diagram of a postpartum breast health detection device for fusion of multimodal data provided by an embodiment of the present invention. The postpartum breast health detection device 400 for fusion of multimodal data may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 410 (for example, one or more processors) and a memory 420, and one or more storage media 430 (for example, one or more mass storage devices) storing application programs 433 or data 432. Among them, the memory 420 and the storage medium 430 can be short-term storage or permanent storage. The program stored in the storage medium 430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the postpartum breast health detection device 400 for fusion of multimodal data. Furthermore, the processor 410 may be configured to communicate with the storage medium 430 to execute a series of instruction operations in the storage medium 430 on the postpartum breast health detection device 400 for fusion of multimodal data.
[0155] The postpartum breast health detection device 400 integrating multimodal data may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input and output interfaces 460, and / or one or more operating systems 431, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 4 The structure of the postpartum breast health detection device integrating multimodal data shown does not constitute a limitation of the postpartum breast health detection device integrating multimodal data, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0156] The present invention also provides a postpartum breast health detection device that integrates multimodal data. The postpartum breast health detection device that integrates multimodal data includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the postpartum breast health detection method that integrates multimodal data in the above-mentioned embodiments.
[0157] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the postpartum breast health detection method that integrates multimodal data.
[0158] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0159] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the whole or part of the solution of the present invention, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.
[0160] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A postpartum breast health detection method integrating multimodal data, It is characterized in that The postpartum breast health detection method integrating multimodal data includes: Acquire breast multimodal data of postpartum women, wherein the breast multimodal data includes a training data set and samples to be classified, and the training data set and samples to be classified both include breast imaging data, physiological signal data, biochemical index data, and questionnaire survey data; Extracting breast image deep features based on a preset deep learning model in combination with the breast image data, extracting key physiological features and key biochemical features based on the physiological signal data and biochemical index data, and performing feature quantification and feature selection based on the questionnaire survey data to obtain text numerical features; According to the breast image depth features, the physiological key features, the biochemical key features and the text numerical features, a feature selection algorithm is combined to screen and obtain a feature set corresponding to the training data set and a feature set of samples to be classified; A basic classifier is constructed based on the training data set, the sample to be classified, the feature set corresponding to the training data set, and the feature set of the sample to be classified in combination with the KNN algorithm, and the nearest K neighbors are found by calculating the distance between the sample to be classified and the training data set, and the category of the sample to be tested is obtained according to the categories of these neighbors; The AdaBoost algorithm is used to integrate multiple KNN basic classifiers into a strong classifier. In each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained. Finally, the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification result.
2. The postpartum breast health detection method integrating multimodal data according to claim 1, It is characterized in that The multimodal breast data of the postpartum women are obtained, and the multimodal breast data include a training data set and samples to be classified, and the training data set and samples to be classified include breast imaging data, physiological signal data, biochemical index data and questionnaire survey data, including: Preprocessing is performed based on the breast image data, the physiological signal data, the biochemical index data and the questionnaire survey data; resizing and color correcting the breast image data, removing noise and artifacts in the image using image processing technology, improving the contrast of the image by histogram equalization and contrast stretching methods to highlight breast tissue and potential lesion areas, and normalizing pixel values to between 0 and 1 to eliminate the influence of different imaging devices or shooting conditions; Using a filter to remove noise from the physiological signal data, ensure a stable baseline of the signal, eliminate signal drift, segment the continuous signal data into segments, and then convert the data to a unified scale to eliminate the influence of dimension and order of magnitude; The biochemical index data were estimated and filled by interpolation and mean filling methods, outliers were identified and processed using the IQR rule, logarithmic transformation and Box-Cox transformation were performed to improve the normality of the data or make it more consistent with the model assumptions, and the data were normalized to eliminate the differences in dimensions and magnitudes between different biochemical indexes; The questionnaire survey data were checked and corrected for errors, omissions or inconsistent information in the questionnaire. For missing values, the mode or median was selected to fill in according to the nature of the question. For categorical variables, one-hot encoding was used for conversion so that the machine learning model could process them. Text descriptions were converted into numerical features using text mining techniques.
3. The postpartum breast health detection method integrating multimodal data according to claim 1, It is characterized in that The breast image deep features are extracted based on the preset deep learning model in combination with the breast image data, the key physiological features and key biochemical features are extracted based on the physiological signal data and the biochemical index data, and the text numerical features are obtained by feature quantification and feature selection based on the questionnaire survey data, including: Use the preset convolutional neural network (CNN) to train breast imaging data, extract deep features, including texture, shape, and edge information of breast tissue, and save the extracted deep features in vector form as a representation of breast imaging data; Process physiological signal data to extract key features related to breast health, including heart rate variability and electrocardiogram waveform features; Extract key indicators closely related to breast health from biochemical indicator data, including hormone levels and tumor markers; The questionnaire data were quantified, the text information was converted into numerical features, and the chi-square test was used to select the features most relevant to breast health; For each feature type: breast image depth feature, physiological key feature, biochemical key feature and textual numerical feature, a comprehensive score is calculated to measure the importance of the feature to breast health classification. Let F_{score}(f)) be the comprehensive score of feature (f), then: F_{score}(f)=w_1\cdot I_{relevance}(f)+w_2\cdot U_{niqueness}(f)+w_3\cdot C_{orrelation}(f) Among them, (I_{relevance}(f)) is the relevance score of feature (f), which measures the degree of association between the feature and breast health status; (U_{niqueness}(f)) is the uniqueness score of feature (f), which indicates the rarity or specificity of the feature in the dataset; (C_{orrelation}(f)) is the correlation score between feature (f) and other features, which is used to measure the redundancy of the feature; (w_1,w_2,w_3) are weight coefficients used to adjust the importance of different scoring components.
4. The postpartum breast health detection method integrating multimodal data according to claim 1, It is characterized in that The feature set corresponding to the training data set and the feature set of the sample to be classified are obtained by screening based on the breast image depth feature, the physiological key feature, the biochemical key feature and the text numerical feature in combination with the feature selection algorithm, including: The packaging method and filtering method were used for feature selection. The mutual information and correlation coefficient indicators were used to evaluate the correlation between each feature and the postpartum breast health status. The recursive feature elimination method was used in combination with the feedback of the classifier to iteratively select the most important feature subsets. A comprehensive score threshold was set to filter out features above the threshold to form the final feature set. Apply the selected feature set to the training data set and the samples to be classified to construct the corresponding feature vectors. For the training data set, use the supervised learning method to train the classification model. For the samples to be classified, use the trained model to predict and classify. Output the feature set corresponding to the training data set for training the postpartum breast health classification model, and output the feature set of the samples to be classified for the model's prediction and classification tasks.
5. The postpartum breast health detection method integrating multimodal data according to claim 1, It is characterized in that The basic classifier is constructed based on the training data set, the sample to be classified, the feature set corresponding to the training data set, and the feature set of the sample to be classified in combination with the KNN algorithm, and the nearest K neighbors are found by calculating the distance between the sample to be classified and the training data set, and the category of the sample to be tested is obtained according to the categories of these neighbors, including: According to the local density or clustering of the samples to be classified, the K value is dynamically adjusted. A smaller K value is used in the sample-dense area, and a larger K value is used in the sample-sparse area. The dynamically adjusted K value is set to K_{dynamic}, then: K_{dynamic}=\lceilK_{base}\times\frac{\rho_{global}}{\rho_{local}}\rceil Where, K_{base}: basic K value, determined by experience or cross-validation; -\rho_{global}: global sample density, that is, the average density of samples in the training data set; -\rho_{local}: local density of samples to be classified, obtained by calculating the number of samples within a certain range near the samples to be classified; Assign a weight to each feature, which is determined based on the importance or relevance of the feature. When calculating the distance between the sample to be classified and the training sample, the weighted distance formula is used so that the weighted distance is D_{weighted}(x,y), then: D_{weighted}(x,y)=\sqrt{\sum_{i=1}^{n}w_i(x_i-y_i)^2} Where, w_i: the weight of the i-th feature, which is determined according to the importance or relevance of the feature, such as calculated using mutual information or correlation coefficient methods; x_i, y_i: the values of the sample to be classified and the training sample on the i-th feature, respectively; Select the cosine similarity distance measurement method to calculate the distance between the sample to be classified and the training sample. According to the calculated distance, find the K training samples closest to the sample to be classified as neighbors; Count the number of categories or weighted voting scores of the K nearest neighbors, select the category with the largest number or the highest score as the predicted category of the sample to be classified, and output the predicted category of the sample to be classified and its confidence.
6. The postpartum breast health detection method integrating multimodal data according to claim 1, It is characterized in that The AdaBoost algorithm is used to integrate multiple KNN basic classifiers into a strong classifier. In each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained. Finally, the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification results, including: In the AdaBoost iterative process, the number of iterations M is initialized, then: Iterative training: For each round m=1, 2, ..., M: a. Train a KNN classifier Cm using the current sample weights; b. Calculate the error rate em of the classifier Cm on the training data set. The error rate is calculated based on weighted samples. c. Calculate the weight αm of the classifier Cm. The weight is inversely proportional to the error rate em, that is, the better the classifier performance, the greater the weight; d. Update the weight of each sample in the training data set, increase the weight of the wrongly classified samples, and reduce the weight of the correctly classified samples; Final classifier: After M rounds of iterations, M KNN basic classifiers and their weights are obtained; Output the predicted category of the sample to be classified and the performance index of the classifier to obtain the final classification result.
7. The postpartum breast health detection method integrating multimodal data according to claim 6, Features Also includes: In each round of iteration, not only the sample weights are adjusted, but also the K value in KNN is dynamically adjusted. The K value that makes the next round of KNN classifier perform best is selected based on the performance of the previous round of classifier. In each round of iteration, the features are resampled, that is, each time the KNN classifier is trained, a part of the features is randomly selected for training to increase the diversity of the model.
8. A postpartum breast health detection device integrating multimodal data, It is characterized in that The postpartum breast health detection device integrating multimodal data comprises: An acquisition module, used to acquire breast multimodal data of postpartum women, wherein the breast multimodal data includes a training data set and samples to be classified, and the training data set and samples to be classified both include breast imaging data, physiological signal data, biochemical index data, and questionnaire survey data; An extraction module is used to extract breast image deep features based on a preset deep learning model combined with the breast image data, extract key physiological features and key biochemical features based on the physiological signal data and biochemical index data, and perform feature quantification and feature selection based on the questionnaire survey data to obtain text numerical features; A processing module, used for screening according to the breast image depth features, the physiological key features, the biochemical key features and the text numerical features in combination with a feature selection algorithm to obtain a feature set corresponding to the training data set and a feature set of samples to be classified; A setting module is used to construct a basic classifier based on the training data set, the sample to be classified, the feature set corresponding to the training data set, and the feature set of the sample to be classified in combination with the KNN algorithm, find the nearest K neighbors by calculating the distance between the sample to be classified and the training data set, and obtain the category of the sample to be tested according to the categories of these neighbors; The allocation module is used to integrate multiple KNN basic classifiers into a strong classifier using the AdaBoost algorithm. In each round of iteration, the sample weight is adjusted according to the error rate of the previous round of classifiers, and a new KNN classifier is trained. Finally, the results of all KNN classifiers are linearly combined according to the weights to obtain the final classification result.
9. A postpartum breast health detection device integrating multimodal data, It is characterized in that The postpartum breast health detection device integrating multimodal data comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory so that the postpartum breast health detection device integrating multimodal data executes the postpartum breast health detection method integrating multimodal data as described in any one of claims 1-7.
10. A computer-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed by the processor, the postpartum breast health detection method integrating multimodal data as described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Method and system for evaluating and monitoring pituitary tumor dynamic risk
CN119069116A
A pituitary tumor dynamic risk assessment and monitoring method and system
CN119069116B
Disease risk characterization prediction system and method
CN119153100A
Glass wine bottle surface defect detection method and system
CN119438210A
Quantitative evaluation method for respiratory training
CN119581023A
