A scatter plot classification device
By integrating data preprocessing, intelligent classification algorithms, multimodal data integration and interpretability enhancement modules in the scatter plot classification device, the problem of difficulty in processing multimodal medical data with traditional methods is solved, and efficient and accurate data classification is achieved. and model interpretability to support personalized medicine and precise diagnosis.
Patent Information
- Application Number
- CN202410376463.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-03-29
AI Technical Summary
Traditional scatter plot analysis methods are difficult to effectively integrate multi-modal medical data, especially when processing information from different data sources such as images, text records, and biomarkers. The classification model has insufficient accuracy and interpretability, lacks transparency, and is difficult to Understand and trust the model’s decision-making process.
A scatter plot classification device is designed, including data preprocessing and enhancement module, intelligent classification algorithm module, interactive visual analysis module, multimodal data integration module and interpretive enhancement module, using Gaussian mixture model and hierarchical clustering algorithm. Perform data classification and process multi-modal data through multi-kernel learning and kernel method-based classifiers, providing interactive user interfaces and interpretive enhancement modules.
It improves the accuracy and robustness of medical data classification, enhances the adaptability and transparency of the model, supports personalized medicine and precise diagnosis, and promotes users' understanding and trust of classification results.
Smart Images

Figure CN118314379B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of scatter plot classification, and in particular to a scatter plot classification device. Background Art
[0002] In medical research and clinical practice, scatter plots, as a powerful data visualization tool, play a vital role. They can intuitively display the relationship between two or more variables and help medical professionals discover patterns, trends, and outliers in the data. However, with the explosive growth of medical data and the increasing diversity of data types, traditional scatter plot analysis methods face severe challenges. Especially when dealing with multimodal medical data, how to effectively integrate information from different data sources such as images, text records, biomarkers, and accurately and efficiently classify them has become an urgent problem to be solved.
[0003] In addition, with the widespread application of artificial intelligence technology in the medical field, improving the accuracy and robustness of classification models while ensuring the interpretability and user-friendliness of the models has also become a research focus, although the existing lack of sufficient transparency in data analysis and processing makes it difficult for medical professionals to understand and trust the decision-making process of the model. Summary of the invention
[0004] Based on the above purpose, the present invention provides a scatter plot classification device.
[0005] A scatter plot classification device includes a data preprocessing and enhancement module, an intelligent classification algorithm module, an interactive visualization analysis module, a multimodal data integration module and an explanatory enhancement module, wherein;
[0006] The data preprocessing and enhancement module receives medical research data, and cleans, standardizes and enhances the research data to improve the quality and consistency of the research data and prepare for subsequent classification;
[0007] The intelligent classification algorithm module: uses a Gaussian mixture model (GMM) and a hierarchical clustering algorithm to automatically group data points in the scatter plot into different categories or clusters;
[0008] The interactive visualization analysis module provides a user interface, allowing the user to view the scatter plot representation of the classification results and make adjustments or analyses through interactive operations;
[0009] The multimodal data integration module integrates information from different data sources and types, including images, text records, and biomarker data, to enhance the classification capabilities of the scatter plot;
[0010] The Explanatory Enhancement Module provides explanations for classification decisions to help medical professionals understand the classification process and results.
[0011] Furthermore, the data preprocessing and enhancement module specifically includes:
[0012] Data reception: Receive medical research data, including physiological parameters, experimental results, and imaging data, and automatically import data from different data sources and formats (such as CSV files, databases, API interfaces, etc.) through defined interfaces;
[0013] Data cleaning: Perform cleaning operations on the received data, including identifying and removing duplicate records, correcting obvious errors or inconsistencies, and filling in missing values;
[0014] Data standardization: converting data into a standard format to eliminate differences between different data sources or measurement units;
[0015] Data augmentation: Generate additional training samples through improved synthetic minority oversampling technique (C-SMOTE) and data transformation techniques;
[0016] Feature engineering: Automatically extract and select key features, including statistical features, morphological features, and features based on domain knowledge, and use principal component analysis (PCA) to reduce dimensions and retain only features that are helpful for classification;
[0017] Data integration: Integrate the cleaned, standardized and enhanced data into a unified data framework to ensure that the data is effectively processed in the subsequent intelligent classification algorithm module.
[0018] Furthermore, the improved synthetic minority oversampling technique (C-SMOTE) generates new minority class samples by considering the similarity conditions between samples, which is calculated as:
[0019] Given a minority class sample X and its nearest neighbor sample set N(X), select X nn ∈N(X), where X nn Satisfying condition C, new sample X new Generates the following:
[0020] X new =X+(X nn -X)×λ;
[0021] Among them, X represents the minority class sample point currently considered, N(X) represents the set of neighboring samples that are most similar to sample X, and X nn is a neighboring sample selected from N(X), C is a specific medical condition or similarity threshold, and λ is a random number in the range of [0,1];
[0022] The data transformation technology specifically includes:
[0023] Rotation: Given a two-dimensional data point X = (x, y), the matrix multiplication of the rotation operation is expressed as:
[0024]
[0025] Where X = (x, y) represents a data point in the original two-dimensional scatter plot, x and y are the coordinate values of the data point in two dimensions, and θ is the rotation angle;
[0026] Scaling: Given a two-dimensional data point X = (x, y), the scaling operation is expressed as:
[0027]
[0028] Where s is the scaling factor;
[0029] Translation: Given a two-dimensional data point X = (x, y), the translation operation is expressed as:
[0030]
[0031] Among them, d x d y Represents the translation distance along the x-axis and y-axis respectively.
[0032] Furthermore, the calculation formula of the Gaussian mixture model (GMM) is:
[0033] Suppose there are K Gaussian distributions, the probability density function of the kth distribution is:
[0034]
[0035] Where x is the data point, d is the data dimension, and θ k =(μ k ,Σ k ) are the mean and covariance matrix of the kth Gaussian distribution respectively;
[0036] The probability density function of the entire data set is a weighted sum of Gaussian distributions:
[0037]
[0038] Among them, π k is the mixing coefficient of the kth distribution, satisfying
[0039] The hierarchical clustering algorithm organizes data by constructing a hierarchical tree of clusters, specifically including:
[0040] Initialization: treat each data point as a cluster;
[0041] Merging step: Find the two most similar or closest clusters among all cluster pairs, and merge the two clusters found;
[0042] Repeat: Repeat the merging step until all data points are merged into a cluster or a stopping criterion (such as the number of clusters) is reached.
[0043] Further, the user interface includes scatter plot display, interactive operation, dynamic adjustment of classification parameters and result analysis tools, wherein;
[0044] The scatter plot displays each category or cluster using different colors or marks, and displays the classification results in the scatter plot, so that the user can intuitively distinguish and identify data points of different categories;
[0045] The interactive operation includes:
[0046] Zoom and pan: Allows users to zoom and pan the scatter plot to view the details of data points or the distribution of different areas;
[0047] Selection and highlighting: Users can select specific data points or clusters by clicking or selecting a box. The system will highlight the selected data points and provide relevant detailed information, including the category and probability distribution.
[0048] The dynamic adjustment of classification parameters provides interface elements (such as sliders, input boxes, etc.) to enable users to dynamically adjust the parameters of the classification algorithm (such as the number of clusters, thresholds, etc.) and observe the impact of the parameter adjustment on the classification results in real time;
[0049] The result analysis tools include:
[0050] Data point information viewing: When the user selects one or more data points, a detailed information panel is provided to display the specific attributes and classification information of the selected data points;
[0051] Statistical analysis: Integrate basic statistical analysis functions and display them visually.
[0052] Furthermore, the multimodal data integration module includes data preprocessing, feature fusion and multimodal learning, wherein;
[0053] The data preprocessing specifically includes:
[0054] For image data, image processing techniques are applied to identify and extract key image features;
[0055] For text records, natural language processing (NLP) techniques are used to extract relevant information and features;
[0056] For biomarker data, standardization is performed to ensure data consistency and comparability;
[0057] The feature fusion designs and implements a feature fusion strategy to integrate features from different modalities into a unified feature space;
[0058] The multimodal learning uses a multi-kernel learning (MKL) algorithm to process the integrated data.
[0059] Furthermore, the multi-kernel learning (MKL) algorithm specifically includes:
[0060] Define a modality-specific kernel function: For a multimodal dataset, define a kernel function for each modality of data. Suppose there are three modal data: image X img , text record X txt and biomarker X bio , and the corresponding kernel functions are k img , k txt and k bio ;
[0061] Compute the mode-specific kernel matrix:
[0062] For image data, calculate the kernel matrix K img The calculation formula is:
[0063]
[0064] For a text record, calculate the kernel matrix K txt The calculation formula is:
[0065]
[0066] For biomarker data, calculate the kernel matrix K bio The calculation formula is:
[0067]
[0068] in, is the representation of the i-th sample in the modality mod;
[0069] Combined kernel matrix: Through the multi-kernel learning strategy, the kernel matrices of different modalities are combined to form a comprehensive kernel matrix K combined , the kernel matrix K combined is a linear combination, and the calculation formula of the linear combination is:
[0070] K combined =β img K img +β txt K txt +β bio K bio ;
[0071] Among them, β is the weight corresponding to the mode mod;
[0072] Training the classifier: Using the combined kernel matrix K combined As input, a kernel-based classifier is trained to make the final classification decision.
[0073] Furthermore, the training classifier specifically includes:
[0074] Generation of combined kernel matrix: Given data of different modalities and corresponding kernel matrix K img , K txt , K bio , combined K through the multi-core learning (MKL) strategy img , K txt , K bio Get the comprehensive kernel matrix K combined , the calculation formula is:
[0075]
[0076] Where M is the total number of modes, K m is the kernel matrix of the mth mode, β m is the weight of the mth mode;
[0077] Training a kernel-based classifier: Using the combined kernel matrix K combined As input, train a support vector machine SVM classifier. The goal of the support vector machine SVM classifier is to find the hyperplane that maximizes the interval between two categories, that is, to solve the following optimization problem in the kernel method:
[0078]
[0079] st0≤α i ≤C,i=1,…,n;
[0080]
[0081] in, y i is the label of the i-th sample, y is the class label vector of the sample, e is the all-1 vector, α is the vector of Lagrange multipliers, C is the regularization parameter,
[0082] The final decision function can be expressed as:
[0083]
[0084] Among them, f(x) is the decision function of SVM, which is used to predict the category of a given input sample x.
[0085] Furthermore, the explanatory enhancement module specifically includes:
[0086] Feature Importance Assessment: Apply feature importance assessment techniques to identify the features that contribute most to the classification decision;
[0087] Local explanation model: Use the method of integrating local prediction SHAP values to provide specific explanations for individual predictions;
[0088] Classification confidence score: Provides a confidence score for each classification decision, reflecting the certainty of the classification decision.
[0089] Furthermore, the integrated local prediction SHAP value specifically includes:
[0090] Definition: The integrated local prediction SHAP value is based on the Shapley value in cooperative game theory, which assigns an importance value to each feature;
[0091] Calculation formula: For a given prediction sample x, the calculation of the integrated local prediction SHAP value is expressed as:
[0092]
[0093] Among them, F is the set of all features, S is any feature subset that does not contain feature j, and f S (x S∪{j} ) is the prediction result of the model when the feature set is S∪{j}, f S (x S ) is the prediction result of the model when the feature set is S, φ j is the SHAP value of feature j;
[0094] Local explanation: By calculating the integrated local prediction SHAP value of each feature, the contribution of each feature to the prediction result is quantified, thereby providing explanations for individual predictions.
[0095] Beneficial effects of the present invention:
[0096] The present invention, by utilizing multiple data sources such as images, text records and biomarkers, can comprehensively capture the patient's health status and improve the accuracy and robustness of classification. In addition, the multi-kernel learning (MKL) algorithm and the kernel method-based classifier effectively process and analyze the integrated data, optimize the classification performance, and provide insights into the contribution of different modal data, thereby enhancing the adaptability and flexibility of the model.
[0097] The present invention, through an intuitive user interface, allows medical professionals to easily view and analyze classification results, dynamically adjust classification parameters, and directly participate in the decision-making process, which not only promotes users' understanding and trust in classification results, but also provides an effective way to explore potential patterns and associations in data, supporting personalized medicine and accurate diagnosis.
[0098] The present invention, by generating easy-to-understand explanations and visualizations of classification decisions, helps medical professionals understand how the model works and the basis for making specific decisions, further improving the transparency and credibility of the classification system. BRIEF DESCRIPTION OF THE DRAWINGS
[0099] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0100] Figure 1 Schematic diagram of various modules of the device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0101] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.
[0102] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The words "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0103] like Figure 1 As shown, a scatter plot classification device includes a data preprocessing and enhancement module, an intelligent classification algorithm module, an interactive visualization analysis module, a multimodal data integration module and an explanatory enhancement module, wherein;
[0104] Data preprocessing and enhancement module: Receives medical research data and cleans, standardizes and enhances the research data to improve the quality and consistency of the research data and prepare for subsequent classification. The data preprocessing and enhancement module ensures that the data is accurate and suitable for analysis before entering the classification algorithm;
[0105] Intelligent classification algorithm module: Using Gaussian mixture model (GMM) and hierarchical clustering algorithm, the data points in the scatter plot are automatically grouped into different categories or clusters. The intelligent classification algorithm module can intelligently identify and classify data points based on the extracted features and the similarities between data points;
[0106] Interactive Visual Analysis Module: Provides a user interface that allows users to view the scatter plot representation of classification results and adjust or analyze them through interactive operations. Users can directly interact with the classification results to identify and correct possible misclassifications and improve classification accuracy.
[0107] Multimodal data integration module: Integrate information from different data sources and types, including images, text records, and biomarker data, to enhance the classification ability of scatter plots. The multimodal data integration module provides a more comprehensive perspective for classifying data points by fusing multiple data.
[0108] Explanatory enhancement module: provides explanations for classification decisions to help medical professionals understand the classification process and results. By explaining the decision basis of the model, it increases users' trust and acceptance of the system's classification results.
[0109] Through the integration of these modules, the system can automatically, accurately and efficiently classify data points in medical scatter plots, while providing user interaction and system optimization capabilities to adapt to the ever-changing needs of medical research. This system is designed to address the shortcomings of existing technologies in automatic scatter plot classification and improve the efficiency and accuracy of medical data analysis.
[0110] The data preprocessing and enhancement module specifically includes:
[0111] Data reception: Receive medical research data, including physiological parameters, experimental results, and imaging data, and automatically import data from different data sources and formats (such as CSV files, databases, API interfaces, etc.) through defined interfaces;
[0112] Data cleaning: Perform cleaning operations on the received data, including identifying and removing duplicate records, correcting obvious errors or inconsistencies, and filling missing values. The methods used to fill missing values include data interpolation, mean filling, median filling, or filling based on prediction models. Choose the method that best suits the characteristics of the current data set;
[0113] Data standardization: converting data into a standard format to eliminate differences caused by different data sources or measurement units, including normalization of numerical data, adjusting all values to a uniform range (such as between 0 and 1), and encoding conversion of categorical data, such as converting text labels to numerical labels;
[0114] Data augmentation: Generate additional training samples through improved synthetic minority oversampling technology (C-SMOTE) and data transformation technology, especially in the case of unbalanced datasets or small data volumes, to improve the generalization ability of the model and the accuracy of classification;
[0115] Feature engineering: Automatically extract and select key features, including statistical features, morphological features, and features based on domain knowledge, and use principal component analysis (PCA) to reduce dimensions and retain only features that are helpful for classification;
[0116] Data integration: Integrate cleaned, standardized, and enhanced data into a unified data framework to ensure that the data is effectively processed in the subsequent intelligent classification algorithm module. This process also includes data alignment and time series synchronization to ensure data consistency and integrity;
[0117] Through the above steps, the data preprocessing and enhancement module can effectively improve the quality and consistency of medical research data, provide preparation for the subsequent classification of the scatter plot-based automatic data classification system, and ensure the accuracy and reliability of the classification results.
[0118] The improved synthetic minority oversampling technique (C-SMOTE) generates new minority class samples by considering the similarity conditions between samples, which is calculated as:
[0119] Given a minority class sample X and its nearest neighbor sample set N(X), select X nn ∈N(X), where X nn If condition C is satisfied (e.g., having similar disease markers or physiological parameters), the new sample X new Generates the following:
[0120] X new =X+(X nn -X)×λ;
[0121] Where X represents the minority class sample point currently under consideration. In the scatter plot classification system, X can be a vector representing a patient's specific physiological parameters, such as blood pressure, blood sugar level, etc., a feature vector used for classification. N(X) represents the set of neighboring samples that are most similar to sample X. These samples are selected based on specific medical conditions or similarities. In the present invention, similarity can be defined based on the similarity of disease type, treatment response, or physiological parameters. X nnis a neighboring sample selected from N(X) that satisfies a specific medical condition C with X, such as the same disease stage or similar treatment response. C is a specific medical condition or similarity threshold used to screen sample pairs for interpolation. This condition ensures the medical interpretability and rationality of the generated new sample. λ is a random number in the range of [0,1] used to control the degree of interpolation. This parameter determines the similarity between the newly generated sample and the original sample X and the neighboring sample X. nn The distance between
[0122] The original SMOTE algorithm generates new samples by interpolating between minority class samples and their nearest neighbors. Although this method can increase the number of minority class samples, it may not consider the underlying structure of the data. Especially in medical data, simple interpolation may generate samples that do not conform to the actual situation.
[0123] In scatter plot classification, C-SMOTE can be used to selectively enhance specific types of medical data, such as generating more samples for patient groups with specific diseases, thereby improving the classification performance and generalization ability of the model under these specific conditions. By introducing the medical condition C, it ensures that the generated samples are biomedically meaningful, thereby improving the classification accuracy.
[0124] Data transformation technologies include:
[0125] Rotation: Given a two-dimensional data point X = (x, y), the matrix multiplication of the rotation operation is expressed as:
[0126]
[0127] Among them, X = (x, y) represents a data point in the original two-dimensional scatter plot. x and y are the coordinate values of the data point in two dimensions, corresponding to medical parameters, such as two physiological indicators of the patient. θ is the rotation angle, which indicates the angle by which the scatter plot data point needs to be rotated around the origin. This parameter simulates the possible changes in perspective when observing medical parameters from different angles. For example, in medical image analysis, different shooting angles may affect the interpretation of the image.
[0128] In scatter plot classification, rotation can help the model understand data patterns observed from different angles. Especially when processing medical imaging data, it can enhance the model's robustness to changes in image orientation.
[0129] Scaling: Given a two-dimensional data point X = (x, y), the scaling operation is expressed as:
[0130]
[0131] Where s is the scaling factor, which indicates the ratio of scaling the scatter plot data points. In medical data analysis, scaling can be used to adjust the scale of data points to simulate the representation of medical parameters in different measurement units or different ranges, such as converting blood pressure values from mmHg to kPa;
[0132] Scaling enables the model to adapt to changes in data size or value range, which is very important for the classification of medical parameters because the same parameter may exhibit different value ranges in different patients or conditions;
[0133] Translation: Given a two-dimensional data point X = (x, y), the translation operation is expressed as:
[0134]
[0135] Among them, d x d y Represents the translation distance along the x-axis and y-axis respectively. In the context of scatter plot data, translation can be used to adjust the position of data points to simulate the baseline shift of medical parameters as the environment changes. For example, the measured values of physiological parameters under different experimental conditions may need to be corrected to eliminate systematic errors.
[0136] In the scatter plot classification system of the present invention, the three basic data transformation technologies of rotation, scaling and translation are combined to significantly improve the model's ability to process diversified medical data. For example, by rotation and scaling, medical image data observed from different angles and scales can be generated to enhance the model's adaptability to changes in the direction and size of image data. Translation transformation can be used to adjust data collected under different devices or conditions to match the baseline level.
[0137] These transformations not only increase the amount and diversity of data, but also improve the model's ability to understand and adapt to data changes, especially when faced with complex and changeable medical data, which can help the model classify more accurately and thus provide more reliable decision support in medical research and clinical practice.
[0138] In the scatter plot classification system of the present invention, more samples can be generated by C-SMOTE for minority samples of specific disease types, and then data transformation techniques such as rotation, scaling, and translation can be applied to these newly generated samples to simulate medical parameters observed from different angles, scales, and positions. This combined method can provide a more comprehensive and diverse training data set for the classification model, thereby improving the accuracy and robustness of the model in actual medical data analysis.
[0139] The calculation formula of Gaussian mixture model (GMM) is:
[0140] Suppose there are K Gaussian distributions, the probability density function of the kth distribution is:
[0141]
[0142] Where x is the data point, d is the data dimension, and θ k =(μ k ,Σ k ) are the mean and covariance matrix of the kth Gaussian distribution respectively;
[0143] The probability density function of the entire data set is a weighted sum of Gaussian distributions:
[0144]
[0145] Among them, π k is the mixing coefficient of the kth distribution, satisfying
[0146] The Gaussian mixture model (GMM) is defined in conjunction with the parameters of the present invention as:
[0147] x: represents a data point in the scatter plot. It is a vector whose elements correspond to the dimensions of the scatter plot. In the context of a medical scatter plot, x can represent multiple physiological indicators of a patient (such as blood pressure, heart rate, etc.);
[0148] K: The number of Gaussian distributions, that is, the number of clusters (categories) assumed in the model. In medical data analysis, K can represent the number of disease types or health status classifications expected to be distinguished;
[0149] π k : The mixing coefficient of the kth Gaussian distribution, which indicates the proportion of this distribution in the entire data set. In medical scatter plot classification, π k reflects the probability of belonging to the kth disease type or health state;
[0150] μ k : The mean vector of the k-th Gaussian distribution, representing the center point of the k-th cluster (or category) in each dimension. In the present invention, μ k It can indicate the average values of multiple physiological indicators for a group of patients with a specific disease marker;
[0151] Σ k : The covariance matrix of the kth Gaussian distribution describes the dispersion of data points in the cluster in each dimension and the correlation between dimensions. In the context of medical data, Σ k Helps capture the interactions and variability among different physiological indicators;
[0152] p(x|θ k ): Given the parameter θk =(μ k ,Σ k ), the probability density function of the data point x belonging to the kth Gaussian distribution under the condition of , which is used in scatter plot classification to evaluate the probability that a given data point belongs to a specific cluster;
[0153] p(x|θ): The probability density function of the entire data set is the weighted sum of all Gaussian distributions. In medical scatter plot analysis, it represents the comprehensive probability that a given data point belongs to any disease type or health state.
[0154] In the scatter plot classification system, GMM can be used to automatically group data points into different clusters, where each cluster is represented by a Gaussian distribution. This method is particularly suitable for situations where data points have a multi-peak distribution in the feature space. By estimating the GMM parameters (i.e., mean, covariance, and mixing coefficient), we can determine the probability that each data point belongs to each cluster, thereby achieving probability-based soft clustering.
[0155] Hierarchical clustering algorithms do not require the number of clusters to be specified in advance. Instead, they organize data by building a hierarchical tree of clusters. This tree structure can be built starting from a single data point (bottom-up aggregation method) or by treating all data as a whole cluster (top-down divisive method). Specifically, it includes:
[0156] Initialization: treat each data point as a cluster;
[0157] Merging step: Find the two most similar or closest clusters among all cluster pairs, and merge the two clusters found;
[0158] Repeat: Repeat the merging step until all data points are merged into one cluster, or a stopping condition (such as the number of clusters) is reached;
[0159] In scatter plot classification systems, hierarchical clustering can be used to gradually discover structures in the data without having to predetermine the number of clusters. This is particularly useful for exploratory data analysis, such as in medical research on unknown disease subtypes or patterns. By observing the hierarchical clustering tree (also called a dendrogram), researchers can decide the most appropriate number of clusters based on the structure of the tree, thereby revealing natural groupings in the data.
[0160] Combining GMM and hierarchical clustering algorithms, the scatter plot classification system of the present invention can provide a flexible and powerful data point grouping tool that is adapted to different data distributions and analysis requirements. This comprehensive approach enables the system to not only handle complex medical data distributions, but also determine the most appropriate classification scheme based on the characteristics and structure of the data itself.
[0161] The user interface includes scatter plot display, interactive operation, dynamic adjustment of classification parameters, and result analysis tools, among which;
[0162] The scatter plot displays the classification results using different colors or marks for each category or cluster, allowing users to intuitively distinguish and identify data points of different categories;
[0163] Interactive operations include:
[0164] Zoom and pan: Allows users to zoom and pan the scatter plot to view the details of data points or the distribution of different areas;
[0165] Selection and highlighting: Users can select specific data points or clusters by clicking or selecting a box. The system will highlight the selected data points and provide relevant detailed information, including the category and probability distribution.
[0166] Dynamically adjust classification parameters by providing interface elements (such as sliders, input boxes, etc.) to allow users to dynamically adjust the parameters of the classification algorithm (such as the number of clusters, thresholds, etc.) and observe the impact of parameter adjustments on classification results in real time;
[0167] Results analysis tools include:
[0168] Data point information viewing: When the user selects one or more data points, a detailed information panel is provided to display the specific attributes and classification information of the selected data points;
[0169] Statistical analysis: integrates basic statistical analysis functions, such as calculating the statistical summary (mean, variance, etc.) of selected data points or clusters, and visually displaying them;
[0170] In the scatter plot classification system of the present invention, the interactive visualization analysis module provides users with a powerful tool to explore and analyze classification results. Through intuitive scatter plot representation and rich interactive operations, users can deeply understand the distribution of data and the performance of classification models, so as to make more accurate and well-founded decisions in medical research or clinical diagnosis. In addition, the functions of dynamically adjusting classification parameters and utilizing result analysis tools further enhance the practicality and flexibility of the module, supporting users to conduct personalized data analysis and exploration according to specific needs, thereby providing more efficient and effective support in complex medical data analysis tasks.
[0171] The multimodal data integration module includes data preprocessing, feature fusion and multimodal learning, among which;
[0172] Data preprocessing specifically includes:
[0173] For image data, image processing techniques (such as feature extraction and image segmentation) are applied to identify and extract key image features;
[0174] For text records, natural language processing (NLP) techniques (such as text mining and sentiment analysis) are used to extract relevant information and features;
[0175] For biomarker data, standardization is performed to ensure data consistency and comparability;
[0176] Feature fusion designs and implements feature fusion strategies to integrate features from different modalities into a unified feature space, which may involve feature normalization, dimensionality reduction (such as principal component analysis PCA), and feature selection techniques to ensure that information from different data sources is effectively fused and maximizes its contribution to classification;
[0177] Multimodal learning uses the multi-kernel learning (MKL) algorithm to process the integrated data. The multi-kernel learning (MKL) algorithm can process and interpret information from different modalities, especially those models that can handle heterogeneous data input;
[0178] By integrating and analyzing multi-source data from images, text records, and biomarkers, this module can provide a more comprehensive perspective to support classification decisions of scatter plots. For example, image data can reveal the visual pattern of the disease, text records can provide case history and clinical annotations, and biomarker data directly reflects the physiological and biochemical status.
[0179] In the scatter plot classification system of the present invention, the multimodal data integration module enables the system to comprehensively utilize rich and diverse medical data, thereby significantly improving the accuracy and reliability of classification. This comprehensive approach can not only reveal the potential associations between various data, but also improve the model's ability to recognize complex medical conditions. For example, combining image features and biomarker data can help the system more accurately distinguish different types of tumors or disease stages, while analysis of text records can provide additional contextual information for classification, such as disease progression or treatment response, making the classification results more accurate and meaningful. This multimodal data integration strategy is particularly suitable for addressing the challenges of diverse data types and large amounts of information in the medical field, and supports efficient and accurate medical research and clinical diagnosis.
[0180] The multi-kernel learning (MKL) algorithm specifically includes:
[0181] Define a modality-specific kernel function: For a multimodal dataset, define a kernel function for each modality of data. Suppose there are three modal data: image X img , text record X txt and biomarker X bio , and the corresponding kernel functions are k img , k txt and k bio ;
[0182] Compute the mode-specific kernel matrix:
[0183] For image data, calculate the kernel matrix K img The calculation formula is:
[0184]
[0185] For a text record, calculate the kernel matrix K txt The calculation formula is:
[0186]
[0187] For biomarker data, calculate the kernel matrix K bio The calculation formula is:
[0188]
[0189] in, is the representation of the i-th sample in the modality mod;
[0190] Combined kernel matrix: Through the multi-kernel learning strategy, the kernel matrices of different modalities are combined to form a comprehensive kernel matrix K combined , the kernel matrix K combined is a linear combination, and the calculation formula of the linear combination is:
[0191] K combined =β img K img +β txt K txt +β bio K bio ;
[0192] Among them, β is the weight corresponding to the modality mod, which is optimized through the training process to reflect the importance of different modal data in the final classification task;
[0193] Training the classifier: Using the combined kernel matrix K combined As input, a kernel-based classifier is trained to make the final classification decision;
[0194] In the scatter plot classification system of the present invention, the MKL method allows the system to more effectively process and analyze multimodal medical data by optimizing the combination of kernel functions of different modalities. This method is particularly suitable for medical data analysis because it can make full use of the complementary information of different types of data such as images, texts and biomarkers to improve the accuracy and robustness of classification.
[0195] For example, the kernel of image data may capture visual patterns and structural information, the kernel of text data may capture semantic and contextual information, and the kernel of biomarker data may capture physiological and biochemical indicators. Through MKL, this information is effectively fused, allowing the classification system to comprehensively consider multiple aspects of information, thereby achieving more accurate disease classification and health status assessment in complex medical research and clinical diagnosis tasks.
[0196] Training a classifier specifically involves:
[0197] Generation of combined kernel matrix: Given data of different modalities and corresponding kernel matrix K img , K txt , K bio , combined K through the multi-core learning (MKL) strategy img , K txt , K bio Get the comprehensive kernel matrix K combined , the calculation formula is:
[0198]
[0199] Where M is the total number of modes, K m is the kernel matrix of the mth mode, β m are the weights of the mth modality, which are learned through an optimization process to ensure that the final combined kernel matrix is most suitable for the classification task;
[0200] Training a kernel-based classifier: Using the combined kernel matrix K combined As input, train a support vector machine SVM classifier. The goal of the support vector machine SVM classifier is to find the hyperplane that maximizes the interval between two categories, that is, to solve the following optimization problem in the kernel method:
[0201]
[0202] st0≤α i ≤C,i=1,…,n;
[0203]
[0204] in, y i is the label of the i-th sample, y is the class label vector of the sample, e is the all-1 vector, α is the vector of Lagrange multipliers, C is the regularization parameter,
[0205] The final decision function can be expressed as:
[0206]
[0207] Among them, f(x) is the decision function of SVM, which is used to predict the category of a given input sample x;
[0208] In the scatter plot classification system of the present invention, by training the SVM classifier using the combined kernel matrix, the system can effectively integrate information from different modalities, thereby improving the accuracy and robustness of classification. For example, the features of image, text, and biomarker data are fused together, allowing the classifier to comprehensively consider multiple aspects of information to make more accurate classification decisions.
[0209] This method is particularly suitable for processing medical data, because medical data usually contains multimodal information, which is crucial for accurate diagnosis and disease classification. Through the multi-kernel learning strategy, the present invention can not only improve the classification performance, but also further understand the correlation and complementarity between different modalities by analyzing the contribution of each modality data to the classification decision. This provides a powerful multimodal data analysis tool for medical research and clinical practice.
[0210] The explanation enhancement module specifically includes:
[0211] Feature importance assessment: Applying feature importance assessment techniques (such as model-based feature importance or permutation importance) to identify the features that contribute most to the classification decision can help medical professionals understand the impact of different medical parameters on the classification results;
[0212] Local explanation model: Use the method of integrating local prediction SHAP values to provide specific explanations for individual predictions. This method can explain why a specific sample is classified into a certain category;
[0213] Classification confidence score: Provides a confidence score for each classification decision, reflecting the certainty of the classification decision. Predictions with high confidence may be more reliable, while predictions with low confidence require further review or auxiliary diagnosis.
[0214] In the scatter plot classification system of the present invention, the explanatory enhancement module enables medical professionals to not only obtain accurate classification results, but also to deeply understand the reasons behind these results. For example, through feature importance evaluation, doctors can understand which biomarkers or image features are most critical for distinguishing different types of diseases; while the local explanation model provides an in-depth understanding of the classification decision of a single case, helping doctors make more personalized diagnosis and treatment decisions in specific situations.
[0215] In addition, the visualization of decision paths and the provision of classification confidence further increase the transparency and credibility of the classification system, allowing medical professionals to trust the output of the system more and conduct manual review or adjustment when necessary. This method of enhanced explainability is particularly suitable for complex and high-risk decision-making environments in the medical field, ensuring the accuracy and explainability of medical decisions.
[0216] The integrated local prediction SHAP values specifically include:
[0217] Definition: The integrated local prediction SHAP value is based on the Shapley value in cooperative game theory, which assigns an importance value to each feature to indicate the contribution of the feature to the model prediction results;
[0218] Calculation formula: For a given prediction sample x, the calculation of the integrated local prediction SHAP value is expressed as:
[0219]
[0220] Among them, F is the set of all features, S is any feature subset that does not contain feature j, and f S (x S ∪{j}) is the prediction result of the model when the feature set is S∪{j}, f S (x S ) is the prediction result of the model when the feature set is S, φ j is the SHAP value of feature j;
[0221] Local explanation: By calculating the integrated local prediction SHAP value of each feature, the contribution of each feature to the prediction result is quantified, thereby providing an explanation for a single prediction;
[0222] In the scatter plot classification system of the present invention, by implementing the local explanation model and utilizing the integrated local prediction SHAP value, the system is able to provide a transparent and intuitive explanation for each specific classification decision. This enables medical professionals to not only see the prediction results of the model, but also understand the specific reasons leading to this result, that is, which features contribute positively or negatively to the prediction results, and the relative importance of these contributions.
[0223] This explanatory support is critical to enhancing medical professionals' trust in classification system outputs, especially in high-risk application scenarios such as medical diagnosis and patient treatment decisions. By providing a deep understanding of individual prediction decisions, medical professionals can more accurately assess the reliability and applicability of the model and make more informed decisions. In addition, the application of integrated local prediction SHAP values also promotes further optimization and improvement of the model, providing valuable insights for medical research and practice.
[0224] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.
[0225] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A scatter plot classification device, characterized in that: It includes data preprocessing and enhancement module, intelligent classification algorithm module, interactive visualization analysis module, multimodal data integration module and explanatory enhancement module, among which; The data preprocessing and enhancement module receives medical research data and cleans, standardizes and enhances the research data to improve the quality and consistency of the research data and prepare for subsequent classification, including: Data reception: Receive medical research data, including physiological parameters, experimental results, and imaging data, and automatically import data from different data sources and formats through defined interfaces; Data cleaning: Perform cleaning operations on the received data, including identifying and removing duplicate records, correcting obvious errors or inconsistencies, and filling in missing values; Data standardization: converting data into a standard format to eliminate differences between different data sources or measurement units; Data augmentation: Generate additional training samples through improved synthetic minority oversampling techniques and data transformation techniques; Feature engineering: Automatically extract and select key features, including statistical features, morphological features, and features based on domain knowledge, and use principal component analysis (PCA) to reduce dimensions and retain only features that are helpful for classification; Data integration: Integrate cleaned, standardized and enhanced data into a unified data framework to ensure that the data is effectively processed in the subsequent intelligent classification algorithm module; The improved synthetic minority oversampling technique generates new minority class samples by considering the similarity conditions between samples, which is calculated as: Given a minority class sample X and its nearest neighbor sample set N(X), select X nn ∈N(X), where X nn Satisfying condition C, new sample X new Generates the following: X new =X+(X nn -X)×λ; Among them, X represents the minority class sample point currently considered, N(X) represents the set of neighboring samples that are most similar to sample X, and X nn is a neighboring sample selected from N(X), C is a specific medical condition or similarity threshold, and λ is a random number in the range of [0, 1]; The data transformation technology specifically includes: Rotation: Given a two-dimensional data point X = (x, y), the matrix multiplication of the rotation operation is expressed as: Where X = (x, y) represents a data point in the original two-dimensional scatter plot, x and y are the coordinate values of the data point in two dimensions, and θ is the rotation angle; Scaling: Given a two-dimensional data point X = (x, y), the scaling operation is expressed as: Where s is the scaling factor; Translation: Given a two-dimensional data point X = (x, y), the translation operation is expressed as: Among them, d x ,d y Represent the translation distance along the x-axis and y-axis respectively; The intelligent classification algorithm module: uses a Gaussian mixture model and a hierarchical clustering algorithm to automatically group the data points in the scatter plot into different categories or clusters; The calculation formula of the Gaussian mixture model is: Suppose there are K Gaussian distributions, the probability density function of the kth distribution is: Where x is the data point, d is the data dimension, and θ k =(μ k ,Σ k ) are the mean and covariance matrix of the θth Gaussian distribution respectively; The probability density function of the entire data set is a weighted sum of Gaussian distributions: Among them, π k is the mixing coefficient of the kth distribution, satisfying The hierarchical clustering algorithm organizes data by constructing a hierarchical tree of clusters, specifically including: Initialization: treat each data point as a cluster; Merging step: Find the two most similar or closest clusters among all cluster pairs, and merge the two clusters found; Repeat: Repeat the merging step until all data points are merged into one cluster or the stopping condition is reached; The interactive visualization analysis module provides a user interface, allowing the user to view the scatter plot representation of the classification results and make adjustments or analyses through interactive operations; The multimodal data integration module integrates information from different data sources and types, including images, text records, and biomarker data, to enhance the classification capabilities of the scatter plot; The Explanatory Enhancement Module provides explanations for classification decisions to help medical professionals understand the classification process and results.
2. A scattergram classification device according to claim 1, characterized in that: The user interface includes scatter plot display, interactive operation, dynamic adjustment of classification parameters and result analysis tools, wherein; The scatter plot displays each category or cluster using different colors or marks, and displays the classification results in the scatter plot, so that the user can intuitively distinguish and identify data points of different categories; The interactive operation includes: Zoom and pan: Allows users to zoom and pan the scatter plot to view the details of data points or the distribution of different areas; Selection and highlighting: Users can select specific data points or clusters by clicking or selecting a box. The system will highlight the selected data points and provide relevant detailed information, including the category and probability distribution. The dynamic adjustment of classification parameters provides interface elements, allowing users to dynamically adjust the parameters of the classification algorithm and observe the impact of the parameter adjustment on the classification results in real time; The result analysis tools include: Data point information viewing: When the user selects one or more data points, a detailed information panel is provided to display the specific attributes and classification information of the selected data points; Statistical analysis: Integrate basic statistical analysis functions and display them visually.
3. A scattergram classification device according to claim 2, characterized in that: The multimodal data integration module includes data preprocessing, feature fusion and multimodal learning, wherein; The data preprocessing specifically includes: For image data, image processing techniques are applied to identify and extract key image features; For text records, natural language processing techniques are used to extract relevant information and features; For biomarker data, standardization is performed to ensure data consistency and comparability; The feature fusion designs and implements a feature fusion strategy to integrate features from different modalities into a unified feature space; The multimodal learning uses a multi-core learning algorithm to process the integrated data.
4. A scattergram classification device according to claim 3, characterized in that: The multi-core learning algorithm specifically includes: Define a modality-specific kernel function: For a multimodal dataset, define a kernel function for each modality of data. Suppose there are three modal data: image X img , text record X txt and biomarker X bio , and the corresponding kernel functions are k img , k txt and k bio ; Compute the mode-specific kernel matrix: For image data, calculate the kernel matrix K img The calculation formula is: For a text record, calculate the kernel matrix K txt The calculation formula is: For biomarker data, calculate the kernel matrix K bio The calculation formula is: in, is the representation of the i-th sample in the modality mod; Combined kernel matrix: Through the multi-kernel learning strategy, the kernel matrices of different modalities are combined to form a comprehensive kernel matrix K combined , the kernel matrix K combined is a linear combination, and the calculation formula of the linear combination is: K combined= b img K img +b txt K txt +b bio K bio ; Among them, β is the weight corresponding to the mode mod; Training the classifier: Using the combined kernel matrix K combined As input, a kernel-based classifier is trained to make the final classification decision.
5. A scattergram classification device according to claim 4, characterized in that: The training classifier specifically includes: Generation of combined kernel matrix: Given data of different modalities and corresponding kernel matrix K img , K txt , K bio , through the multi-core learning strategy combination K img , K txt , K bio Get the comprehensive kernel matrix K combined , the calculation formula is: Where M is the total number of modes, K m is the kernel matrix of the mth mode, β m is the weight of the mth mode; Training a kernel-based classifier: Using the combined kernel matrix K combined As input, train a support vector machine SVM classifier. The goal of the support vector machine SVM classifier is to find the hyperplane that maximizes the interval between two categories, that is, to solve the following optimization problem in the kernel method: s.t.0≤α i ≤C,i=1,…,n; in, y i is the label of the i-th sample, y is the class label vector of the sample, e is the all-1 vector, α is the vector of Lagrange multipliers, C is the regularization parameter, The final decision function can be expressed as: Among them, f(x) is the decision function of SVM, which is used to predict the category of a given input sample x.
6. A scattergram classification device according to claim 5, characterized in that: The explanatory enhancement module specifically includes: Feature Importance Assessment: Apply feature importance assessment techniques to identify the features that contribute most to the classification decision; Local explanation model: Use the method of integrating local prediction SHAP values to provide specific explanations for individual predictions; Classification confidence score: Provides a confidence score for each classification decision, reflecting the certainty of the classification decision.
7. A scattergram classification device according to claim 6, characterized in that: The integrated local prediction SHAP value specifically includes: Definition: The integrated local prediction SHAP value is based on the Shapley value in cooperative game theory, which assigns an importance value to each feature; Calculation formula: For a given prediction sample x, the calculation of the integrated local prediction SHAP value is expressed as: Among them, F is the set of all features, S is any feature subset that does not contain feature j, and f S (x S∪{j} ) is the prediction result of the model when the feature set is S∪{j}, f S (X S ) is the prediction result of the model when the feature set is S, is the SHAP value of feature j; Local explanation: By calculating the integrated local prediction SHAP value of each feature, the contribution of each feature to the prediction result is quantified, thereby providing explanations for individual predictions.
