An unsupervised feature selection method based on pan-cancer multi-omics data
Through the improved spectral clustering algorithm and weighted clustering index verification guided by the deep autoencoder, gene features that have an impact on cancer classification are selected, which solves the difficulty of feature selection for unlabeled subtype cancer samples in the existing technology and improves efficiency. The accuracy and reliability of cancer subtype classification fully reveal the diversity and subtype differences of cancer.
Patent Information
- Application Number
- CN202410732519.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-07
AI Technical Summary
Existing technology is difficult to select biomarkers that are beneficial for cancer classification among highly redundant gene features, especially unsupervised feature selection in cancer samples that are not labeled with specific subtypes, leading to the understanding and implementation of personalized treatment strategies. Applications are restricted.
An improved spectral clustering unsupervised feature selection algorithm guided by a deep autoencoder is used to select important gene features through Pearson correlation coefficient, combined with weighted clustering index and survival analysis verification methods to simplify the system and improve the accuracy and reliability of subtype classification. sex.
It improves the accuracy and reliability of cancer subtype classification, can better capture the relationship between features in data set samples, has better robustness, comprehensively reveals the diversity and subtype differences of cancer, and solves the problem of unsupervised The problem of ambiguous evaluation criteria for important features in learning.
Smart Images

Figure CN118335206B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an unsupervised feature selection method based on pan-cancer multi-omics data, and belongs to the technical field of bioinformatics. Background Art
[0002] Cancer is a major public health problem worldwide and one of the deadliest diseases today. The heterogeneity of cancer is attributed to differences in the characteristics of omics data such as genomics, transcriptomics, methylation data, and proteomics of cancer cells. The same cancer can be divided into different subtypes based on the differences in omics data characteristics. In the era of precision medicine, it has become particularly important to accurately identify cancer subtypes. Cancer can be studied more carefully at the molecular level rather than based on pathological characteristics, aiming to identify cancer subtypes at an early stage for better treatment and prognosis.
[0003] In recent years, with the rapid development of high-throughput omics data, many scholars have studied the problem of cancer subtyping. JiYoon Park et al. determined the optimal combination of gene feature selection and subtype identification methods in single-omics data analysis. However, traditional single-omics studies often fail to fully reveal the diversity and subtype differences of cancer, thus limiting the understanding and application of personalized treatment strategies. Therefore, integrating multi-omics data and deeply analyzing the molecular characteristics of cancer subtypes has become a hot topic in the current field of cancer research.
[0004] High-throughput omics data has high feature dimensions but small sample sizes and high complexity, which conforms to the "big p small n" paradigm, where p is the number of features and n is the number of samples. How to select the most favorable biomarkers for cancer classification from highly redundant genetic features has become an important direction in cancer research. Yuqi Lin et al. proposed a deep neural network model DeepMO for omics data to classify breast cancer subtypes. The key step is feature selection. Existing literature also proposed a gradient boosting deep feature selection algorithm to select the best low-dimensional feature subset to improve the accuracy of gastric cancer subtype classification.
[0005] The above existing feature selection algorithms are all based on the classification of known cancer sample subtypes or rely on subtype pseudo-labels obtained by clustering. Therefore, it is particularly important to perform unsupervised feature selection on cancer samples that are not labeled with specific subtypes. Summary of the invention
[0006] In order to address the shortcomings of the prior art, the present invention provides an unsupervised feature selection method based on pan-cancer multi-omics data, which uses an improved spectral clustering unsupervised feature selection algorithm guided by a deep autoencoder to perform unsupervised feature selection on cancer samples that are not labeled with specific subtypes, thereby selecting important gene features that are useful for subsequent clustering typing, simplifying the system and improving the accuracy and reliability of subtype classification.
[0007] The technical solution of the present invention is as follows:
[0008] An unsupervised feature selection method based on pan-cancer multi-omics data, comprising the following steps:
[0009] S1: Data set selection and data preprocessing;
[0010] S2: Cluster the data obtained in S1 using the improved spectral clustering algorithm to obtain feature subsets A ;
[0011] S3: Build a deep autoencoder and input the data obtained in S1 into the deep autoencoder to obtain a feature subset B ;
[0012] S4: For feature subsets B Each feature in B l , the feature B l With feature subset A Calculate the Pearson correlation coefficient for all features in and select B l The feature with the highest Pearson correlation coefficient A m As a result, it is put into the final feature subset and in the feature subset A Delete A m ,in B l Representing feature subsets B The l Features, l A natural number ranging from 1 to N. N For feature subset B The total number of features; A m Representing feature subsets A The m Features, m The value is 1~ M The natural number of M For feature subset A The total number of features;
[0013] S5: Evaluate the final feature subset.
[0014] Preferably, in step S1, the data set selects 5 cancer data sets in the Cancer Genome Atlas TCGA database, including breast cancer, lung cancer, gastric cancer, esophageal cancer and prostate cancer.
[0015] Preferably, the process of data preprocessing is as follows:
[0016] First, standardize the data, scale the data of different dimensions proportionally, and convert them into the same specific numerical range; fill in missing values and remove duplicate values;
[0017] Then, for each specific cancer, the data set includes transcriptomics data, methylation data, and clinical data, and the sample takes the intersection of the three, that is, sample alignment.
[0018] Preferably, step S2 comprises:
[0019] S21: Constructing a similarity matrix
[0020] First, the similarity between each pair of features of the sample is calculated, and then a similarity matrix is constructed based on the similarity.
[0021] S22: Compute the Laplacian matrix and eigenvectors
[0022] The Laplace matrix is obtained by calculating the similarity matrix, and then the Laplace matrix is decomposed into eigenvalues to obtain the corresponding eigenvectors; c feature vectors as the result of dimensionality reduction or feature selection.
[0023] S23: Clustering feature vectors
[0024] The selected c The feature vectors are used as new feature representations, and clustering algorithms are applied to obtain k 1 feature cluster.
[0025] S24: Sort by feature importance score
[0026] Sort each feature cluster from high to low according to the feature importance score, and select the top k The two feature vectors are used as representative feature sets, and the representative feature sets obtained from all feature clusters are taken as the union, that is, the feature subset is obtained. A .
[0027] Preferably, in step S24, for a given data set , where n represents the number of case samples, d represents the gene feature dimension, and the f Represents the feature vector, then the data set is represented by the feature vector as ;use , , , …, ,… Represents n samples, then the data set is represented by samples as , calculate the discrimination :
[0028] (1)
[0029] in, represents the standard deviation of the ith feature, Indicates genetic characteristics i In the j The expression values of samples.
[0030] Calculating feature independence :
[0031] (2)
[0032] in, represents a feature cluster, Representation characteristics , The Pearson correlation coefficient between Indicates k The discrimination of the features;
[0033] feature , Pearson correlation coefficient between for:
[0034] (3)
[0035] in, express The mean of express The mean of .
[0036] Feature Importance Score for:
[0037] (4)
[0038] in, Represents a weight factor of one, with a value of 0.5.
[0039] Preferably, in step S3, the deep autoencoder includes an encoder and a decoder for feature extraction to obtain a compressed representation of the original high-dimensional features;
[0040] The encoder includes an input layer, a hidden layer A, a 10% Dropout layer A, a hidden layer B, a 10% Dropout layer B, and an encoding layer. The input layer inputs d gene feature dimensions, the hidden layer A is a fully connected layer with 256 neurons, and the activation function is ReLU; the hidden layer B is a fully connected layer with 128 neurons, and the activation function is ReLU; the encoding layer is a fully connected layer with u neurons, and the activation function is ReLU;
[0041] The decoder includes a hidden layer C, a 10% Dropout layer C, a hidden layer D, a 10% Dropout layer D, and a reconstruction layer. The hidden layer C is a fully connected layer with 128 neurons, and the activation function is ReLU; the hidden layer D is a fully connected layer with 256 neurons, and the activation function is ReLU; the reconstruction layer is responsible for decoding the compressed representation into the original input data dimension. The number of neurons is the same as the initial input feature dimension, and the activation function is ReLU.
[0042] Preferably, in step S3, the encoder is a nonlinear function that maps an input domain D of n samples and d feature dimensions to a latent space Z of lower dimension I, and correspondingly, the decoder is a function that reconstructs samples from the latent space Z to the original space;
[0043] The encoder function and decoder function are defined as formula (5) and formula (6):
[0044] (5)
[0045] (6)
[0046] Among them, the samples in the latent space are , Reconstruct samples for the decoder, is the encoder function, is the decoder function;
[0047] When training a deep autoencoder, the loss function is:
[0048] (7)
[0049] The loss function is quantified using mean square error, as shown in formula (8):
[0050] (8)
[0051] , represent the initial data and the reconstructed data respectively, , Respectively , .
[0052] Preferably, in step S5, the finally obtained feature subset is jointly evaluated by weighted clustering index and survival analysis verification method.
[0053] The calculation process of weighted clustering index is as follows:
[0054] First calculate the iThe silhouette coefficient of the data points , the calculation formula is as follows:
[0055] (9)
[0056] in Represents the average distance between the point and other points in the same feature cluster. Represents the average distance between the point and all points in the nearest different feature clusters;
[0057] The final silhouette coefficient Yes all The average value of
[0058] Then, the Calinski-Harabasz index is calculated The Calinski-Harabasz index (variance ratio standard) measures the density within the cluster and the separation between clusters by comparing the relationship between the variance within the feature cluster and the variance between clusters. The Calinski-Harabasz index The calculation formula is as follows:
[0059] (10)
[0060] in, is the total number of data points, is the total number of feature clusters, is the total variance within the cluster, is the total between-cluster variance of the feature clusters;
[0061] According to the final silhouette coefficient S and Calinski-Harabasz index to calculate the weighted clustering index , the formula is:
[0062] (11)
[0063] in, Represents weight factor 2, with a value of 0.5.
[0064] For any details not provided in the present invention, please refer to the prior art.
[0065] The beneficial effects of the present invention are:
[0066] 1. After extracting features through a deep autoencoder, the present invention clusters the feature subsets after the improved spectral clustering algorithm AFor guidance, the system combines the autoencoder and the improved spectral clustering unsupervised feature selection algorithm to perform unsupervised feature selection on cancer samples that are not labeled with specific subtypes, from which important gene features that are useful for subsequent clustering typing are selected, simplifying the system and greatly improving the accuracy and reliability of subtype classification.
[0067] 2. The improved spectral clustering algorithm in the present invention proposes the concept of feature importance and sorts in descending order to select the top features of each feature cluster. k 2 features, the improved spectral clustering algorithm enables it to better capture the relationship between features in the dataset samples and has better robustness.
[0068] 3. The present invention combines the weighted clustering index and survival analysis verification method to evaluate the results, which can evaluate the effectiveness of the algorithm from multiple aspects and solve the problem of fuzzy evaluation criteria of important features in existing unsupervised learning.
[0069] 4. The present invention integrates multi-omics data, solving the problem that research based on single-omics data can only analyze its correlation with cancer at a specific molecular level. The present invention can fully reveal the diversity and subtype differences of cancer. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The drawings in the specification, which constitute a part of the present application, are used to provide further understanding of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application.
[0071] Figure 1 A flowchart of the unsupervised feature selection method based on pan-cancer multi-omics data of the present invention;
[0072] Figure 2 It is a schematic diagram of the framework of the improved spectral clustering algorithm;
[0073] Figure 3 It is a schematic diagram of the structure of the deep automatic encoder;
[0074] Figure 4 A schematic diagram showing a comparison of weighted clustering indices between the method of the present invention and existing algorithms in lung cancer;
[0075] Figure 5 A schematic diagram showing a comparison of weighted clustering indices between the method of the present invention and existing algorithms in prostate cancer;
[0076] Figure 6 A schematic diagram showing a comparison of weighted clustering indices between the method of the present invention and existing algorithms in breast cancer;
[0077] Figure 7 A schematic diagram showing a comparison of weighted clustering indices between the method of the present invention and existing algorithms in esophageal cancer;
[0078] Figure 8 The figure is a comparison diagram of the weighted clustering index between the method of the present invention and the existing algorithm in gastric cancer. DETAILED DESCRIPTION
[0079] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the drawings in the implementation of this specification, but are not limited to this. Anything not fully described in the present invention shall be based on the conventional technology in the art.
[0080] Example 1
[0081] An unsupervised feature selection method based on pan-cancer multi-omics data, such as Figure 1 As shown, the following steps are included:
[0082] S1: Data set selection and data preprocessing;
[0083] S2: Cluster the data obtained in S1 using the improved spectral clustering algorithm to obtain feature subsets A ;
[0084] S3: Build a deep autoencoder and input the data obtained in S1 into the deep autoencoder to obtain a feature subset B ;
[0085] S4: For feature subsets B Each feature in B l , the feature B l With feature subset A Calculate the Pearson correlation coefficient for all features in and select B l The feature with the highest Pearson correlation coefficient A m As a result, it is put into the final feature subset and in the feature subset A Delete A m ,in B l Representing feature subsets B The l Features, l A natural number ranging from 1 to N. N For feature subset B The total number of features; A m Representing feature subsets A The m Features, m The value is 1~ M The natural number of MFor feature subset A The total number of features;
[0086] The Pearson correlation coefficient in this embodiment is a conventional technology, and reference may be made to the prior art.
[0087] The value range of the Pearson correlation coefficient is [-1, 1], which represents the degree of association between two variables. When the Pearson correlation coefficient is 1, it means that the two variables are completely positively correlated; when the Pearson correlation coefficient is -1, it means that the two are completely negatively correlated; and when the Pearson correlation coefficient is 0, it means that there is no linear relationship between the two variables.
[0088] After calculation, select feature subsets A Zhongyu B l The Pearson correlation coefficient is the largest feature A m , to be deleted from the selected features A m , add it to the final selected feature subset; continue this process until the number of selected feature subsets (i.e., the feature subset extracted by the autoencoder) B When the number of features reaches the requirement, stop traversal.
[0089] S5: Evaluate the final feature subset.
[0090] Preferably, in step S1, the data set selects 5 cancer data sets in the Cancer Genome Atlas TCGA database, including breast cancer, lung cancer, gastric cancer, esophageal cancer and prostate cancer.
[0091] The TCGA database is a cancer genome project jointly initiated by the National Cancer Institute (NCI) and the National Human Genome Research Institute (NHGRI) in 2005, which aims to discover new targets for cancer treatment using high-throughput genome analysis technology. This paper selects five cancer data sets, which are not only the largest sample sizes in TCGA, but also the five cancers with higher incidence and mortality rates, and are therefore more representative.
[0092] Example 2
[0093] An unsupervised feature selection method based on pan-cancer multi-omics data is as described in Example 1, except that the data preprocessing process is as follows:
[0094] First, the data is standardized, and the data of different dimensions are scaled proportionally to convert them into the same specific numerical range; missing values are filled and duplicate values are removed. The missing value filling uses the existing k-nearest neighbor weighted combination algorithm;
[0095] Then, for each specific cancer, in order to integrate multi-omics data and analyze the corresponding clinical manifestations, the data set includes transcriptomics data, methylation data and clinical data, and the sample takes the intersection of the three, that is, sample alignment. This sample alignment operation ensures that each sample in the experimental data set contains these three types of data. Subsequently, feature selection is performed for each cancer to obtain a feature subset of each omics data.
[0096] Furthermore, considering that one of the characteristics of the selected important features is high discrimination, that is, the feature has a large difference value in different cancer samples. If some features have similar expression values in most cancer samples, then these features are regarded as interference features and have no practical significance. At this time, it is necessary to remove the interference features through variance filtering. Variance measures the degree of variation in the data. When the variance is very small, it means that the value of the feature is similar in all samples, which may be just noise or meaningless changes. Therefore, setting a reasonable variance threshold can effectively filter out these features, thereby improving the quality of the data and the reliability of the analysis. After variance filtering, the pan-cancer dataset is shown in Table 1:
[0097] Table 1 Dataset after variance filtering
[0098]
[0099] In the TCGA database, the initial dimension of transcriptomic gene features is 59427, and the initial dimension of methylation gene features is 28590. As can be seen from Table 1, after variance filtering, redundant features can be effectively removed.
[0100] Example 3
[0101] An unsupervised feature selection method based on pan-cancer multi-omics data, as described in Example 2, except that Figure 2 As shown, step S2 includes:
[0102] S21: Constructing a similarity matrix
[0103] First, the similarity between each pair of features of the sample is calculated. Commonly used similarity calculation methods include Euclidean distance, Gaussian kernel function, etc., and then a similarity matrix is constructed based on the similarity; constructing a similarity matrix is a common data analysis and machine learning task, which is usually used to discover the relationship and structure between samples in a data set.
[0104] S22: Compute the Laplacian matrix and eigenvectors
[0105] The Laplace matrix is obtained by calculating the similarity matrix, which usually includes two forms, namely, an unstandardized Laplace matrix and a standardized Laplace matrix. The present invention adopts a standardized Laplace matrix. First, the adjacency matrix and the degree matrix are calculated according to the similarity matrix to obtain the standardized Laplace matrix.
[0106] Then, the Laplace matrix is subjected to eigenvalue decomposition to obtain the corresponding eigenvector; the eigenvalue decomposition can be performed using standard numerical calculation methods, such as the eigenvalue decomposition algorithm (such as power iteration, QR algorithm, etc.) or the sparse matrix eigenvalue decomposition algorithm (such as the Lanczos method), and the eigenvector obtained by the eigenvalue decomposition corresponds to the eigenvector of the standardized Laplace matrix.
[0107] It has been proven that the ultimate goal of spectral clustering is to find the Laplace matrix L of c indivual( ) minimum non-zero eigenvalue, and obtain the corresponding c feature vectors, consisting of d × c The matrix H, d Represents the gene feature dimension.
[0108] S23: Clustering feature vectors
[0109] The selected c The feature vectors are used as new feature representations, and traditional clustering algorithms (such as K-means clustering algorithm) are used for clustering to obtain k 1 feature cluster M j ; K-means clustering requires the number of clusters to be specified in advance. Here, the present invention selects the Optuna hyperparameter tuning framework to improve spectral clustering. The objective function is to achieve the best clustering effect. k The range of 1 is [2, 10], which can divide the initial features into different clusters with the best clustering effect.
[0110] S24: Sort by feature importance score
[0111] The goal of feature selection is to select unrelated features with strong distinguishing ability to construct feature subsets and eliminate redundant and similar features from the original features. In this way, not only can the clustering and subtyping capabilities be maintained and improved, but the original system can also be greatly simplified. In order to improve the spectral clustering algorithm, the present invention proposes the concept of feature importance.
[0112] Sort each feature cluster from high to low according to the feature importance score, and select the top k The two feature vectors are used as representative feature sets, and the representative feature sets obtained from all feature clusters are taken as the union, that is, the feature subset is obtained. A , feature subset A The Chinese Communist Party has k 2× k 1 eigenvector.
[0113] For a specific cancer dataset, you can selectk 2× k 1 is the weighted clustering index when 10, 20, 40, 60, 80, 100, and 120 respectively. WCI The difference between the survival analysis curve and the k 2× k 1÷ k 1 is obtained k 2, where k 1 is obtained through Optuna hyperparameter tuning.
[0114] The main idea of the spectral clustering algorithm is to transform the clustering problem into a partitioning problem of a weighted undirected graph with samples as vertices and similarities between samples as the weights of the edges connecting the vertices. It can find clusters of any shape and converge to the global optimal solution. Therefore, spectral clustering of features helps to reveal the intrinsic connections between features and find more representative feature clusters. The present invention improves the spectral clustering algorithm by sorting the feature clusters in descending order of feature importance and selecting the top clusters. k 2 features, the improved spectral clustering algorithm enables it to better capture the relationship between features in the data set samples. For example, more complex kernel functions can be used to improve the feature selection method, making it more robust in the face of noise, outliers, etc.
[0115] Example 4
[0116] An unsupervised feature selection method based on pan-cancer multi-omics data, as described in Example 3, except that in step S24, for a given data set , where n represents the number of case samples, d represents the gene feature dimension, and the f Represents the feature vector, then the data set is represented by the feature vector as ;use , , , …, ,… Represents n samples, then the data set is represented by samples as .
[0117] In terms of feature discrimination, the important feature that can well distinguish each case sample has the characteristic that there are large differences in different subtypes. Therefore, the present invention selects the standard deviation of the gene feature to measure the feature discrimination ability, such as formula (1), to calculate the discrimination :
[0118] (1)
[0119] in, represents the standard deviation of the ith feature, Indicates genetic characteristicsi In the j The expression values of samples.
[0120] In terms of feature independence, another characteristic of important features is high independence, which can ensure that features that are correlated with each other will not be selected. The less correlated the two gene features are, the higher their independence. The smaller the absolute value of the Person correlation coefficient, the less correlated the features are, that is, the higher the feature independence. The present invention considers using the Person correlation coefficient to measure feature independence. The reciprocal of the sum of the absolute values of the Pearson correlation coefficients of the features with stronger ability to distinguish the same cluster is defined as feature independence; for the feature with the greatest discrimination, its independence is defined as the reciprocal of the absolute value of the Pearson correlation with the feature that is least correlated with the cluster. Formula (2) defines feature independence, where M j It is a feature The feature cluster.
[0121] Calculating feature independence :
[0122] (2)
[0123] in, represents a feature cluster, Representation characteristics , The Pearson correlation coefficient between Indicates k The discrimination of the features;
[0124] From the above formula, we can see that the gene characteristics The less correlated a feature is with a feature that has stronger discriminative ability, the stronger its independence is. The independence of the feature with the strongest discriminative ability is the reciprocal of the correlation coefficient value with the feature that is least correlated with the same feature cluster, thereby ensuring that its independence is also the greatest, that is, ensuring that the feature with the strongest discriminative ability must be in the feature subset.
[0125] feature , Pearson correlation coefficient between for:
[0126] (3)
[0127] in, express The mean of express The mean of
[0128] In terms of feature importance, the present invention defines the feature importance score as formula (4). From formula (4), it can be seen that both feature discrimination and feature independence are normalized, and the weight factor is The value is selected as 0.5, which ensures that feature discrimination and feature independence have equal influence on the evaluation of the final result, and the value range of feature importance is [0,1].
[0129] Feature Importance Score for:
[0130] (4)
[0131] in, Represents a weight factor of one, with a value of 0.5.
[0132] Example 5
[0133] An unsupervised feature selection method based on pan-cancer multi-omics data, as described in Example 4, except that in step S3, a deep autoencoder has received more extensive attention in solving the high-dimensional small sample disaster of bio-omics data. It is an unsupervised learning feedforward artificial neural network that can learn the implicit features of the input data and encode the input into a compressed and meaningful representation, which is called encoding. At the same time, the original input data can be reconstructed using the learned new features, which is called decoding.
[0134] The deep autoencoder includes an encoder and a decoder, which are used for feature extraction to obtain a compressed representation of the original high-dimensional features;
[0135] like Figure 3 As shown, each single-omics data is first transposed into the input data of the deep autoencoder model, where the encoder includes an input layer, a hidden layer A, a 10% Dropout layer A, a hidden layer B, a 10% Dropout layer B, and an encoding layer, where the input layer inputs d gene feature dimensions, the hidden layer A is a fully connected layer with 256 neurons, and the activation function is ReLU; the hidden layer B is a fully connected layer with 128 neurons, and the activation function is ReLU; the encoding layer is a fully connected layer with u neurons, and the activation function is ReLU;
[0136] The decoder includes a hidden layer C, a 10% Dropout layer C, a hidden layer D, a 10% Dropout layer D, and a reconstruction layer. The hidden layer C is a fully connected layer with 128 neurons, and the activation function is ReLU; the hidden layer D is a fully connected layer with 256 neurons, and the activation function is ReLU; the reconstruction layer is responsible for decoding the compressed representation into the original input data dimension. The number of neurons is the same as the initial input feature dimension, and the activation function is ReLU.
[0137] Figure 3 The neurons in represent the relative size of the feature dimension and the relative size of the number of neurons. The deep autoencoder model reconstructs the original data by learning to compress the input data in order to minimize the reconstruction error, and is ultimately used for feature extraction and dimensionality reduction. "Deep" refers to an autoencoder with multiple hidden layers.
[0138] The deep autoencoder of the present invention chooses to use ReLU as the activation function, which can further improve the training of deep neural networks; the optimization of each parameter in the autoencoder adopts adaptive moment estimation (Adam optimizer), and the adaptive learning rate can be calculated according to the gradient to speed up the learning process. In order to prevent the neural network from over-relying on specific training samples, thereby improving the generalization ability of the autoencoder, the present invention introduces the Dropout layer, which is a regularization method. The goal of the regularization method is to reduce the overfitting of the model, thereby improving its generalization ability. Dropout is a method of randomly discarding some units in a neural network during training. In each training iteration, each neuron has a certain probability of being discarded, which can reduce the dependency between neurons and reduce the model's dependence on certain specific neurons, thereby reducing the risk of overfitting.
[0139] The encoder is a nonlinear function that maps the input domain D of n samples and d feature dimensions to a latent space Z of lower dimension I. Correspondingly, the decoder is a function that reconstructs the samples from the latent space Z to the original space;
[0140] The encoder function and decoder function are defined as formula (5) and formula (6):
[0141] (5)
[0142] (6)
[0143] Among them, the samples in the latent space are , Reconstruct samples for the decoder, is the encoder function, is the decoder function;
[0144] When training a deep autoencoder, the loss function is:
[0145] (7)
[0146] The loss function is quantified using mean square error, as shown in formula (8):
[0147] (8)
[0148] , represent the initial data and the reconstructed data respectively, , Respectively , .
[0149] In the present invention, the feature subset obtained by the deep automatic encoder B It is a nonlinear combination of the original gene features, and a low-dimensional feature subset can be obtained using a deep autoencoder B Feature subsets obtained by guiding the improved spectral clustering algorithm A , from the features selected by the improved spectral clustering, the original features that are most similar to the distribution of latent features extracted by the deep autoencoder are selected. This strategy can best align the representations learned from the deep autoencoder and take into account both feature discrimination and feature independence.
[0150] Example 6
[0151] An unsupervised feature selection method based on pan-cancer multi-omics data is as described in Example 5, except that in step S5, the final feature subset is jointly evaluated by the weighted clustering index and the survival analysis verification method.
[0152] In the survival analysis verification, by drawing the patient survival analysis curve, it is possible to measure whether the important features selected by different unsupervised feature selection algorithms have good separation of the subtype survival curves obtained under the same clustering algorithm. In this way, each unsupervised feature selection algorithm can be evaluated more convincingly.
[0153] When the research goal involves the deep feature selection method of pan-cancer classification and it is necessary to evaluate the intrinsic properties of clustering to evaluate the quality of feature subsets, the selection and balance of clustering evaluation indicators are crucial. The silhouette coefficient and Calinski-Harabasz index each reflect the quality of clustering results from different perspectives. The weighted clustering index proposed in this embodiment combines the comprehensive evaluation of these indicators to provide a relatively authoritative judgment on the quality of feature selection methods.
[0154] The calculation process of weighted clustering index is as follows:
[0155] First calculate the i The silhouette coefficient of the data points , the calculation formula is as follows:
[0156] (9)
[0157] in Represents the average distance between the point and other points in the same feature cluster. Represents the average distance between the point and all points in the nearest different feature clusters;
[0158] The final silhouette coefficient Yes all The average value of
[0159] Then, the Calinski-Harabasz index is calculated The Calinski-Harabasz index (variance ratio standard) measures the density within the cluster and the separation between clusters by comparing the relationship between the variance within the feature cluster and the variance between clusters. The Calinski-Harabasz index The calculation formula is as follows:
[0160] (10)
[0161] in, is the total number of data points, is the total number of feature clusters, is the total variance within the cluster, is the total between-cluster variance of the feature clusters;
[0162] According to the final silhouette coefficient S and Calinski-Harabasz index to calculate the weighted clustering index , the formula is:
[0163] (11)
[0164] in, The second weight factor is 0.5, which means that the two indicators based on the distance and variance between samples are given the same weight. The final result will be in the range of 0 to 1. The larger the value, the better the clustering effect. The present invention normalizes the two indicators of silhouette coefficient and Calinski-Harabasz respectively to avoid the situation where the contribution to the weighted clustering index is different due to the difference in the range of results. Indicates taking the maximum value.
[0165] In order to highlight the superiority of the algorithm proposed in the present invention, the present invention selects six existing unsupervised feature selection algorithms, including analysis of variance (ANOVA), Pearson product-moment correlation coefficient (PPMCC), Lasso regression method based on L1 regularization (Least Absolute Shrinkage and Selection Operator, Lasso), spectral feature selection method based on cosine similarity ranking (Cosine similarity spectral), unsupervised feature selection method based on spectral clustering (Spectral clustering) and spectral feature selection method based on Laplacian score ranking (Laplacian spectral) , and compares the weighted clustering index with the method of the present invention. Figures 4 to 8 As shown in the figure, it can be seen that the method proposed in the present invention has a higher weighted clustering index in each cancer than other existing feature selection algorithms, that is, in terms of clustering quality, the method of the present invention is better.
[0166] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An unsupervised feature selection method based on pan-cancer multi-omics data, characterized in that: The following steps are involved: S1: Data set selection and data preprocessing; The datasets selected included five cancer datasets from the Cancer Genome Atlas TCGA database, including breast cancer, lung cancer, gastric cancer, esophageal cancer, and prostate cancer; The data preprocessing process is as follows: First, standardize the data, scale the data of different dimensions proportionally, and convert them into the same specific numerical range; fill in missing values and remove duplicate values; Then, for each specific cancer, the dataset includes transcriptomic data, methylation data, and clinical data, and the sample takes the intersection of the three, i.e., sample alignment; S2: Cluster the data obtained in S1 using the improved spectral clustering algorithm to obtain feature subset A; Step S2 includes: S21: Constructing a similarity matrix First, the similarity between each pair of features of the sample is calculated, and then the similarity matrix is constructed based on the similarity; S22: Compute the Laplacian matrix and eigenvectors The Laplace matrix is obtained by calculating the similarity matrix, and then the Laplace matrix is decomposed into eigenvalues to obtain the corresponding eigenvectors; the first c eigenvectors are selected as the result of dimensionality reduction or feature selection; S23: Clustering feature vectors The selected c feature vectors are used as new feature representations and clustered using a clustering algorithm to obtain k1 feature clusters; S24: Sort by feature importance score Each feature cluster is sorted from high to low according to the feature importance score, and the first k2 feature vectors are selected as the representative feature set. The representative feature sets obtained from all feature clusters are combined to obtain feature subset A; In step S24, for a given data set Where n represents the number of case samples, d represents the gene feature dimension, and f represents the feature vector. Then the data set D = [f1, f2, f3, ..., f i , …f d ], using x1, x2, x3, …, x j , …x n represents n samples, then the data set D = [x1, x2, x3, ..., x j , …x n ], calculate the discrimination dis i : Among them, std i represents the standard deviation of the i-th feature, f ji Represents the expression value of gene feature i in the jth sample; Calculate feature independence ind i : Among them, M j represents a feature cluster, Represents the feature f i 、f k Pearson correlation coefficient between k Indicates the discrimination of the kth feature; Feature i 、f k Pearson correlation coefficient between for: in, represents f ji The mean of represents f jk The mean of Feature importance score i for: Among them, weight_factorA represents weight factor 1, and its value is 0.5; S3: Build a deep autoencoder and input the data obtained in S1 into the deep autoencoder to obtain feature subset B; S4: For each feature B in feature subset B l , feature B l Calculate the Pearson correlation coefficient with all features in feature subset A and select feature B l The feature A with the highest Pearson correlation coefficient m As a result, it is put into the final feature subset and A is deleted from feature subset A. m , where B l A represents the lth feature in feature subset B, where l is a natural number from 1 to N, and N is the total number of features in feature subset B; m Represents the mth feature in feature subset A, where m is a natural number from 1 to M, and M is the total number of features in feature subset A; S5: Evaluate the final feature subset; In step S5, the final feature subset is jointly evaluated by the weighted clustering index and the survival analysis verification method.
2. The unsupervised feature selection method based on pan-cancer multi-omics data according to claim 1, characterized in that: In step S3, the deep autoencoder includes an encoder and a decoder, which are used for feature extraction to obtain a compressed representation of the original high-dimensional features; The encoder includes an input layer, a hidden layer A, a 10% Dropout layer A, a hidden layer B, a 10% Dropout layer B, and an encoding layer. The input layer inputs d gene feature dimensions, the hidden layer A is a fully connected layer with 256 neurons, and the activation function is ReLU; the hidden layer B is a fully connected layer with 128 neurons, and the activation function is ReLU; the encoding layer is a fully connected layer with u neurons, and the activation function is ReLU; The decoder includes a hidden layer C, a 10% Dropout layer C, a hidden layer D, a 10% Dropout layer D, and a reconstruction layer, where the hidden layer C is a fully connected layer with 128 neurons, and the activation function is ReLU; the hidden layer D is a fully connected layer with 256 neurons, and the activation function is ReLU; the reconstruction layer is responsible for decoding the compressed representation into the original input data dimension, the number of neurons is the same as the initial input feature dimension, and the activation function is ReLU.
3. The unsupervised feature selection method based on pan-cancer multi-omics data according to claim 2, characterized in that: In step S3, the encoder is a nonlinear function that maps the input domain D of n samples and d feature dimensions to a latent space Z of lower dimension I. Correspondingly, the decoder is a function that reconstructs the samples from the latent space Z to the original space; The definitions of encoder function and decoder function are as shown in formula (5) and formula (6) z=f(x)(5) Among them, the sample in the latent space is z, Reconstruct the sample for the decoder, f(x) is the encoder function, g(z) is the decoder function; When training a deep autoencoder, the loss function is: The loss function is quantified using mean square error, as shown in formula (8): x i , Represent the original data and the reconstructed data respectively.
4. The unsupervised feature selection method based on pan-cancer multi-omics data according to claim 3, characterized in that: The calculation process of weighted clustering index is as follows: First calculate the silhouette coefficient S of the i-th data point i , the calculation formula is as follows: where a i represents the average distance between the point and other points in the same feature cluster, b i Represents the average distance between the point and all points in the nearest different feature clusters; The final silhouette coefficient S is the sum of all S i The average value of Then, the Calinski-Harabasz index is calculated using the following formula: Among them, Q is the total number of data points, k1 is the total number of feature clusters, and W k1 is the total variance within the cluster, B k1 is the total between-cluster variance of the feature clusters; The weighted clustering index WCI is calculated based on the final silhouette coefficient S and Calinski-Harabasz index. The formula is: Among them, weight_factorB represents weight factor 2, and its value is 0.5.
